ID: 35668 Updated by: [EMAIL PROTECTED] Reported By: clemens at gutweiler dot net Status: Feedback Bug Type: OpenSSL related Operating System: Linux PHP Version: 5.1.1, 4.4.1 Assigned To: wez New Comment:
Also, if you're using Debian, this is bogus. There's a problem with Debian's OpenSSL 0.9.8a packages. Previous Comments: ------------------------------------------------------------------------ [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