Test: /ext/openssl/tests/bug54992.phpt - Version 7.2.11        

Bug #54992 Stream not closed and error not returned when SSL CN_match fails
Submitted: 2011-06-04 14:10:04 Modified: 2011-06-08 02:25:10
From: laird_ngrps Assigned: cataphract
Status: Closed Package: Streams related
PHP Version: 5.3.6 OS: Linux

There are 54 different diffs reported by users for this test.

Count Diff
13 (14%)
001+ Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
002+ error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /usr/local/src/php-7.2.11/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Warning: stream_socket_client(): Peer certificate CN=`bug54992.local' did not match expected CN=`buga_buga' in %s on line %d
8 (9%)
001+ Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
002+ error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /root/php-7.2.11/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Warning: stream_socket_client(): Peer certificate CN=`bug54992.local' did not match expected CN=`buga_buga' in %s on line %d
4 (4%)
001+ Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
002+ error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /home/software/php-7.2.11/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Warning: stream_socket_client(): Peer certificate CN=`bug54992.local' did not match expected CN=`buga_buga' in %s on line %d
4 (4%)
001+ Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
002+ error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error in /home/snail/Downloads/php-7.2.11/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Warning: stream_socket_client(): Peer certificate CN=`bug54992.local' did not match expected CN=`buga_buga' in %s on line %d
3 (3%)
001+ Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
002+ error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /apps/opt/php-7.2.11-src/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Warning: stream_socket_client(): Peer certificate CN=`bug54992.local' did not match expected CN=`buga_buga' in %s on line %d
3 (3%)
001+ Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
002+ error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in /usr/local/src/php-7.2.11/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Warning: stream_socket_client(): Peer certificate CN=`bug54992.local' did not match expected CN=`buga_buga' in %s on line %d
2 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'php_imap.dll' (tried: ./php_imap.dll (./php_imap.dll: cannot open shared object file: No such file or directory), ./php_imap.dll.so (./php_imap.dll.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
001- Warning: stream_socket_client(): Peer certificate CN=`bug54992.local' did not match expected CN=`buga_buga' in %s on line %d
003+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /usr/local/src/php-7.2.11/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
003- Warning: stream_socket_client(): Failed to enable crypto in %s on line %d
004-
005- Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in %s on line %d
2 (2%)
001+ Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
002+ error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed in /home/godosystem/src/php-7.2.11/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Warning: stream_socket_client(): Peer certificate CN=`bug54992.local' did not match expected CN=`buga_buga' in %s on line %d
2 (2%)
001+ Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
002+ error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /home/teledb/telemonitor/package/php-7.2.11/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Warning: stream_socket_client(): Peer certificate CN=`bug54992.local' did not match expected CN=`buga_buga' in %s on line %d
2 (2%)
001+ Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
002+ error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /usr/local/php-7.2.11/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Warning: stream_socket_client(): Peer certificate CN=`bug54992.local' did not match expected CN=`buga_buga' in %s on line %d
2 (2%)
001+ Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
002+ error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /usr/src/php-7.2.11/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Warning: stream_socket_client(): Peer certificate CN=`bug54992.local' did not match expected CN=`buga_buga' in %s on line %d
2 (2%)
001+ Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
002+ error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /xxy/download/php-7.2.11/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Warning: stream_socket_client(): Peer certificate CN=`bug54992.local' did not match expected CN=`buga_buga' in %s on line %d
2 (2%)
001+ Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
002+ error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in /home/cworrell/sources/php/php-7.2.11/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Warning: stream_socket_client(): Peer certificate CN=`bug54992.local' did not match expected CN=`buga_buga' in %s on line %d
2 (2%)
001+ Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
002+ error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in /usr/local/src/php7.2-build/php-7.2.11/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Warning: stream_socket_client(): Peer certificate CN=`bug54992.local' did not match expected CN=`buga_buga' in %s on line %d
2 (2%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /home/chy/php-7.2.11/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Warning: stream_socket_client(): Peer certificate CN=`bug54992.local' did not match expected CN=`buga_buga' in %s on line %d
1 (1%)
001+ Failed loading /usr/local/lib/php/extensions/no-debug-non-zts-20131226/opcache.so: /usr/local/lib/php/extensions/no-debug-non-zts-20131226/opcache.so: undefined symbol: zend_opcode_handlers
002+ Xdebug requires Zend Engine API version 220131226.
003+ The Zend Engine API version 320170718 which is installed, is newer.
004+ Contact Derick Rethans at http://xdebug.org/docs/faq#api for a later version of Xdebug.
001- Warning: stream_socket_client(): Peer certificate CN=`bug54992.local' did not match expected CN=`buga_buga' in %s on line %d
003- Warning: stream_socket_client(): Failed to enable crypto in %s on line %d
005- Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in %s on line %d
006+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20131226/apcu.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20131226/apcu.so (/usr/local/lib/php/extensions/no-debug-non-zts-20131226/apcu.so: undefined symbol: zend_unblock_interruptions), /usr/local/lib/php/extensions/no-debug-non-zts-20170718//usr/local/lib/php/extensions/no-debug-non-zts-20131226/apcu.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718//usr/local/lib/php/extensions/no-debug-non-zts-20131226/apcu.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
007+ PHP Warning: PHP Startup: memcache: Unable to initialize module
008+ Module compiled with module API=20131226
009+ PHP compiled with module API=20170718
010+ These options need to match
011+ in Unknown on line 0
012+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20131226/memcached.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20131226/memcached.so (/usr/local/lib/php/extensions/no-debug-non-zts-20131226/memcached.so: undefined symbol: zval_used_for_init), /usr/local/lib/php/extensions/no-debug-non-zts-20170718//usr/local/lib/php/extensions/no-debug-non-zts-20131226/memcached.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718//usr/local/lib/php/extensions/no-debug-non-zts-20131226/memcached.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
013+ PHP Deprecated: Directive 'track_errors' is deprecated in Unknown on line 0
015+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/tose-minakata-s/php-7.2.11/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
1 (1%)
001+ Failed loading /usr/local/lib/php/extensions/no-debug-non-zts-20151012/opcache.so: /usr/local/lib/php/extensions/no-debug-non-zts-20151012/opcache.so: undefined symbol: zend_interned_strings_restore
002+ PHP Deprecated: Directive 'track_errors' is deprecated in Unknown on line 0
001- Warning: stream_socket_client(): Peer certificate CN=`bug54992.local' did not match expected CN=`buga_buga' in %s on line %d
003- Warning: stream_socket_client(): Failed to enable crypto in %s on line %d
004-
005- Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in %s on line %d
004+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /root/install/php/php-7.2.11/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
1 (1%)
001+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/lib/php/ext/opcache.so (/usr/lib/php/ext/opcache.so: undefined symbol: zend_opcode_handlers), /usr/lib/php/ext/opcache.so.so (/usr/lib/php/ext/opcache.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
002+ PHP Warning: PHP Startup: memcache: Unable to initialize module
003+ Module compiled with module API=20131226
004+ PHP compiled with module API=20170718
005+ These options need to match
006+ in Unknown on line 0
001- Warning: stream_socket_client(): Peer certificate CN=`bug54992.local' did not match expected CN=`buga_buga' in %s on line %d
002-
003- Warning: stream_socket_client(): Failed to enable crypto in %s on line %d
004-
005- Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in %s on line %d
006- bool(false)
007+ PHP Warning: PHP Startup: Unable to load dynamic library 'ssh2.so' (tried: /usr/lib/php/ext/ssh2.so (/usr/lib/php/ext/ssh2.so: undefined symbol: zval_used_for_init), /usr/lib/php/ext/ssh2.so.so (/usr/lib/php/ext/ssh2.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
008+ PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/lib/php/ext/imagick.so (/usr/lib/php/ext/imagick.so: undefined symbol: spl_ce_Countable), /usr/lib/php/ext/imagick.so.so (/usr/lib/php/ext/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
009+ PHP Warning: PHP Startup: dbus: Unable to initialize module
010+ Module compiled with module API=20131226
011+ PHP compiled with module API=20170718
012+ These options need to match
013+ in Unknown on line 0
014+ PHP Warning: PHP Startup: Unable to load dynamic library 'phurple.so' (tried: /usr/lib/php/ext/phurple.so (/usr/lib/php/ext/phurple.so: undefined symbol: zval_used_for_init), /usr/lib/php/ext/phurple.so.so (/usr/lib/php/ext/phurple.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
015+ PHP Warning: PHP Startup: htscanner: Unable to initialize module
016+ Module compiled with module API=20131226
017+ PHP compiled with module API=20170718
018+ These options need to match
019+ in Unknown on line 0
020+ PHP Warning: PHP Startup: gnupg: Unable to initialize module
021+ Module compiled with module API=20131226
022+ PHP compiled with module API=20170718
023+ These options need to match
024+ in Unknown on line 0
025+
026+ Warning: stream_socket_client(): Peer certificate CN=`bug54992.local' did not match expected CN=`buga_buga' in /usr/src/php-7.2.11/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
027+
028+ Warning: stream_socket_client(): Failed to enable crypto in /usr/src/php-7.2.11/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
029+
030+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/src/php-7.2.11/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
031+ bool(false)
1 (1%)
001+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20131226/opcache.so (/usr/local/lib/php/extensions/no-debug-zts-20131226/opcache.so: undefined symbol: zend_opcode_handlers), /usr/local/lib/php/extensions/no-debug-zts-20131226/opcache.so.so (/usr/local/lib/php/extensions/no-debug-zts-20131226/opcache.so.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 'apcu.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20131226/apcu.so (/usr/local/lib/php/extensions/no-debug-zts-20131226/apcu.so: undefined symbol: zval_used_for_init), /usr/local/lib/php/extensions/no-debug-zts-20131226/apcu.so.so (/usr/local/lib/php/extensions/no-debug-zts-20131226/apcu.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
003+
1 (1%)
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: cannot open shared object file: No such file or directory), /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
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20170718/imagick.so (/usr/local/php/lib/php/extensions/no-debug-zts-20170718/imagick.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-zts-20170718/imagick.so.so (/usr/local/php/lib/php/extensions/no-debug-zts-20170718/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
003+
1 (1%)
001+ PHP Warning: Module 'openssl' already loaded in Unknown on line 0
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'bcmath.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/bcmath.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/bcmath.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/bcmath.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/bcmath.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
003+
004+ Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
005+ error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in /usr/local/etc/php-7.2.11/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Warning: stream_socket_client(): Peer certificate CN=`bug54992.local' did not match expected CN=`buga_buga' in %s on line %d