Test: /ext/openssl/tests/bug68265.phpt - Version 7.3.8        

Bug #68265 TLS/SSL connections do not honour the SubjectAltName within certificates
Submitted: 2014-10-19 12:57:33 Modified: 2015-03-05 07:07:11
From: ondrej Assigned: rdlowrey
Status: Closed Package: OpenSSL related
PHP Version: 5.6.2 OS: Linux

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

Count Diff
5 (12%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /home/__Install/Httpd,PHP/php-7308/php/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11
001- resource(%d) of type (stream)
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /home/__Install/Httpd,PHP/php-7308/php/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /home/__Install/Httpd,PHP/php-7308/php/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11
006+ bool(false)
3 (7%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /root/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11
001- resource(%d) of type (stream)
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /root/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /root/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11
006+ bool(false)
2 (5%)
001+ Xdebug could not open the remote debug file '/tmp/xdebug/xdebug.log'.
2 (5%)
001+ PHP Warning: PHP Startup: smbclient: Unable to initialize module
002+ Module compiled with module API=20151012
003+ PHP compiled with module API=20180731
004+ These options need to match
005+ in Unknown on line 0
2 (5%)
001+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/opcache.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/opcache.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/opcache.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/opcache.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (2%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /root/soft/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11
001- resource(%d) of type (stream)
002+ bool(false)
1 (2%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /root/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11
001- resource(%d) of type (stream)
002+ bool(false)
1 (2%)
001+ Warning: stream_socket_client(): SSL: Success in /data/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11
001- resource(%d) of type (stream)
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /data/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /data/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11
006+ bool(false)
1 (2%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/local/src/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11
001- resource(%d) of type (stream)
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/src/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/local/src/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11
006+ bool(false)
1 (2%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /tmp/php/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11
001- resource(%d) of type (stream)
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /tmp/php/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /tmp/php/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11
006+ bool(false)
1 (2%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /root/zlib-1.2.11/libzip-1.2.0/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11
001- resource(%d) of type (stream)
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /root/zlib-1.2.11/libzip-1.2.0/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /root/zlib-1.2.11/libzip-1.2.0/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11
006+ bool(false)
1 (2%)
001+ PHP Warning: stream_socket_server(): unable to connect to ssl://127.0.0.1:64321 (Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?) in /home/try/src/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 8
001- resource(%d) of type (stream)
002+ PHP Warning: stream_socket_accept() expects parameter 1 to be resource, bool given in /home/try/src/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
003+
004+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/try/src/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11
005+ bool(false)
1 (2%)
001+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/root/php-7.3.8/ext/openssl/tests/bug68265.pem'; Check that your cafile/capath settings include details of your certificate and its issuer in /root/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
001- resource(%d) of type (stream)
002+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /root/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
003+ PHP Warning: stream_socket_accept(): accept failed: Success in /root/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
004+
005+ Warning: stream_socket_client(): SSL: Connection reset by peer in /root/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11
006+
007+ Warning: stream_socket_client(): Failed to enable crypto in /root/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11
008+
009+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /root/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11
010+ bool(false)
1 (2%)
001+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/home/phpmt/php-7.3.8/ext/openssl/tests/bug68265.pem'; Check that your cafile/capath settings include details of your certificate and its issuer in /home/phpmt/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
001- resource(%d) of type (stream)
002+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /home/phpmt/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
003+
004+ Warning: stream_socket_client(): SSL: Connection reset by peer in /home/phpmt/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11
005+
006+ Warning: stream_socket_client(): Failed to enable crypto in /home/phpmt/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11
007+
008+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /home/phpmt/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11
009+ bool(false)
010+ PHP Warning: stream_socket_accept(): accept failed: Success in /home/phpmt/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
1 (2%)
001+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/home/andres/Descargas/php-src/ext/openssl/tests/bug68265.pem'; Check that your cafile/capath settings include details of your certificate and its issuer in /home/andres/Descargas/php-src/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
001- resource(%d) of type (stream)
002+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /home/andres/Descargas/php-src/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
003+
004+ Warning: stream_socket_client(): SSL: Connection reset by peer in /home/andres/Descargas/php-src/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11
005+
006+ Warning: stream_socket_client(): Failed to enable crypto in /home/andres/Descargas/php-src/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11
007+
008+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /home/andres/Descargas/php-src/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11
009+ bool(false)
010+ PHP Warning: stream_socket_accept(): accept failed: Success in /home/andres/Descargas/php-src/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
1 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'swoole.so' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20180731/swoole.so (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/swoole.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-zts-20180731/swoole.so.so (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/swoole.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 'swoole.so' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20180731/swoole.so (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/swoole.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-zts-20180731/swoole.so.so (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/swoole.so.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 'swoole.so' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20180731/swoole.so (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/swoole.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-zts-20180731/swoole.so.so (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/swoole.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'raphf.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/raphf.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/raphf.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/raphf.so.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/raphf.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 'propro.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/propro.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/propro.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/propro.so.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/propro.so.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 'http.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/http.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/http.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/http.so.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/http.so.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 'geoip.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/geoip.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/geoip.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/geoip.so.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/geoip.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'php_screw_plus.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/php_screw_plus.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/php_screw_plus.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/php_screw_plus.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/php_screw_plus.so.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 'pgsql.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/pgsql.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/pgsql.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/pgsql.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/pgsql.so.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 'mongo.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/mongo.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/mongo.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/mongo.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/mongo.so.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 'redis.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/redis.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/redis.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/redis.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/redis.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
005+
006+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /root/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11
007+ bool(false)
1 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'php_mysql.dll' (tried: /apps/redcap/php-7.3.8/lib/php/extensions/no-debug-zts-20180731/php_mysql.dll (/apps/redcap/php-7.3.8/lib/php/extensions/no-debug-zts-20180731/php_mysql.dll: cannot open shared object file: No such file or directory), /apps/redcap/php-7.3.8/lib/php/extensions/no-debug-zts-20180731/php_mysql.dll.so (/apps/redcap/php-7.3.8/lib/php/extensions/no-debug-zts-20180731/php_mysql.dll.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 'php_mysqli.dll' (tried: /apps/redcap/php-7.3.8/lib/php/extensions/no-debug-zts-20180731/php_mysqli.dll (/apps/redcap/php-7.3.8/lib/php/extensions/no-debug-zts-20180731/php_mysqli.dll: cannot open shared object file: No such file or directory), /apps/redcap/php-7.3.8/lib/php/extensions/no-debug-zts-20180731/php_mysqli.dll.so (/apps/redcap/php-7.3.8/lib/php/extensions/no-debug-zts-20180731/php_mysqli.dll.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
003+ PHP Deprecated: Directive 'track_errors' is deprecated in Unknown on line 0
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /apps/redcap/setup/redcap9.1.1_thirdparty/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11
006+ bool(false)
007+ PHP Warning: stream_socket_accept(): accept failed: Connection timed out in /apps/redcap/setup/redcap9.1.1_thirdparty/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
1 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'openssl' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/openssl (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/openssl: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/openssl.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/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 /opt/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11
004+ bool(false)
005+ PHP Warning: stream_socket_accept(): accept failed: Connection timed out in /opt/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
1 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'maxminddb.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/maxminddb.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/maxminddb.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/maxminddb.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/maxminddb.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0