ID: 22290 Comment by: black at flamingo dot ru Reported By: donauinsel at hotmail dot com Status: No Feedback Bug Type: cURL related Operating System: W32/NT PHP Version: 4.3.1 New Comment:
Just found the answer in the next bug-report: http://bugs.php.net/bug.php?id=22379 Previous Comments: ------------------------------------------------------------------------ [2003-03-13 04:37:35] black at flamingo dot ru I have the same problem - when I'm trying to retreive https:// content via cURL I'm getting "SSL: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed". When I go to the same urls with a browser - everything's Ok. http:// queries work just fine. I have PHP 4.3.1 newly installed so I'm absolutely sure I use libraries from 4.3.1 package. Here's code which causes the error (CGI under IIS): <? $url ="https://www.verisign.com/" ; $ch = curl_init(); curl_setopt ($ch, CURLOPT_URL, $url); curl_setopt ($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (compatible; MSIE5.01; Windows NT 5.0)"); curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1); echo "|". curl_exec($ch)."|<br>"; if (curl_errno($ch)) echo "ERROR: ".curl_error($ch); curl_close($ch); ?> Thanks ------------------------------------------------------------------------ [2003-02-25 02:08:22] [EMAIL PROTECTED] No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. ------------------------------------------------------------------------ [2003-02-19 17:00:32] daniel at haxx dot se Please elaborate a lot more on the "seems to have problems" part. ------------------------------------------------------------------------ [2003-02-19 04:18:37] [EMAIL PROTECTED] What was your previous PHP version? Are you sure you have upgraded ALL the old dlls with the new ones found in the 4.3.1 release package? ------------------------------------------------------------------------ [2003-02-19 01:41:49] donauinsel at hotmail dot com With older version of curl - no problems on connecting to https. maybe a problem of openssl or libeay32.dll ? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=22290&edit=1