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

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

Count Diff
5 (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.8/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 (7%)
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.8/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 (7%)
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/bin/php-7.2.8/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 (4%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'curl.so' (tried: /usr/local/lib/php/20170718/curl.so (Cannot open "/usr/local/lib/php/20170718/curl.so"), /usr/local/lib/php/20170718/curl.so.so (Cannot open "/usr/local/lib/php/20170718/curl.so.so")) in Unknown on line 0
002+
2 (4%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'shopnc.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/shopnc.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/shopnc.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20170718/shopnc.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/shopnc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
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/php-7.2.8/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
2 (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 /usr/src/php/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 (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 /data/php/php-7.2.8/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 (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 /opt/tools/php-7.2.8/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 (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 /usr/src/php-7.2.8/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 (4%)
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.8/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 (2%)
001+ Failed loading /usr/local/lib/php/extensions/no-debug-non-zts-20131226/xdebug.so: /usr/local/lib/php/extensions/no-debug-non-zts-20131226/xdebug.so: cannot open shared object file: No such file or directory
002+
1 (2%)
001+ Failed loading /usr/local/lib/php/extensions/no-debug-non-zts-20170718/xdebug.so: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/xdebug.so: undefined symbol: compiler_globals
002+
1 (2%)
001+ Failed loading /usr/local/lib/php/extensions/no-debug-zts-20170718/opcache.so: /usr/local/lib/php/extensions/no-debug-zts-20170718/opcache.so: cannot open shared object file: No such file or directory
002+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20170718/oci8.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20170718/oci8.so (/usr/local/lib/php/extensions/no-debug-zts-20170718/oci8.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20170718//usr/local/lib/php/extensions/no-debug-zts-20170718/oci8.so.so (/usr/local/lib/php/extensions/no-debug-zts-20170718//usr/local/lib/php/extensions/no-debug-zts-20170718/oci8.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 '/usr/local/lib/php/extensions/no-debug-zts-20170718/mongodb.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20170718/mongodb.so (/usr/local/lib/php/extensions/no-debug-zts-20170718/mongodb.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20170718//usr/local/lib/php/extensions/no-debug-zts-20170718/mongodb.so.so (/usr/local/lib/php/extensions/no-debug-zts-20170718//usr/local/lib/php/extensions/no-debug-zts-20170718/mongodb.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 '/usr/local/lib/php/extensions/no-debug-zts-20170718/memcached.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20170718/memcached.so (/usr/local/lib/php/extensions/no-debug-zts-20170718/memcached.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20170718//usr/local/lib/php/extensions/no-debug-zts-20170718/memcached.so.so (/usr/local/lib/php/extensions/no-debug-zts-20170718//usr/local/lib/php/extensions/no-debug-zts-20170718/memcached.so.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(): 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+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /usr/local/bin/php-7.2.8/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
1 (2%)
001+ Failed loading /usr/local/lib/php/extensions/no-debug-zts-20170718/opcache.so: /usr/local/lib/php/extensions/no-debug-zts-20170718/opcache.so: undefined symbol: zend_opcode_handlers
002+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20170718/mongo.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20170718/mongo.so (/usr/local/lib/php/extensions/no-debug-zts-20170718/mongo.so: undefined symbol: zval_used_for_init), /usr/local/lib/php/extensions/no-debug-zts-20170718//usr/local/lib/php/extensions/no-debug-zts-20170718/mongo.so.so (/usr/local/lib/php/extensions/no-debug-zts-20170718//usr/local/lib/php/extensions/no-debug-zts-20170718/mongo.so.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(): 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 /usr/local/bin/php-7.2.8/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
1 (2%)
001+ Failed loading /usr/local/php/lib/php/extensions/no-debug-non-zts-20151012/opcache.so: /usr/local/php/lib/php/extensions/no-debug-non-zts-20151012/opcache.so: undefined symbol: zend_interned_strings_snapshot
002+
1 (2%)
001+ PHP Deprecated: Directive 'track_errors' is deprecated in Unknown on line 0
002+
1 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'apcu.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20170718/apcu.so (/usr/local/lib/php/extensions/no-debug-zts-20170718/apcu.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20170718/apcu.so.so (/usr/local/lib/php/extensions/no-debug-zts-20170718/apcu.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
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 /usr/local/src/php-7.2.8/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
1 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'http.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/http.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/http.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/http.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/http.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-non-zts-20131226/imagick.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/imagick.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/imagick.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/imagick.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 'oauth.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/oauth.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/oauth.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/oauth.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/oauth.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
004+
1 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'newrelic.so' (tried: /opt/php/lib/php/extensions/no-debug-zts-20170718/newrelic.so (/opt/php/lib/php/extensions/no-debug-zts-20170718/newrelic.so: cannot open shared object file: No such file or directory), /opt/php/lib/php/extensions/no-debug-zts-20170718/newrelic.so.so (/opt/php/lib/php/extensions/no-debug-zts-20170718/newrelic.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
002+
003+ Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
004+ error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed in /home/sray/php-7.2.8/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 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'openssl' (tried: /usr/local/lib/php/extensions/no-debug-zts-20170718/openssl (/usr/local/lib/php/extensions/no-debug-zts-20170718/openssl: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20170718/openssl.so (/usr/local/lib/php/extensions/no-debug-zts-20170718/openssl.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 /home/tommy/Downloads/php7/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
1 (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/centos/php-7.2.8/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