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

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

Count Diff
2 (25%)
002+ Segmentation fault
1 (13%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /usr/local/src/php-7.3.18/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11
001- resource(%d) of type (stream)
002+ bool(false)
1 (13%)
001+ Warning: stream_socket_client(): SSL: Success in /usr/local/src/php-src/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-src/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-src/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11
006+ bool(false)
1 (13%)
001+ Warning: stream_socket_client(): SSL: Success in /home/lucky/Downloads/php-src/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/lucky/Downloads/php-src/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/lucky/Downloads/php-src/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11
006+ bool(false)
1 (13%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /php-7.3.18/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 /php-7.3.18/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 /php-7.3.18/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11
006+ bool(false)
1 (13%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /opt/src/php/php-7.3.18/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 /opt/src/php/php-7.3.18/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 /opt/src/php/php-7.3.18/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11
006+ bool(false)
1 (13%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'mbstring' (tried: /usr/local/php7/lib/php/extensions/no-debug-non-zts-20180731/mbstring (/usr/local/php7/lib/php/extensions/no-debug-non-zts-20180731/mbstring: cannot open shared object file: No such file or directory), /usr/local/php7/lib/php/extensions/no-debug-non-zts-20180731/mbstring.so (/usr/local/php7/lib/php/extensions/no-debug-non-zts-20180731/mbstring.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 /root/php-7.3.18/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 /root/php-7.3.18/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11