Can't make SSL connection with cURL/PHP from local machine, works from web server
Can't make SSL connection with cURL/PHP from local machine, works from web server curl
curl
Try setting the cURL option CURLOPT_SSL_VERIFYPEER to false. This will disable verification of the peer's certificate. However, you only want to use this option on your testing server. You can view the full list of options here.