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

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

Count Diff
2 (11%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /usr/local/src/php-7.2.24/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11
001- resource(%d) of type (stream)
002+ bool(false)
2 (11%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/src/php-7.2.24/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.2.24/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.2.24/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11
006+ bool(false)
1 (6%)
001+ Warning: stream_socket_client(): SSL: Success in /usr/local/src/php-7.2.24/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.2.24/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.2.24/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11
006+ bool(false)
1 (6%)
001+ Warning: stream_socket_client(): SSL: Success in /home/install/php-7.2.24/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/php-7.2.24/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/php-7.2.24/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11
006+ bool(false)
1 (6%)
001+ Warning: stream_socket_client(): SSL: Success in /data/packages/php72/php-7.2.24/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 /data/packages/php72/php-7.2.24/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 /data/packages/php72/php-7.2.24/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11
006+ bool(false)
1 (6%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/local/src/php-7.2.24/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.2.24/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.2.24/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11
006+ bool(false)
1 (6%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /root/php-7.2.24/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.2.24/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.2.24/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11
006+ bool(false)
1 (6%)
001+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/usr/local/php/ext/openssl/tests/bug68265.pem'; Check that your cafile/capath settings include details of your certificate and its issuer in /usr/local/php/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 /usr/local/php/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
003+
004+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/local/php/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 11
005+
006+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/php/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 /usr/local/php/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 /usr/local/php/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
1 (6%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'oci8.so' (tried: /usr/lib/php/extensions/no-debug-non-zts-20170718/oci8.so (/usr/lib/php/extensions/no-debug-non-zts-20170718/oci8.so: cannot open shared object file: No such file or directory), /usr/lib/php/extensions/no-debug-non-zts-20170718/oci8.so.so (/usr/lib/php/extensions/no-debug-non-zts-20170718/oci8.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (6%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'mysqli' (tried: ext/mysqli (ext/mysqli: cannot read file data: Is a directory), ext/mysqli.so (ext/mysqli.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 'pdo_mysql' (tried: ext/pdo_mysql (ext/pdo_mysql: cannot read file data: Is a directory), ext/pdo_mysql.so (ext/pdo_mysql.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (6%)
001+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20170718/opcache.so (/usr/local/php/lib/php/extensions/no-debug-zts-20170718/opcache.so: undefined symbol: zend_signal_globals_id), /usr/local/php/lib/php/extensions/no-debug-zts-20170718/opcache.so.so (/usr/local/php/lib/php/extensions/no-debug-zts-20170718/opcache.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (6%)
001+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/opcache.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/opcache.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/opcache.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/opcache.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
002+ Failed loading /usr/local/php/lib/php/extensions/no-debug-zts-20170718/xdebug.so: /usr/local/php/lib/php/extensions/no-debug-zts-20170718/xdebug.so: undefined symbol: sapi_globals_id
003+ PHP Warning: PHP Startup: Unable to load dynamic library 'geoip.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/geoip.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/geoip.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/geoip.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/geoip.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
004+ PHP Warning: PHP Startup: Unable to load dynamic library 'ds.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/ds.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/ds.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/ds.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/ds.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (6%)
001+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/lib64/extensions/no-debug-zts-20170718/opcache.so (/usr/lib64/extensions/no-debug-zts-20170718/opcache.so: cannot open shared object file: No such file or directory), /usr/lib64/extensions/no-debug-zts-20170718/opcache.so.so (/usr/lib64/extensions/no-debug-zts-20170718/opcache.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (6%)
001+ Failed loading /usr/local/php/lib/php/extensions/no-debug-zts-20131226/opcache.so: /usr/local/php/lib/php/extensions/no-debug-zts-20131226/opcache.so: undefined symbol: zend_opcode_handlers
1 (6%)
001+ Failed loading /usr/local/ioncube/ioncube_loader_lin_5.3.so: /usr/local/ioncube/ioncube_loader_lin_5.3.so: undefined symbol: zend_block_interruptions
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'memcache.so' (tried: /usr/lib/php/extensions/no-debug-non-zts-20170718/memcache.so (/usr/lib/php/extensions/no-debug-non-zts-20170718/memcache.so: cannot open shared object file: No such file or directory), /usr/lib/php/extensions/no-debug-non-zts-20170718/memcache.so.so (/usr/lib/php/extensions/no-debug-non-zts-20170718/memcache.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 'memcached.so' (tried: /usr/lib/php/extensions/no-debug-non-zts-20170718/memcached.so (/usr/lib/php/extensions/no-debug-non-zts-20170718/memcached.so: cannot open shared object file: No such file or directory), /usr/lib/php/extensions/no-debug-non-zts-20170718/memcached.so.so (/usr/lib/php/extensions/no-debug-non-zts-20170718/memcached.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
004+ PHP Warning: PHP Startup: ChartDirector PHP API: Unable to initialize module
005+ Module compiled with module API=20090626
006+ PHP compiled with module API=20170718
007+ These options need to match
008+ in Unknown on line 0
1 (6%)
001+ Failed loading /usr/lib/php/extensions/no-debug-non-zts-20131226/opcache.so: /usr/lib/php/extensions/no-debug-non-zts-20131226/opcache.so: undefined symbol: zend_opcode_handlers