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

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

Count Diff
8 (11%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/local/php-7.4.7/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.7/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.7/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11 006+ bool(false)
4 (5%)
001+ Warning: stream_socket_client(): SSL: Success in /root/php-7.4.7/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.7/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.7/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11 006+ bool(false)
4 (5%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/local/src/php-7.4.7/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.7/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.7/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11 006+ bool(false)
3 (4%)
001+ Warning: stream_socket_client(): SSL: Success in /zabbix/back/php-7.4.7/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 /zabbix/back/php-7.4.7/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 /zabbix/back/php-7.4.7/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11 006+ bool(false)
3 (4%)
001+ Warning: stream_socket_client(): SSL: Success in /usr/src/php/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/src/php/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/src/php/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11 006+ bool(false)
3 (4%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/src/php/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/src/php/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/src/php/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11 006+ bool(false)
3 (4%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /root/php-7.4.7/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.7/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.7/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11 006+ bool(false)
2 (3%)
001+ Warning: stream_socket_client(): SSL: Success in /root/sources/php-7.4.7/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/sources/php-7.4.7/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/sources/php-7.4.7/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11 006+ bool(false)
2 (3%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/src/php-7.4.7/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/src/php-7.4.7/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/src/php-7.4.7/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11 006+ bool(false)
2 (3%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /home/__Install/Httpd,PHP/php-7407/php/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/__Install/Httpd,PHP/php-7407/php/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/__Install/Httpd,PHP/php-7407/php/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11 006+ bool(false)
1 (1%)
001+ Zend OPcache requires Zend Engine API version 320180731. 002+ The Zend Engine API version 320190902 which is installed, is newer. 003+ Contact Zend Technologies at http://www.zend.com/ for a later version of Zend OPcache. 004+ 005+ PHP Warning: PHP Startup: memcached: Unable to initialize module 006+ Module compiled with module API=20180731 007+ PHP compiled with module API=20190902 008+ These options need to match 009+ in Unknown on line 0
1 (1%)
001+ Zend OPcache requires Zend Engine API version 320180731. 002+ The Zend Engine API version 320190902 which is installed, is newer. 003+ Contact Zend Technologies at http://www.zend.com/ for a later version of Zend OPcache. 004+
1 (1%)
001+ Zend OPcache requires Zend Engine API version 320180731. 001- resource(%d) of type (stream) 002+ The Zend Engine API version 320190902 which is installed, is newer. 003+ Contact Zend Technologies at http://www.zend.com/ for a later version of Zend OPcache. 004+ 005+ PHP Warning: PHP Startup: Unable to load dynamic library 'apcu.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20190902/apcu.so (/usr/local/lib/php/extensions/no-debug-zts-20190902/apcu.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20190902/apcu.so.so (/usr/local/lib/php/extensions/no-debug-zts-20190902/apcu.so.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 'imagick.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20190902/imagick.so (/usr/local/lib/php/extensions/no-debug-zts-20190902/imagick.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20190902/imagick.so.so (/usr/local/lib/php/extensions/no-debug-zts-20190902/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 007+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/usr/local/php-7.4.7/ext/openssl/tests/bug68265.pem'; Check that your cafile/capath settings include details of your certificate and its issuer in /usr/local/php-7.4.7/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11 008+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /usr/local/php-7.4.7/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11 009+ 010+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/local/php-7.4.7/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11 011+ 012+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/php-7.4.7/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11 013+ 014+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/local/php-7.4.7/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11 015+ bool(false) 016+ PHP Warning: stream_socket_accept(): accept failed: Success in /usr/local/php-7.4.7/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
1 (1%)
001+ Warning: stream_socket_client(): SSL: Success in /usr/src/php-7.4.7/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/src/php-7.4.7/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/src/php-7.4.7/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11 006+ bool(false)
1 (1%)
001+ Warning: stream_socket_client(): SSL: Success in /home/mousezheng/Project/php/php-7.4.7/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/mousezheng/Project/php/php-7.4.7/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/mousezheng/Project/php/php-7.4.7/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11 006+ bool(false)
1 (1%)
001+ Warning: stream_socket_client(): SSL: Success in /home/dch1987/php-7.4.7/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/dch1987/php-7.4.7/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/dch1987/php-7.4.7/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11 006+ bool(false)
1 (1%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/local/installatron/php-7.4.7/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/installatron/php-7.4.7/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/installatron/php-7.4.7/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11 006+ bool(false)
1 (1%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /tmp/20230914173740/php-7.4.7/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/20230914173740/php-7.4.7/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/20230914173740/php-7.4.7/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11 006+ bool(false)
1 (1%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /root/Downloads/software/lnmp/php7/php-7.4.7/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/Downloads/software/lnmp/php7/php-7.4.7/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/Downloads/software/lnmp/php7/php-7.4.7/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11 006+ bool(false)
1 (1%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /php/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/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/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11 006+ bool(false)
1 (1%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /opt/sw/php-7.4.7/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/sw/php-7.4.7/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/sw/php-7.4.7/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11 006+ bool(false)