When I'm trying to run a script (that uses curl functions) that connects with username and password to a https:// I get the following error "SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed" to my limited knowledge this problem is caused because curl is not compiled with ssl but when I check php status i see that the ssl is enabled CURL support enabled CURL Information libcurl/7.14.0 OpenSSL/0.9.8a zlib/1.2.3 Thank you for your help
I was just having the same problem...in addition to the previous line, add: curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); Code (markup):
instead of curl_setopt($ch,CURLOPT_SSL_VERIFYHOST,0); put these two lines curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2); PHP: Hope it helps
Thanks for the replies. I have tried everything suggested above and still get the same error. Does anybody have any ideas? Thanks in advance.