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

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

Count Diff
203 (54%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/src/php/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 11
001- resource(%d) of type (stream)
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /usr/src/php/ext/openssl/tests/ServerClientTestCase.inc(96) : 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/src/php/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 11
006+ bool(false)
129 (34%)
001+ Warning: stream_socket_client(): SSL: Success in /usr/src/php/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 11
001- resource(%d) of type (stream)
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /usr/src/php/ext/openssl/tests/ServerClientTestCase.inc(96) : 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/src/php/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 11
006+ bool(false)
12 (3%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/local/src/php-7.1.33-sdv/ext/openssl/tests/ServerClientTestCase.inc(96) : 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.1.33-sdv/ext/openssl/tests/ServerClientTestCase.inc(96) : 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.1.33-sdv/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 11
006+ bool(false)
3 (1%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/local/src/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : 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.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : 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.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 11
006+ bool(false)
2 (1%)
001+ Warning: stream_socket_client(): SSL: Success in /usr/local/src/php-7.1.33-sdv/ext/openssl/tests/ServerClientTestCase.inc(96) : 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.1.33-sdv/ext/openssl/tests/ServerClientTestCase.inc(96) : 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.1.33-sdv/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 11
006+ bool(false)
2 (1%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/src/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 11
001- resource(%d) of type (stream)
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /usr/src/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : 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/src/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 11
006+ bool(false)
2 (1%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /etc/php71/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 11
001- resource(%d) of type (stream)
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /etc/php71/ext/openssl/tests/ServerClientTestCase.inc(96) : 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 /etc/php71/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 11
006+ bool(false)
2 (1%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/imagick.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/imagick.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 '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/imagick.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/imagick.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 '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/sodium.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/sodium.so: cannot open shared object file: No such file or directory in Unknown on line 0
004+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/usr/local/php-7.1.33/ext/openssl/tests/bug68265.pem'; Check that your cafile/capath settings include details of your certificate and its issuer in /usr/local/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
005+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /usr/local/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
006+ PHP Warning: stream_socket_accept(): accept failed: Success in /usr/local/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
007+
008+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/local/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 11
009+
010+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 11
011+
012+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/local/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 11
013+ bool(false)
2 (1%)
001+ Failed loading /usr/local/php-7.1.33/lib/php/extensions/no-debug-non-zts-20160303/opcache.so: /usr/local/php-7.1.33/lib/php/extensions/no-debug-non-zts-20160303/opcache.so: cannot open shared object file: No such file or directory
1 (0%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /root/Desktop/git/package_build_env/env_pack/tmp/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 11
001- resource(%d) of type (stream)
002+ bool(false)
1 (0%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /DATA/src/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 11
001- resource(%d) of type (stream)
002+ bool(false)
1 (0%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /DATA/STUB/src/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 11
001- resource(%d) of type (stream)
002+ bool(false)
1 (0%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /DATA/STUB/downloads/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 11
001- resource(%d) of type (stream)
002+ bool(false)
1 (0%)
001+ Warning: stream_socket_client(): SSL: Success in /tmp/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : 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.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : 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.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 11
006+ bool(false)
1 (0%)
001+ Warning: stream_socket_client(): SSL: Success in /opt/soft/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 11
001- resource(%d) of type (stream)
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /opt/soft/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : 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 /opt/soft/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 11
006+ bool(false)
1 (0%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/local/src/php7.1-build/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : 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/php7.1-build/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : 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/php7.1-build/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 11
006+ bool(false)
1 (0%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /root/src/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 11
001- resource(%d) of type (stream)
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /root/src/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : 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/src/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 11
006+ bool(false)
1 (0%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /root/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : 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.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : 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.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 11
006+ bool(false)
1 (0%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /root/packages/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 11
001- resource(%d) of type (stream)
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /root/packages/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : 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/packages/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 11
006+ bool(false)
1 (0%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /root/lnmp1.8/src/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 11
001- resource(%d) of type (stream)
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /root/lnmp1.8/src/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : 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/lnmp1.8/src/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 11
006+ bool(false)
1 (0%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /root/install/php-7.1/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 11
001- resource(%d) of type (stream)
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /root/install/php-7.1/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : 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/install/php-7.1/php-7.1.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 11
006+ bool(false)