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

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

Count Diff
45 (25%)
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-5.6.33/ext/openssl/tests/ServerClientTestCase.inc(92) : 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
21 (12%)
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/webservice/php-5.6.33/ext/openssl/tests/ServerClientTestCase.inc(92) : 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
19 (11%)
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/php5.6-build/php-5.6.33/ext/openssl/tests/ServerClientTestCase.inc(92) : 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
16 (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 /usr/local/src/beijing/php-5.6.33/ext/openssl/tests/ServerClientTestCase.inc(92) : 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
11 (6%)
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(92) : 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
10 (6%)
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/webservice/php-5.6.33/ext/openssl/tests/ServerClientTestCase.inc(92) : 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
6 (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 /usr/local/src/php5.6-build/php-5.6.33/ext/openssl/tests/ServerClientTestCase.inc(92) : 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 (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 /root/php-5.6.33/ext/openssl/tests/ServerClientTestCase.inc(92) : 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 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php5.6/lib/php/extensions/no-debug-zts-20131226/curl.so' - /usr/local/php5.6/lib/php/extensions/no-debug-zts-20131226/curl.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 '/usr/local/php5.6/lib/php/extensions/no-debug-zts-20131226/dom.so' - /usr/local/php5.6/lib/php/extensions/no-debug-zts-20131226/dom.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/php5.6/lib/php/extensions/no-debug-zts-20131226/fileinfo.so' - /usr/local/php5.6/lib/php/extensions/no-debug-zts-20131226/fileinfo.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/php5.6/lib/php/extensions/no-debug-zts-20131226/json.so' - /usr/local/php5.6/lib/php/extensions/no-debug-zts-20131226/json.so: cannot open shared object file: No such file or directory in Unknown on line 0
005+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php5.6/lib/php/extensions/no-debug-zts-20131226/phar.so' - /usr/local/php5.6/lib/php/extensions/no-debug-zts-20131226/phar.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 '/usr/local/php5.6/lib/php/extensions/no-debug-zts-20131226/posix.so' - /usr/local/php5.6/lib/php/extensions/no-debug-zts-20131226/posix.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
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 '/usr/local/php5.6/lib/php/extensions/no-debug-zts-20131226/sysvmsg.so' - /usr/local/php5.6/lib/php/extensions/no-debug-zts-20131226/sysvmsg.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 '/usr/local/php5.6/lib/php/extensions/no-debug-zts-20131226/sysvsem.so' - /usr/local/php5.6/lib/php/extensions/no-debug-zts-20131226/sysvsem.so: cannot open shared object file: No such file or directory in Unknown on line 0
009+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php5.6/lib/php/extensions/no-debug-zts-20131226/sysvshm.so' - /usr/local/php5.6/lib/php/extensions/no-debug-zts-20131226/sysvshm.so: cannot open shared object file: No such file or directory in Unknown on line 0
010+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php5.6/lib/php/extensions/no-debug-zts-20131226/wddx.so' - /usr/local/php5.6/lib/php/extensions/no-debug-zts-20131226/wddx.so: cannot open shared object file: No such file or directory in Unknown on line 0
011+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php5.6/lib/php/extensions/no-debug-zts-20131226/xmlreader.so' - /usr/local/php5.6/lib/php/extensions/no-debug-zts-20131226/xmlreader.so: cannot open shared object file: No such file or directory in Unknown on line 0
012+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php5.6/lib/php/extensions/no-debug-zts-20131226/xmlwriter.so' - /usr/local/php5.6/lib/php/extensions/no-debug-zts-20131226/xmlwriter.so: cannot open shared object file: No such file or directory in Unknown on line 0
013+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php5.6/lib/php/extensions/no-debug-zts-20131226/xsl.so' - /usr/local/php5.6/lib/php/extensions/no-debug-zts-20131226/xsl.so: cannot open shared object file: No such file or directory in Unknown on line 0
014+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php5.6/lib/php/extensions/no-debug-zts-20131226/zip.so' - /usr/local/php5.6/lib/php/extensions/no-debug-zts-20131226/zip.so: cannot open shared object file: No such file or directory in Unknown on line 0
015+
016+ Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
017+ error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /usr/local/src/php-5.6.33/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
018+
019+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/src/php-5.6.33/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
020+
021+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/local/src/php-5.6.33/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
022+ bool(false)
3 (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-5.6.33/ext/openssl/tests/ServerClientTestCase.inc(92) : 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 (1%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/a99p/php-5.6.33/ext/openssl/tests/ServerClientTestCase.inc(92) : 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
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
2 (1%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /usr/local/src/WWW/apache/php-5.6.33/ext/openssl/tests/ServerClientTestCase.inc(92) : 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 (1%)
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/webs/php-5.6.33/ext/openssl/tests/ServerClientTestCase.inc(92) : 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 (1%)
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-5.6.33/ext/openssl/tests/ServerClientTestCase.inc(92) : 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 (1%)
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 /tmp/php-5.6.33/ext/openssl/tests/ServerClientTestCase.inc(92) : 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 (1%)
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/php-5.6.33/ext/openssl/tests/ServerClientTestCase.inc(92) : 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 (1%)
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-5.6.33/ext/openssl/tests/ServerClientTestCase.inc(92) : 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- Warning: stream_socket_client(): Peer certificate CN=`bug54992.local' did not match expected CN=`buga_buga' in %s on line %d
002-
1 (1%)
001+ Zend Guard Loader requires Zend Engine API version 220090626.
002+ The Zend Engine API version 220131226 which is installed, is newer.
003+ Contact Zend Technologies at http://www.zend.com/ for a later version of Zend Guard Loader.
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+ PHP Fatal error: Directive 'magic_quotes_gpc' is no longer available in PHP in Unknown on line 0
005- Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in %s on line %d
007+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /root/Updates/php-5.6.33/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
1 (1%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /usr/local/src/php-5.6.33/ext/openssl/tests/ServerClientTestCase.inc(92) : 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
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
1 (1%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /usr/local/php/source/php-5.6.33/ext/openssl/tests/ServerClientTestCase.inc(92) : 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
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