Bug #12211 Updated: cURL (OpenSSL) https:// calls do not function

From: Date: Fri, 22 Feb 2002 04:33:40 +0000
Subject: Bug #12211 Updated: cURL (OpenSSL) https:// calls do not function
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-781@lists.php.net to get a copy of this message
ID: 12211 Updated by: paulm@opentec.com.au Reported By: techsupport@momentumgroup.ca Status: Closed Bug Type: cURL related Operating System: Mandrake/Slackware PHP Version: 4.0.6 New Comment: I don't know if this is relevant to the original problem but I can cause this error on a server here at will. I have an installation of Curl 7.8.1, Openssl 0.9.6a, Apache 1.3.20, mod_ssl 2.8.4, php 4.0.6 all running on Solaris. When I start apache with apachectl startssl the cURL functions work targeting https urls (on other servers). When I start apache with apachectl start the cURL functions return this error when targeting https urls. Perhaps that might help at least some of the people experiencing this problem work round it or get it solved. Previous Comments: ------------------------------------------------------------------------ [2002-01-17 05:41:53] me@privacy.net Compile PHP without OpenSSL support and CURL https:// calls should work just fine. Seems like there's some unsolved conflicts between OpenSSL and CURL/SSL support. ------------------------------------------------------------------------ [2002-01-17 04:27:30] johan@vuurwerk.nl I installed the cgi version of php4 (4.1.1) which has curl with ssl support as well. I'm getting the same error, so it doesn't seem to be fixed in new version (or even, every version). Can someone have a look please? :/ ------------------------------------------------------------------------ [2001-07-30 18:18:32] sterling@php.net Can you try the latest CVS of PHP and let re-open the bug if it still happens. ------------------------------------------------------------------------ [2001-07-17 12:36:22] techsupport@momentumgroup.ca In php4.0.5 cURL w/OpenSSL is fully functional without problems; although, in php4.0.6, When cURL w/OpenSSL is installed it all works but not with https:// calls. -- Errors -- When you use curl_error(): SSL: Couldn't create a context! When you use curl_errno(): 27 Which points explains it as an out of memory error Although through bash & perl curl works fine with the SSL pages. This error has been reported on a variety of sites related to cURL but the question have never been responded to accurately. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=12211&edit=1

« previous php.bugs (#781) next »