If you are getting "Exception CURL error: SSL certificate problem, verify that the CA cert is OK" or similar, that indicates problem with the remote SSL certificate.
To fix this you can add:
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
to the curl request.
On the long run it is better to point to the certificate that curl should trust.
0 comments:
Post a Comment