php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22290 curl seems to have problems sending https
Submitted: 2003-02-19 01:41 UTC Modified: 2003-02-25 02:08 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (50.0%)
From: donauinsel at hotmail dot com Assigned:
Status: No Feedback Package: cURL related
PHP Version: 4.3.1 OS: W32/NT
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
44 - 16 = ?
Subscribe to this entry?

 
 [2003-02-19 01:41 UTC] donauinsel at hotmail dot com
With older version of curl - no problems on connecting to https. maybe a problem of openssl or libeay32.dll ?

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-02-19 04:18 UTC] 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?


 [2003-02-19 17:00 UTC] daniel at haxx dot se
Please elaborate a lot more on the "seems to have problems" part.
 [2003-02-25 02:08 UTC] 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-03-13 04:37 UTC] 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-03-13 05:04 UTC] 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 16:18 UTC] daniel at haxx dot se
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
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Wed Sep 30 20:01:23 2020 UTC