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

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

Count Diff
3 (18%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /usr/local/src/php-5.6.16/ext/openssl/tests/ServerClientTestCase.inc(92) : 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-5.6.16/ext/openssl/tests/ServerClientTestCase.inc(92) : 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-5.6.16/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 11
006+ bool(false)
2 (12%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /root/sources/php/php-5.6.16/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 11
001- resource(%d) of type (stream)
002+ bool(false)
2 (12%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /home/webpi/ProgramFiles/PHP/php-5.6.16/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 11
001- resource(%d) of type (stream)
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /home/webpi/ProgramFiles/PHP/php-5.6.16/ext/openssl/tests/ServerClientTestCase.inc(92) : 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/webpi/ProgramFiles/PHP/php-5.6.16/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 11
006+ bool(false)
1 (6%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /usr/src/php-5.6.16/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 11
001- resource(%d) of type (stream)
002+ bool(false)
1 (6%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/webuser/php-5.6.16/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 11
001- resource(%d) of type (stream)
002+ bool(false)
1 (6%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /usr/local/src/squirrelmail/inst/php-5.6.16/ext/openssl/tests/ServerClientTestCase.inc(92) : 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/squirrelmail/inst/php-5.6.16/ext/openssl/tests/ServerClientTestCase.inc(92) : 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/squirrelmail/inst/php-5.6.16/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 11
006+ bool(false)
1 (6%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /usr/local/src/php-5.6.16/ext/openssl/tests/ServerClientTestCase.inc(92) : 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-5.6.16/ext/openssl/tests/ServerClientTestCase.inc(92) : 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-5.6.16/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 11
006+ bool(false)
007+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /usr/local/src/php-5.6.16/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 11
008+ PHP Warning: stream_socket_accept(): accept failed: Error 0 in /usr/local/src/php-5.6.16/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 11
1 (6%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /usr/local/src/php-5.6.16/ext/openssl/tests/ServerClientTestCase.inc(92) : 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-5.6.16/ext/openssl/tests/ServerClientTestCase.inc(92) : 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-5.6.16/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 11
006+ bool(false)
007+ /usr/local/src/php-5.6.16/main/streams/streams.c(530) : Stream of type 'tcp_socket/ssl' 0xb7fbd3d4 (path:(null)) was not closed
1 (6%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /share/MD0_DATA/Public/php-5.6.16/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 11
001- resource(%d) of type (stream)
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /share/MD0_DATA/Public/php-5.6.16/ext/openssl/tests/ServerClientTestCase.inc(92) : 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 /share/MD0_DATA/Public/php-5.6.16/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 11
006+ bool(false)
1 (6%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /home/software/sources/php/php-5.6.16/ext/openssl/tests/ServerClientTestCase.inc(92) : 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/sources/php/php-5.6.16/ext/openssl/tests/ServerClientTestCase.inc(92) : 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/sources/php/php-5.6.16/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 11
006+ bool(false)
1 (6%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /data/tools/php-5.6.16/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 11
001- resource(%d) of type (stream)
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /data/tools/php-5.6.16/ext/openssl/tests/ServerClientTestCase.inc(92) : 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/tools/php-5.6.16/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 11
006+ bool(false)
1 (6%)
001+ PHP Warning: stream_socket_accept(): SSL_R_NO_SHARED_CIPHER: no suitable shared cipher could be used. This could be because the server is missing an SSL certificate (local_cert context option) in /home/dima/Downloads/php-5.6.16/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 11
001- resource(%d) of type (stream)
002+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /home/dima/Downloads/php-5.6.16/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 11
003+ PHP Warning: stream_socket_accept(): accept failed: Success in /home/dima/Downloads/php-5.6.16/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 11
004+
005+ Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
006+ error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure in /home/dima/Downloads/php-5.6.16/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 11
007+
008+ Warning: stream_socket_client(): Failed to enable crypto in /home/dima/Downloads/php-5.6.16/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 11
009+
010+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /home/dima/Downloads/php-5.6.16/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 11
011+ bool(false)
1 (6%)
001+ Failed loading /opt/php/lib/php/extensions/no-debug-non-zts-20151012/xdebug.so: /opt/php/lib/php/extensions/no-debug-non-zts-20151012/xdebug.so: undefined symbol: zend_sort
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 /root/php-5.6.16/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 11
004+ bool(false)