Test: /ext/openssl/tests/bug69215.phpt - Version 7.4.16        

Bug #69215 Cannot specify client CA list in SSL stream context
Submitted: 2015-03-10 17:10:21 Modified: 2015-04-23 02:40:46
From: fabien.menager Assigned: rdlowrey
Status: Closed Package: OpenSSL related
PHP Version: Irrelevant OS: All

There are 20 different diffs reported by users for this test.

Count Diff
3 (14%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'mcrypt.so' (tried: /wwws/php/php7.4.16/lib/php/extensions/no-debug-zts-20190902/mcrypt.so (/wwws/php/php7.4.16/lib/php/extensions/no-debug-zts-20190902/mcrypt.so: cannot open shared object file: No such file or directory), /wwws/php/php7.4.16/lib/php/extensions/no-debug-zts-20190902/mcrypt.so.so (/wwws/php/php7.4.16/lib/php/extensions/no-debug-zts-20190902/mcrypt.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (5%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /usr/src/software/PHP/php-7.4.16/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 13 001- resource(%d) of type (stream) 002+ bool(false)
1 (5%)
001+ Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: 001- resource(%d) of type (stream) 002+ error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in /usr/src/php-7.4.16/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 13 003+ 004+ Warning: stream_socket_client(): Failed to enable crypto in /usr/src/php-7.4.16/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 13 005+ 006+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/src/php-7.4.16/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 13 007+ bool(false)
1 (5%)
001+ Warning: openssl_x509_export_to_file(): cannot get cert from parameter 1 in /home/dcoombs/src/git/php7-carillon/src/php-7.4.16/ext/openssl/tests/CertificateGenerator.inc on line 82 001- resource(%d) of type (stream) 002+ 003+ Warning: openssl_csr_new(): private key length is too short; it needs to be at least 384 bits, not 0 in /home/dcoombs/src/git/php7-carillon/src/php-7.4.16/ext/openssl/tests/CertificateGenerator.inc on line 128 004+ 005+ Warning: openssl_csr_new(): Unable to generate a private key in /home/dcoombs/src/git/php7-carillon/src/php-7.4.16/ext/openssl/tests/CertificateGenerator.inc on line 128 006+ 007+ Warning: openssl_csr_sign(): cannot get CSR from parameter 1 in /home/dcoombs/src/git/php7-carillon/src/php-7.4.16/ext/openssl/tests/CertificateGenerator.inc on line 132 008+ 009+ Fatal error: Uncaught Exception: Failed to create certificate in /home/dcoombs/src/git/php7-carillon/src/php-7.4.16/ext/openssl/tests/CertificateGenerator.inc:135 010+ Stack trace: 011+ #0 %s/bug69215.php(44): CertificateGenerator->saveNewCertAsFileWithKey('bug69215-client', '/home/dcoombs/s...') 012+ #1 {main} 013+ thrown in /home/dcoombs/src/git/php7-carillon/src/php-7.4.16/ext/openssl/tests/CertificateGenerator.inc on line 135
1 (5%)
001+ Warning: openssl_x509_export_to_file(): cannot get cert from parameter 1 in /app/php-7.4.16/ext/openssl/tests/CertificateGenerator.inc on line 82 001- resource(%d) of type (stream) 002+ 003+ Warning: openssl_csr_new(): private key length is too short; it needs to be at least 384 bits, not 0 in /app/php-7.4.16/ext/openssl/tests/CertificateGenerator.inc on line 128 004+ 005+ Warning: openssl_csr_new(): Unable to generate a private key in /app/php-7.4.16/ext/openssl/tests/CertificateGenerator.inc on line 128 006+ 007+ Warning: openssl_csr_sign(): cannot get CSR from parameter 1 in /app/php-7.4.16/ext/openssl/tests/CertificateGenerator.inc on line 132 008+ 009+ Fatal error: Uncaught Exception: Failed to create certificate in /app/php-7.4.16/ext/openssl/tests/CertificateGenerator.inc:135 010+ Stack trace: 011+ #0 %s/bug69215.php(44): CertificateGenerator->saveNewCertAsFileWithKey('bug69215-client', '/app/php-7.4.16...') 012+ #1 {main} 013+ thrown in /app/php-7.4.16/ext/openssl/tests/CertificateGenerator.inc on line 135
1 (5%)
001+ PHP Warning: PHP Startup: ssh2: Unable to initialize module 002+ Module compiled with module API=20180731 003+ PHP compiled with module API=20190902 004+ These options need to match 005+ in Unknown on line 0
1 (5%)
001+ PHP Warning: PHP Startup: openssl: Unable to initialize module 001- resource(%d) of type (stream) 002+ Module compiled with module API=20160303 003+ PHP compiled with module API=20190902 004+ These options need to match 005+ in Unknown on line 0 006+ 007+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/michael/Downloads/php-7.4.16/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 13 008+ bool(false) 009+ PHP Notice: fwrite(): write of 1 bytes failed with errno=32 Broken pipe in /home/michael/Downloads/php-7.4.16/ext/openssl/tests/ServerClientTestCase.inc on line 158
1 (5%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_mysql' (tried: /usr/lib/php/extensions/no-debug-zts-20190902/pdo_mysql (/usr/lib/php/extensions/no-debug-zts-20190902/pdo_mysql: cannot open shared object file: No such file or directory), /usr/lib/php/extensions/no-debug-zts-20190902/pdo_mysql.so (/usr/lib/php/extensions/no-debug-zts-20190902/pdo_mysql.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 001- resource(%d) of type (stream) 002+ 003+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /usr/src/php-7.4.16/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 13 004+ bool(false) 005+ PHP Notice: fwrite(): write of 1 bytes failed with errno=32 Broken pipe in /usr/src/php-7.4.16/ext/openssl/tests/ServerClientTestCase.inc on line 158
1 (5%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'openssl' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/openssl (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/openssl: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/openssl.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/openssl.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 001- resource(%d) of type (stream) 002+ 003+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/michael/Downloads/php-7.4.16/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 13 004+ bool(false) 005+ PHP Notice: fwrite(): write of 1 bytes failed with errno=32 Broken pipe in /home/michael/Downloads/php-7.4.16/ext/openssl/tests/ServerClientTestCase.inc on line 158
1 (5%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/lib/php-7.4.16/lib/php/extensions/no-debug-non-zts-20190902/imagick.so (/usr/local/lib/php-7.4.16/lib/php/extensions/no-debug-non-zts-20190902/imagick.so: cannot open shared object file: No such file or directory), /usr/local/lib/php-7.4.16/lib/php/extensions/no-debug-non-zts-20190902/imagick.so.so (/usr/local/lib/php-7.4.16/lib/php/extensions/no-debug-non-zts-20190902/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (5%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'gd2' (tried: /usr/local/lamp/apache/php/lib/php/extensions/no-debug-zts-20190902/gd2 (/usr/local/lamp/apache/php/lib/php/extensions/no-debug-zts-20190902/gd2: cannot open shared object file: No such file or directory), /usr/local/lamp/apache/php/lib/php/extensions/no-debug-zts-20190902/gd2.so (/usr/local/lamp/apache/php/lib/php/extensions/no-debug-zts-20190902/gd2.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 001- resource(%d) of type (stream) 002+ 003+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /opt/php-7.4.16/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 13 004+ bool(false) 005+ PHP Notice: fwrite(): write of 1 bytes failed with errno=32 Broken pipe in /opt/php-7.4.16/ext/openssl/tests/ServerClientTestCase.inc on line 158
1 (5%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'curl' (tried: /usr/local/lib/php/extensions/no-debug-zts-20190902/curl (/usr/local/lib/php/extensions/no-debug-zts-20190902/curl: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20190902/curl.so (/usr/local/lib/php/extensions/no-debug-zts-20190902/curl.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 001- resource(%d) of type (stream) 002+ PHP Warning: PHP Startup: Unable to load dynamic library 'ftp' (tried: /usr/local/lib/php/extensions/no-debug-zts-20190902/ftp (/usr/local/lib/php/extensions/no-debug-zts-20190902/ftp: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20190902/ftp.so (/usr/local/lib/php/extensions/no-debug-zts-20190902/ftp.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 003+ PHP Warning: PHP Startup: Unable to load dynamic library 'gd2' (tried: /usr/local/lib/php/extensions/no-debug-zts-20190902/gd2 (/usr/local/lib/php/extensions/no-debug-zts-20190902/gd2: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20190902/gd2.so (/usr/local/lib/php/extensions/no-debug-zts-20190902/gd2.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 004+ PHP Warning: PHP Startup: Unable to load dynamic library 'mbstring' (tried: /usr/local/lib/php/extensions/no-debug-zts-20190902/mbstring (/usr/local/lib/php/extensions/no-debug-zts-20190902/mbstring: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20190902/mbstring.so (/usr/local/lib/php/extensions/no-debug-zts-20190902/mbstring.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 005+ PHP Warning: PHP Startup: Unable to load dynamic library 'mysqli' (tried: /usr/local/lib/php/extensions/no-debug-zts-20190902/mysqli (/usr/local/lib/php/extensions/no-debug-zts-20190902/mysqli: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20190902/mysqli.so (/usr/local/lib/php/extensions/no-debug-zts-20190902/mysqli.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 006+ PHP Warning: PHP Startup: Unable to load dynamic library 'openssl' (tried: /usr/local/lib/php/extensions/no-debug-zts-20190902/openssl (/usr/local/lib/php/extensions/no-debug-zts-20190902/openssl: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20190902/openssl.so (/usr/local/lib/php/extensions/no-debug-zts-20190902/openssl.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 007+ PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_mysql' (tried: /usr/local/lib/php/extensions/no-debug-zts-20190902/pdo_mysql (/usr/local/lib/php/extensions/no-debug-zts-20190902/pdo_mysql: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20190902/pdo_mysql.so (/usr/local/lib/php/extensions/no-debug-zts-20190902/pdo_mysql.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 008+ PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_sqlite' (tried: /usr/local/lib/php/extensions/no-debug-zts-20190902/pdo_sqlite (/usr/local/lib/php/extensions/no-debug-zts-20190902/pdo_sqlite: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20190902/pdo_sqlite.so (/usr/local/lib/php/extensions/no-debug-zts-20190902/pdo_sqlite.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 009+ PHP Warning: PHP Startup: Unable to load dynamic library 'sockets' (tried: /usr/local/lib/php/extensions/no-debug-zts-20190902/sockets (/usr/local/lib/php/extensions/no-debug-zts-20190902/sockets: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20190902/sockets.so (/usr/local/lib/php/extensions/no-debug-zts-20190902/sockets.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 010+ 011+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/alejandro/Downloads/php-7.4.16/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 13 012+ bool(false) 013+ PHP Notice: fwrite(): write of 1 bytes failed with errno=32 Broken pipe in /home/alejandro/Downloads/php-7.4.16/ext/openssl/tests/ServerClientTestCase.inc on line 158
1 (5%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'curl' (tried: /usr/local/lib/php/extensions/no-debug-zts-20190902/curl (/usr/local/lib/php/extensions/no-debug-zts-20190902/curl: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20190902/curl.so (/usr/local/lib/php/extensions/no-debug-zts-20190902/curl.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 001- resource(%d) of type (stream) 002+ 003+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/enzo/Downloads/php-7.4.16/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 13 004+ bool(false) 005+ PHP Notice: fwrite(): write of 1 bytes failed with errno=32 Broken pipe in /home/enzo/Downloads/php-7.4.16/ext/openssl/tests/ServerClientTestCase.inc on line 158
1 (5%)
001+ PHP Warning: PHP Startup: Invalid library (maybe not a PHP library) 'mysqli' in Unknown on line 0 001- resource(%d) of type (stream) 002+ 003+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /usr/local/src/php-7.4.16/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 13 004+ bool(false) 005+ PHP Notice: fwrite(): write of 1 bytes failed with errno=32 Broken pipe in /usr/local/src/php-7.4.16/ext/openssl/tests/ServerClientTestCase.inc on line 158
1 (5%)
001+ PHP Warning: PHP Startup: Invalid library (maybe not a PHP library) '/usr/local/php/lib/php/extensions/no-debug-zts-20190902/openssl.so' in Unknown on line 0 002+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-zts-20190902/bcmath.so' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20190902/bcmath.so (/usr/local/php/lib/php/extensions/no-debug-zts-20190902/bcmath.so: undefined symbol: _tsrm_ls_cache), /usr/local/php/lib/php/extensions/no-debug-zts-20190902//usr/local/php/lib/php/extensions/no-debug-zts-20190902/bcmath.so.so (/usr/local/php/lib/php/extensions/no-debug-zts-20190902//usr/local/php/lib/php/extensions/no-debug-zts-20190902/bcmath.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (5%)
001+ PHP Warning: Module 'imagick' already loaded in Unknown on line 0 002+ PHP Warning: Module 'zip' already loaded in Unknown on line 0
1 (5%)
001+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /opt/self/Tools/php-7.4.16/lib/php/extensions/no-debug-non-zts-20190902/opcache.so (/opt/self/Tools/php-7.4.16/lib/php/extensions/no-debug-non-zts-20190902/opcache.so: cannot open shared object file: No such file or directory), /opt/self/Tools/php-7.4.16/lib/php/extensions/no-debug-non-zts-20190902/opcache.so.so (/opt/self/Tools/php-7.4.16/lib/php/extensions/no-debug-non-zts-20190902/opcache.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 002+ PHP Warning: PHP Startup: Unable to load dynamic library 'memcache.so' (tried: /opt/self/Tools/php-7.4.16/lib/php/extensions/no-debug-non-zts-20190902/memcache.so (/opt/self/Tools/php-7.4.16/lib/php/extensions/no-debug-non-zts-20190902/memcache.so: cannot open shared object file: No such file or directory), /opt/self/Tools/php-7.4.16/lib/php/extensions/no-debug-non-zts-20190902/memcache.so.so (/opt/self/Tools/php-7.4.16/lib/php/extensions/no-debug-non-zts-20190902/memcache.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (5%)
001+ PHP Deprecated: Directive 'track_errors' is deprecated in Unknown on line 0 001- resource(%d) of type (stream) 002+ 003+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /var/tmacalee/php-7.4.16/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 13 004+ bool(false) 005+ PHP Notice: fwrite(): write of 1 bytes failed with errno=32 Broken pipe in /var/tmacalee/php-7.4.16/ext/openssl/tests/ServerClientTestCase.inc on line 158
1 (5%)
001+ Failed loading /opt/php7/lib/extensions/xdebug.so: /opt/php7/lib/extensions/xdebug.so: undefined symbol: gc_globals
1 (5%)
001+ Failed loading /local/lib/php/extensions/no-debug-non-zts-20131226/opcache.so: /local/lib/php/extensions/no-debug-non-zts-20131226/opcache.so: undefined symbol: _zval_ptr_dtor 002+ PHP Warning: PHP Startup: Unable to load dynamic library 'php_openssl.dll' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/php_openssl.dll (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/php_openssl.dll: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/php_openssl.dll.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/php_openssl.dll.so: cannot open shared object file: No such file or directory)) in Unknown on line 0