ID:               35668
 Updated by:       [EMAIL PROTECTED]
-Summary:          failed to create an SSL context / Stream
 Reported By:      clemens at gutweiler dot net
-Status:           Open
+Status:           Assigned
 Bug Type:         OpenSSL related
 Operating System: Linux
-PHP Version:      4.4.1
+PHP Version:      4CVS-2005-12-14 (snap)
 Assigned To:      wez


Previous Comments:
------------------------------------------------------------------------

[2005-12-14 18:13:17] clemens at gutweiler dot net

With the latest 5.1 Snap (5.1-200512141530) this works great.
I use debian, but a self-compiled openssl-0.9.8a and not the
distribution package.

Is there a chance to get this fixed in the 4_4 branch too?

------------------------------------------------------------------------

[2005-12-14 17:44:13] [EMAIL PROTECTED]

Also, if you're using Debian, this is bogus. There's a problem with
Debian's OpenSSL 0.9.8a packages.

------------------------------------------------------------------------

[2005-12-14 17:42:46] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5.1-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.1-win32-latest.zip



------------------------------------------------------------------------

[2005-12-14 17:13:46] clemens at gutweiler dot net

Description:
------------
unable to use https connections via stream



Reproduce code:
---------------
<?php
    echo file_get_contents( 'https://ssl.example.com' );
?>

OpenSSL support  enabled  
OpenSSL Version  OpenSSL 0.9.8a 11 Oct 2005  
 
Registered PHP Streams  php, http, ftp, https, ftps, compress.zlib  

Fails with PHP 4.4.1, 5.1.1 and CVS PHP_4_4.

Actual result:
--------------
Warning: file_get_contents(): php_stream_sock_ssl_activate_with_method:
failed to create an SSL context 

Warning: file_get_contents(https://ssl.example.com): failed to open
stream: Unable to activate SSL mode 


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=35668&edit=1

Reply via email to