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

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 25 different diffs reported by users for this test.

Count Diff
5 (14%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/local/src/php-7.3.3/ext/openssl/tests/ServerClientTestCase.inc(118) : 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.3/ext/openssl/tests/ServerClientTestCase.inc(118) : 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.3/ext/openssl/tests/ServerClientTestCase.inc(118) : eval()'d code on line 11
006+ bool(false)
3 (9%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /root/php-7.3.3/ext/openssl/tests/ServerClientTestCase.inc(118) : 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.3/ext/openssl/tests/ServerClientTestCase.inc(118) : 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.3/ext/openssl/tests/ServerClientTestCase.inc(118) : eval()'d code on line 11
006+ bool(false)
3 (9%)
001+ Failed loading /usr/local/php5/lib/opcache.so: /usr/local/php5/lib/opcache.so: undefined symbol: _zval_ptr_dtor
2 (6%)
001+ Xdebug requires Zend Engine API version 220090626.
001- resource(%d) of type (stream)
002+ The Zend Engine API version 320180731 which is installed, is newer.
003+ Contact Derick Rethans at http://xdebug.org/docs/faq#api for a later version of Xdebug.
004+
005+ PHP Deprecated: Directive 'track_errors' is deprecated in Unknown on line 0
006+
007+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /usr/local/src/php-7.3.3/ext/openssl/tests/ServerClientTestCase.inc(118) : eval()'d code on line 11
008+ bool(false)
009+ PHP Warning: stream_socket_accept(): accept failed: Connection timed out in /usr/local/src/php-7.3.3/ext/openssl/tests/ServerClientTestCase.inc(107) : eval()'d code on line 11
2 (6%)
001+ Failed loading /usr/local/lib/php/extensions/no-debug-non-zts-20170718/xdebug.so: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/xdebug.so: undefined symbol: gc_globals
1 (3%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/user/sysadm/src/build/php-7.3.3/ext/openssl/tests/ServerClientTestCase.inc(118) : eval()'d code on line 11
001- resource(%d) of type (stream)
002+ bool(false)
1 (3%)
001+ Warning: stream_socket_client(): SSL: Success in /usr/local/php-7.3.3/ext/openssl/tests/ServerClientTestCase.inc(118) : 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/php-7.3.3/ext/openssl/tests/ServerClientTestCase.inc(118) : 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/php-7.3.3/ext/openssl/tests/ServerClientTestCase.inc(118) : eval()'d code on line 11
006+ bool(false)
1 (3%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/local/php7.3/ext/openssl/tests/ServerClientTestCase.inc(118) : 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/php7.3/ext/openssl/tests/ServerClientTestCase.inc(118) : 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/php7.3/ext/openssl/tests/ServerClientTestCase.inc(118) : eval()'d code on line 11
006+ bool(false)
1 (3%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/local/php-7.3.3/ext/openssl/tests/ServerClientTestCase.inc(118) : 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/php-7.3.3/ext/openssl/tests/ServerClientTestCase.inc(118) : 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/php-7.3.3/ext/openssl/tests/ServerClientTestCase.inc(118) : eval()'d code on line 11
006+ bool(false)
1 (3%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /home/user/app/php-7.3.3/ext/openssl/tests/ServerClientTestCase.inc(118) : eval()'d code on line 11
001- resource(%d) of type (stream)
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /home/user/app/php-7.3.3/ext/openssl/tests/ServerClientTestCase.inc(118) : 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/user/app/php-7.3.3/ext/openssl/tests/ServerClientTestCase.inc(118) : eval()'d code on line 11
006+ bool(false)
1 (3%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /home/software/php-7.3.3/ext/openssl/tests/ServerClientTestCase.inc(118) : eval()'d code on line 11
001- resource(%d) of type (stream)
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /home/software/php-7.3.3/ext/openssl/tests/ServerClientTestCase.inc(118) : 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/software/php-7.3.3/ext/openssl/tests/ServerClientTestCase.inc(118) : eval()'d code on line 11
006+ bool(false)
1 (3%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /down/php-7.3.3/ext/openssl/tests/ServerClientTestCase.inc(118) : eval()'d code on line 11
001- resource(%d) of type (stream)
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /down/php-7.3.3/ext/openssl/tests/ServerClientTestCase.inc(118) : 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 /down/php-7.3.3/ext/openssl/tests/ServerClientTestCase.inc(118) : eval()'d code on line 11
006+ bool(false)
1 (3%)
001+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/root/php-7.3.3/ext/openssl/tests/bug68265.pem'; Check that your cafile/capath settings include details of your certificate and its issuer in /root/php-7.3.3/ext/openssl/tests/ServerClientTestCase.inc(107) : 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.3/ext/openssl/tests/ServerClientTestCase.inc(107) : eval()'d code on line 11
003+ PHP Warning: stream_socket_accept(): accept failed: Success in /root/php-7.3.3/ext/openssl/tests/ServerClientTestCase.inc(107) : eval()'d code on line 11
004+
005+ Warning: stream_socket_client(): SSL: Connection reset by peer in /root/php-7.3.3/ext/openssl/tests/ServerClientTestCase.inc(118) : eval()'d code on line 11
006+
007+ Warning: stream_socket_client(): Failed to enable crypto in /root/php-7.3.3/ext/openssl/tests/ServerClientTestCase.inc(118) : 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.3/ext/openssl/tests/ServerClientTestCase.inc(118) : eval()'d code on line 11
010+ bool(false)
1 (3%)
001+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/home/zhanglin/下载/php-7.3.3/ext/openssl/tests/bug68265.pem'; Check that your cafile/capath settings include details of your certificate and its issuer in /home/zhanglin/下载/php-7.3.3/ext/openssl/tests/ServerClientTestCase.inc(107) : eval()'d code on line 11
001- resource(%d) of type (stream)
002+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /home/zhanglin/下载/php-7.3.3/ext/openssl/tests/ServerClientTestCase.inc(107) : eval()'d code on line 11
003+ PHP Warning: stream_socket_accept(): accept failed: Success in /home/zhanglin/下载/php-7.3.3/ext/openssl/tests/ServerClientTestCase.inc(107) : eval()'d code on line 11
004+
005+ Warning: stream_socket_client(): SSL: Connection reset by peer in /home/zhanglin/下载/php-7.3.3/ext/openssl/tests/ServerClientTestCase.inc(118) : eval()'d code on line 11
006+
007+ Warning: stream_socket_client(): Failed to enable crypto in /home/zhanglin/下载/php-7.3.3/ext/openssl/tests/ServerClientTestCase.inc(118) : 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 /home/zhanglin/下载/php-7.3.3/ext/openssl/tests/ServerClientTestCase.inc(118) : eval()'d code on line 11
010+ bool(false)
1 (3%)
001+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/home/ysongyang/soft/php-7.3.3/ext/openssl/tests/bug68265.pem'; Check that your cafile/capath settings include details of your certificate and its issuer in /home/ysongyang/soft/php-7.3.3/ext/openssl/tests/ServerClientTestCase.inc(107) : eval()'d code on line 11
001- resource(%d) of type (stream)
002+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /home/ysongyang/soft/php-7.3.3/ext/openssl/tests/ServerClientTestCase.inc(107) : eval()'d code on line 11
003+ PHP Warning: stream_socket_accept(): accept failed: Success in /home/ysongyang/soft/php-7.3.3/ext/openssl/tests/ServerClientTestCase.inc(107) : eval()'d code on line 11
004+
005+ Warning: stream_socket_client(): SSL: Connection reset by peer in /home/ysongyang/soft/php-7.3.3/ext/openssl/tests/ServerClientTestCase.inc(118) : eval()'d code on line 11
006+
007+ Warning: stream_socket_client(): Failed to enable crypto in /home/ysongyang/soft/php-7.3.3/ext/openssl/tests/ServerClientTestCase.inc(118) : 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 /home/ysongyang/soft/php-7.3.3/ext/openssl/tests/ServerClientTestCase.inc(118) : eval()'d code on line 11
010+ bool(false)
1 (3%)
001+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/home/hatredssh/php-7-debian/php-src/ext/openssl/tests/bug68265.pem'; Check that your cafile/capath settings include details of your certificate and its issuer in /home/hatredssh/php-7-debian/php-src/ext/openssl/tests/ServerClientTestCase.inc(107) : eval()'d code on line 11
001- resource(%d) of type (stream)
002+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /home/hatredssh/php-7-debian/php-src/ext/openssl/tests/ServerClientTestCase.inc(107) : eval()'d code on line 11
003+ PHP Warning: stream_socket_accept(): accept failed: Success in /home/hatredssh/php-7-debian/php-src/ext/openssl/tests/ServerClientTestCase.inc(107) : eval()'d code on line 11
004+
005+ Warning: stream_socket_client(): SSL: Success in /home/hatredssh/php-7-debian/php-src/ext/openssl/tests/ServerClientTestCase.inc(118) : eval()'d code on line 11
006+
007+ Warning: stream_socket_client(): Failed to enable crypto in /home/hatredssh/php-7-debian/php-src/ext/openssl/tests/ServerClientTestCase.inc(118) : 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 /home/hatredssh/php-7-debian/php-src/ext/openssl/tests/ServerClientTestCase.inc(118) : eval()'d code on line 11
010+ bool(false)
1 (3%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'mbstring' (tried: /usr/lib/php/modules/mbstring (/usr/lib/php/modules/mbstring: cannot open shared object file: No such file or directory), /usr/lib/php/modules/mbstring.so (/usr/lib/php/modules/mbstring.so: undefined symbol: compiler_globals)) in Unknown on line 0
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_sqlite' (tried: /usr/lib/php/modules/pdo_sqlite (/usr/lib/php/modules/pdo_sqlite: cannot open shared object file: No such file or directory), /usr/lib/php/modules/pdo_sqlite.so (/usr/lib/php/modules/pdo_sqlite.so: undefined symbol: core_globals)) in Unknown on line 0
003+ PHP Warning: PHP Startup: Unable to load dynamic library 'mysqlnd' (tried: /usr/lib/php/modules/mysqlnd (/usr/lib/php/modules/mysqlnd: cannot open shared object file: No such file or directory), /usr/lib/php/modules/mysqlnd.so (/usr/lib/php/modules/mysqlnd.so: undefined symbol: _zval_ptr_dtor)) in Unknown on line 0
004+ PHP Warning: PHP Startup: zlib: Unable to initialize module
005+ Module compiled with module API=20170718
006+ PHP compiled with module API=20180731
007+ These options need to match
008+ in Unknown on line 0
1 (3%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'fileinfo.so' (tried: /usr/local/php7/lib/php/extensions/no-debug-non-zts-20180731/fileinfo.so (/usr/local/php7/lib/php/extensions/no-debug-non-zts-20180731/fileinfo.so: cannot open shared object file: No such file or directory), /usr/local/php7/lib/php/extensions/no-debug-non-zts-20180731/fileinfo.so.so (/usr/local/php7/lib/php/extensions/no-debug-non-zts-20180731/fileinfo.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (3%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'apcu' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/apcu (/usr/local/lib/php/extensions/no-debug-zts-20180731/apcu: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/apcu.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/apcu.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 'amqp' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/amqp (/usr/local/lib/php/extensions/no-debug-zts-20180731/amqp: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/amqp.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/amqp.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 'mongodb' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/mongodb (/usr/local/lib/php/extensions/no-debug-zts-20180731/mongodb: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/mongodb.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/mongodb.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 'pthreads' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/pthreads (/usr/local/lib/php/extensions/no-debug-zts-20180731/pthreads: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/pthreads.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/pthreads.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 'redis' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/redis (/usr/local/lib/php/extensions/no-debug-zts-20180731/redis: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/redis.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/redis.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 'trader' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/trader (/usr/local/lib/php/extensions/no-debug-zts-20180731/trader: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/trader.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/trader.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 'dbase' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/dbase (/usr/local/lib/php/extensions/no-debug-zts-20180731/dbase: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/dbase.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/dbase.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
008+
009+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/devel/Downloads/php-7.3.3/ext/openssl/tests/ServerClientTestCase.inc(118) : eval()'d code on line 11
010+ bool(false)
011+ PHP Warning: stream_socket_accept(): accept failed: Connection timed out in /home/devel/Downloads/php-7.3.3/ext/openssl/tests/ServerClientTestCase.inc(107) : eval()'d code on line 11
1 (3%)
001+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /alidata/server/php7/lib/php/extensions/no-debug-non-zts-20180731/opcache.so (/alidata/server/php7/lib/php/extensions/no-debug-non-zts-20180731/opcache.so: cannot open shared object file: No such file or directory), /alidata/server/php7/lib/php/extensions/no-debug-non-zts-20180731/opcache.so.so (/alidata/server/php7/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
001- resource(%d) of type (stream)
002+ Xdebug requires Zend Engine API version 320160303.
003+ The Zend Engine API version 320180731 which is installed, is newer.
004+ Contact Derick Rethans at http://xdebug.org/docs/faq#api for a later version of Xdebug.
005+
006+ PHP Deprecated: Directive 'track_errors' is deprecated in Unknown on line 0
007+
008+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /docker/data/php-7.3.3/ext/openssl/tests/ServerClientTestCase.inc(118) : eval()'d code on line 11
009+ bool(false)
010+ PHP Warning: stream_socket_accept(): accept failed: Connection timed out in /docker/data/php-7.3.3/ext/openssl/tests/ServerClientTestCase.inc(107) : eval()'d code on line 11
1 (3%)
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 /usr/local/src/php-7.3.3/ext/openssl/tests/ServerClientTestCase.inc(118) : eval()'d code on line 11
004+ bool(false)
005+ PHP Warning: stream_socket_accept(): accept failed: Connection timed out in /usr/local/src/php-7.3.3/ext/openssl/tests/ServerClientTestCase.inc(107) : eval()'d code on line 11