Bug #60157 [Opn->Csd]: OPENSSL_CONF environment variable ignored
Edit report at https://bugs.php.net/bug.php?id=60157&edit=1
ID: 60157
Updated by: cmb@php.net
Reported by: zeusgerde at arcor dot de
Summary: OPENSSL_CONF environment variable ignored
-Status: Open
+Status: Closed
Type: Bug
Package: OpenSSL related
Operating System: Windows XP and Windows 7
PHP Version: 5.3.8
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
This issue is fixed as of PHP 7.2.0[1].
[1] <http://git.php.net/?p=php-src.git;a=commit;h=1f843a8fb50de77a3f53a6b892a46d9e0afdfdd7>
Previous Comments:
------------------------------------------------------------------------
[2016-06-08 14:38:10] it-solutions at schultz dot ch
I wonder if this issue will be addressed at all...
Current PHP version: 7.0.7
*** OPENSSL_CONF
string(32) "C:\Webserver\OpenSSL\openssl.cfg"
*** Errors before calling openssl_pkey_new
*** Calling openssl_pkey_new
bool(false)
*** Errors after calling openssl_pkey_new
string(51) "error:02001003:system library:fopen:No such process"
string(53) "error:2006D080:BIO routines:BIO_new_file:no such file"
string(63) "error:0E064002:configuration file routines:CONF_load:system lib"
string(51) "error:02001003:system library:fopen:No such process"
string(53) "error:2006D080:BIO routines:BIO_new_file:no such file"
string(63) "error:0E064002:configuration file routines:CONF_load:system lib"
------------------------------------------------------------------------
[2014-11-05 13:24:44] cerbrst86 at yahoo dot de
####Actual result (Zend Server 7):####
Current PHP version: 5.5.13
*** OPENSSL_CONF
string(35) "/usr/local/zend/etc/ssl/openssl.cnf"
*** Errors before calling openssl_pkey_new
*** Calling openssl_pkey_new
bool(false)
*** Errors after calling openssl_pkey_new
string(61) "error:02001002:system library:fopen:No such file or directory"
string(53) "error:2006D080:BIO routines:BIO_new_file:no such file"
string(63) "error:0E064002:configuration file routines:CONF_load:system lib"
string(61) "error:02001002:system library:fopen:No such file or directory"
string(53) "error:2006D080:BIO routines:BIO_new_file:no such file"
string(63) "error:0E064002:configuration file routines:CONF_load:system lib"
####Actual Result (Zend Server 7 php-cli):####
Current PHP version: 5.5.13
*** OPENSSL_CONF
string(35) "/usr/local/zend/etc/ssl/openssl.cnf"
*** Errors before calling openssl_pkey_new
*** Calling openssl_pkey_new
resource(4) of type (OpenSSL key)
*** Errors after calling openssl_pkey_new
string(68) "error:0E06D06C:configuration file routines:NCONF_get_string:no value"
string(68) "error:0E06D06C:configuration file routines:NCONF_get_string:no value"
string(68) "error:0E06D06C:configuration file routines:NCONF_get_string:no value"
string(68) "error:0E06D06C:configuration file routines:NCONF_get_string:no value"
string(68) "error:0E06D06C:configuration file routines:NCONF_get_string:no value"
string(68) "error:0E06D06C:configuration file routines:NCONF_get_string:no value"
------------------------------------------------------------------------
[2014-05-27 11:26:04] pet at biba dot uni-bremen dot de
Under windows with f-cgi only the path "C:\usr\local\ssl" is searched for the cnf. Apache,
PHP, SSL are in PATH and OPENSSL_CONF is set too.
------------------------------------------------------------------------
[2014-02-12 22:07:34] marco at m-s-d dot eu
Confirming still present in php5.6-201402121030 with OpenSSL 1.0.7f, OS w7 x64.
------------------------------------------------------------------------
[2013-03-22 19:15:08] eugene at zhegan dot in
Still reproducible on 5.3.23.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=60157
--
Edit this bug report at https://bugs.php.net/bug.php?id=60157&edit=1
Thread (10 messages)