#41087 [Bgs]: failed to create an SSL context

From: Date: Sat, 14 Apr 2007 21:32:33 +0000
Subject: #41087 [Bgs]: failed to create an SSL context
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-111484@lists.php.net to get a copy of this message
ID: 41087 User updated by: mb at insidetheweb dot de Reported By: mb at insidetheweb dot de Status: Bogus Bug Type: OpenSSL related Operating System: Ubuntu 6.0.6LTS PHP Version: 4.4.6 New Comment: "Broken OpenSSL installation" => impossible. First try: http://packages.ubuntu.com/dapper/libdevel/libssl-dev Second / Third try.. 0.9.8e and 0.9.7m from source. It is nearly impossible to break a installation which includes 3 commands... Previous Comments: ------------------------------------------------------------------------ [2007-04-14 20:57:20] tony2001@php.net Broken OpenSSL installation might be the reason. OpenSSL function fails - there is not much we can do about it. ------------------------------------------------------------------------ [2007-04-14 20:46:55] mb at insidetheweb dot de Description: ------------ No matter what i tried, i cannot establish a connection with ssl. I always get these errors: 1.) php_stream_sock_ssl_activate_with_method: failed to create an SSL context 1.) Unable to activate SSL mode in **** (file_get_contents) OR failed to activate SSL mode 1 (fsockopen) Reproduce code: --------------- echo file_get_contents( 'https://api-3t.paypal.com' ); or $fp = fsockopen ('ssl://api-3t.paypal.com', 443, $errno, $errstr, 30); Expected result: ---------------- Some output... ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=41087&edit=1

« previous php.bugs (#111484) next »