#35668 [Opn]: failed to create an SSL context / Stream
| From: | clemens at gutweiler dot net | Date: | Wed, 14 Dec 2005 16:19:26 +0000 |
| Subject: | #35668 [Opn]: failed to create an SSL context / Stream | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-90431@lists.php.net to get a copy of this message | ||
ID: 35668
User updated by: clemens at gutweiler dot net
Reported By: clemens at gutweiler dot net
Status: Open
Bug Type: OpenSSL related
Operating System: Linux
PHP Version: 4.4.1
Assigned To: wez
New Comment:
wez, can you take a look on this please?
Previous Comments:
------------------------------------------------------------------------
[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