#22290 [Com]: curl seems to have problems sending https
| From: | daniel at haxx dot se | Date: | Thu, 13 Mar 2003 22:18:25 +0000 |
| Subject: | #22290 [Com]: curl seems to have problems sending https | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-35544@lists.php.net to get a copy of this message | ||
ID: 22290
Comment by: daniel at haxx dot se
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:
I'd just like to mention that the documentation on curl and how to deal
with certificate verification in libcurl 7.10 and later has a new
"permanent" URL that is better to point to than the one previously
mentioned in another bug report:
http://curl.haxx.se/docs/sslcerts.html
Previous Comments:
------------------------------------------------------------------------
[2003-03-13 05:04:51] black at flamingo dot ru
Just found the answer in the next bug-report:
http://bugs.php.net/bug.php?id=22379
------------------------------------------------------------------------
[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] sniper@php.net
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] sniper@php.net
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?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/22290
--
Edit this bug report at http://bugs.php.net/?id=22290&edit=1