#41087 [NEW]: failed to create an SSL context
| From: | mb at insidetheweb dot de | Date: | Sat, 14 Apr 2007 20:46:56 +0000 |
| Subject: | #41087 [NEW]: failed to create an SSL context | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-111482@lists.php.net to get a copy of this message | ||
From: mb at insidetheweb dot de
Operating system: Ubuntu 6.0.6LTS
PHP version: 4.4.6
PHP Bug Type: OpenSSL related
Bug description: failed to create an SSL context
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 bug report at http://bugs.php.net/?id=41087&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=41087&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=41087&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=41087&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=41087&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=41087&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=41087&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=41087&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=41087&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=41087&r=support
Expected behavior: http://bugs.php.net/fix.php?id=41087&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=41087&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=41087&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=41087&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=41087&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=41087&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=41087&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=41087&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=41087&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=41087&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=41087&r=mysqlcfg