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

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

Count Diff
4 (10%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /root/php-7.4.4/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.4.4/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.4.4/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 /usr/local/src/php-7.4.4/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.4.4/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.4.4/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11 006+ bool(false)
2 (5%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/local/php-7.4.4/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/php-7.4.4/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/php-7.4.4/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11 006+ bool(false)
1 (2%)
001+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /serv/etc/extensions/no-debug-zts-20190902/opcache.so (/serv/etc/extensions/no-debug-zts-20190902/opcache.so: cannot open shared object file: No such file or directory), /serv/etc/extensions/no-debug-zts-20190902/opcache.so.so (/serv/etc/extensions/no-debug-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 'apcu.so' (tried: /serv/etc/extensions/no-debug-zts-20190902/apcu.so (/serv/etc/extensions/no-debug-zts-20190902/apcu.so: cannot open shared object file: No such file or directory), /serv/etc/extensions/no-debug-zts-20190902/apcu.so.so (/serv/etc/extensions/no-debug-zts-20190902/apcu.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 'apc.so' (tried: /serv/etc/extensions/no-debug-zts-20190902/apc.so (/serv/etc/extensions/no-debug-zts-20190902/apc.so: cannot open shared object file: No such file or directory), /serv/etc/extensions/no-debug-zts-20190902/apc.so.so (/serv/etc/extensions/no-debug-zts-20190902/apc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (2%)
001+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/local/php7/lib/php/extensions/debug-zts-20190902/opcache.so (/usr/local/php7/lib/php/extensions/debug-zts-20190902/opcache.so: cannot open shared object file: No such file or directory), /usr/local/php7/lib/php/extensions/debug-zts-20190902/opcache.so.so (/usr/local/php7/lib/php/extensions/debug-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 'mongodb.so' (tried: /usr/local/php7/lib/php/extensions/debug-zts-20190902/mongodb.so (/usr/local/php7/lib/php/extensions/debug-zts-20190902/mongodb.so: cannot open shared object file: No such file or directory), /usr/local/php7/lib/php/extensions/debug-zts-20190902/mongodb.so.so (/usr/local/php7/lib/php/extensions/debug-zts-20190902/mongodb.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 'parallel.so' (tried: /usr/local/php7/lib/php/extensions/debug-zts-20190902/parallel.so (/usr/local/php7/lib/php/extensions/debug-zts-20190902/parallel.so: cannot open shared object file: No such file or directory), /usr/local/php7/lib/php/extensions/debug-zts-20190902/parallel.so.so (/usr/local/php7/lib/php/extensions/debug-zts-20190902/parallel.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 'imagick.so' (tried: /usr/local/php74/lib/php/extensions/no-debug-non-zts-20190902/imagick.so (/usr/local/php74/lib/php/extensions/no-debug-non-zts-20190902/imagick.so: cannot open shared object file: No such file or directory), /usr/local/php74/lib/php/extensions/no-debug-non-zts-20190902/imagick.so.so (/usr/local/php74/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 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/m-ito/tmp/php-7.4.4/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11 004+ bool(false) 005+ PHP Notice: fwrite(): write of 1 bytes failed with errno=32 Broken pipe in /home/m-ito/tmp/php-7.4.4/ext/openssl/tests/ServerClientTestCase.inc on line 158
1 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'libmcrypt.so' (tried: /usr/local/php7/lib/php/extensions/no-debug-non-zts-20190902/libmcrypt.so (/usr/local/php7/lib/php/extensions/no-debug-non-zts-20190902/libmcrypt.so: cannot open shared object file: No such file or directory), /usr/local/php7/lib/php/extensions/no-debug-non-zts-20190902/libmcrypt.so.so (/usr/local/php7/lib/php/extensions/no-debug-non-zts-20190902/libmcrypt.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (2%)
001+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/data01/usr/local/src/php-7.4.4/ext/openssl/tests/bug68265.pem'; Check that your cafile/capath settings include details of your certificate and its issuer in /data01/usr/local/src/php-7.4.4/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 /data01/usr/local/src/php-7.4.4/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11 003+ PHP Warning: stream_socket_accept(): accept failed: Success in /data01/usr/local/src/php-7.4.4/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11 004+ 005+ Warning: stream_socket_client(): SSL: Connection reset by peer in /data01/usr/local/src/php-7.4.4/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11 006+ 007+ Warning: stream_socket_client(): Failed to enable crypto in /data01/usr/local/src/php-7.4.4/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 /data01/usr/local/src/php-7.4.4/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/administrator/Downloads/php-7.4.4/ext/openssl/tests/bug68265.pem'; Check that your cafile/capath settings include details of your certificate and its issuer in /home/administrator/Downloads/php-7.4.4/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/administrator/Downloads/php-7.4.4/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11 003+ PHP Warning: stream_socket_accept(): accept failed: Success in /home/administrator/Downloads/php-7.4.4/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11 004+ 005+ Warning: stream_socket_client(): SSL: Connection reset by peer in /home/administrator/Downloads/php-7.4.4/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11 006+ 007+ Warning: stream_socket_client(): Failed to enable crypto in /home/administrator/Downloads/php-7.4.4/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 /home/administrator/Downloads/php-7.4.4/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/forum/source/php-7.4.4/ext/openssl/tests/bug68265.pem'; Check that your cafile/capath settings include details of your certificate and its issuer in /home/forum/source/php-7.4.4/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/forum/source/php-7.4.4/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/forum/source/php-7.4.4/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11 005+ 006+ Warning: stream_socket_client(): Failed to enable crypto in /home/forum/source/php-7.4.4/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/forum/source/php-7.4.4/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/forum/source/php-7.4.4/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 `/root/soft/php-7.4.4/ext/openssl/tests/bug68265.pem'; Check that your cafile/capath settings include details of your certificate and its issuer in /root/soft/php-7.4.4/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/soft/php-7.4.4/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11 003+ PHP Warning: stream_socket_accept(): accept failed: Success in /root/soft/php-7.4.4/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/soft/php-7.4.4/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11 006+ 007+ Warning: stream_socket_client(): Failed to enable crypto in /root/soft/php-7.4.4/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/soft/php-7.4.4/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11 010+ bool(false)
1 (2%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /app/php-7.4.4/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 /app/php-7.4.4/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 /app/php-7.4.4/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 /apps/php-7.4.4/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 /apps/php-7.4.4/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 /apps/php-7.4.4/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 /home/colin/php-7.4.4/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/colin/php-7.4.4/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/colin/php-7.4.4/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 /home/forum/source/php-7.4.4/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/forum/source/php-7.4.4/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/forum/source/php-7.4.4/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 /home/rik/Public/phpbuilder/php74/php-7.4.4/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/rik/Public/phpbuilder/php74/php-7.4.4/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/rik/Public/phpbuilder/php74/php-7.4.4/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 /home/yos/temp/php-7.4.4/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/yos/temp/php-7.4.4/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/yos/temp/php-7.4.4/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/software/php-7.4.4/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/software/php-7.4.4/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/software/php-7.4.4/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/sw/php-7.4.4/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/sw/php-7.4.4/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/sw/php-7.4.4/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/install/php/php-7.4.4/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/install/php/php-7.4.4/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/install/php/php-7.4.4/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-7.4.4/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-7.4.4/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-7.4.4/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11 006+ bool(false)