PHP CURL WAMP - SSL certificate error: unable to get local issuer certificate
You have curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true);
Try setting it to false
Here's a link to some doc - http://php.net/manual/en/function.curl-setopt.php
This should be development only, on prod you should probably resolve any cert issues and would probably need to get certs/keys from the provider.
For error logging add (and check out the docs for additional info)
$verbose = fopen ( 'php://temp', 'w+' );curl_setopt ( $curlManager, CURLOPT_VERBOSE, true );curl_setopt ( $curlManager, CURLOPT_STDERR, $verbose );
You might also try removing some of those options if not needed to debug.
This is the bast configuration: change fromcurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true);tocurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
I've been trying to connect into API made by Postman and it works.
I use WAMP (PHP7+Apache) on Windows 64bits.