I was using cURL on my localhost for the longest time and all the sudden I noticed it no longer works unless I explictly set the option, CURLOPT_SSL_VERIFYPEER=
CURLOPT_SSL_VERIFYPEER
The value for CURLOPT_SSL_VERIFYPEER by default is TRUE as of cURL 7.10.
Hence you may need to explicitly set it to FALSE to prevent CURL from verifying the certificate.