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

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

Count Diff
2 (8%)
001+ Warning: stream_socket_client(): SSL: Success in /home/kawai/src/php-7.3.7/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
001- Warning: stream_socket_client(): Peer certificate CN=`bug54992_actual_peer_name' did not match expected CN=`bug54992_expected_peer_name' in %s on line %d
1 (4%)
001+ Failed loading /opt/php73/lib/php/modules/ioncube_loader_lin_7.3.so: /opt/php73/lib/php/modules/ioncube_loader_lin_7.3.so: cannot open shared object file: No such file or directory
002+ Failed loading /opt/php73/lib/php/modules/opcache.so: /opt/php73/lib/php/modules/opcache.so: cannot open shared object file: No such file or directory
003+ PHP Warning: PHP Startup: Unable to load dynamic library 'mysqlnd.so' (tried: /opt/php73/lib/php/20180731/mysqlnd.so (/opt/php73/lib/php/20180731/mysqlnd.so: cannot open shared object file: No such file or directory), /opt/php73/lib/php/20180731/mysqlnd.so.so (/opt/php73/lib/php/20180731/mysqlnd.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 'pdo.so' (tried: /opt/php73/lib/php/20180731/pdo.so (/opt/php73/lib/php/20180731/pdo.so: cannot open shared object file: No such file or directory), /opt/php73/lib/php/20180731/pdo.so.so (/opt/php73/lib/php/20180731/pdo.so.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 'gd.so' (tried: /opt/php73/lib/php/20180731/gd.so (/opt/php73/lib/php/20180731/gd.so: cannot open shared object file: No such file or directory), /opt/php73/lib/php/20180731/gd.so.so (/opt/php73/lib/php/20180731/gd.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 'pdo_mysql.so' (tried: /opt/php73/lib/php/20180731/pdo_mysql.so (/opt/php73/lib/php/20180731/pdo_mysql.so: cannot open shared object file: No such file or directory), /opt/php73/lib/php/20180731/pdo_mysql.so.so (/opt/php73/lib/php/20180731/pdo_mysql.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
007+ PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/php73/lib/php/20180731/imagick.so (/opt/php73/lib/php/20180731/imagick.so: cannot open shared object file: No such file or directory), /opt/php73/lib/php/20180731/imagick.so.so (/opt/php73/lib/php/20180731/imagick.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 'mysqli.so' (tried: /opt/php73/lib/php/20180731/mysqli.so (/opt/php73/lib/php/20180731/mysqli.so: cannot open shared object file: No such file or directory), /opt/php73/lib/php/20180731/mysqli.so.so (/opt/php73/lib/php/20180731/mysqli.so.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 'pdo_pgsql.so' (tried: /opt/php73/lib/php/20180731/pdo_pgsql.so (/opt/php73/lib/php/20180731/pdo_pgsql.so: cannot open shared object file: No such file or directory), /opt/php73/lib/php/20180731/pdo_pgsql.so.so (/opt/php73/lib/php/20180731/pdo_pgsql.so.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 'pdo_sqlite.so' (tried: /opt/php73/lib/php/20180731/pdo_sqlite.so (/opt/php73/lib/php/20180731/pdo_sqlite.so: cannot open shared object file: No such file or directory), /opt/php73/lib/php/20180731/pdo_sqlite.so.so (/opt/php73/lib/php/20180731/pdo_sqlite.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_actual_peer_name' did not match expected CN=`bug54992_expected_peer_name' in %s on line %d
012+ Warning: stream_socket_client(): Peer certificate CN=`bug54992_actual_peer_name' did not match expected CN=`bug54992_expected_peer_name' in /var/www/zerohold/data/2/php-7.3.7/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
013+
1 (4%)
001+ PHP Warning: Module 'sockets' already loaded in Unknown on line 0
002+
1 (4%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'curl' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/curl (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/curl: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/curl.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/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 'gmp' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/gmp (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/gmp: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/gmp.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/gmp.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_actual_peer_name' did not match expected CN=`bug54992_expected_peer_name' 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 /home/phpmt/php-src/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
1 (4%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'libsodium.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/libsodium.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/libsodium.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/libsodium.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/libsodium.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 'phalcon.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/phalcon.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/phalcon.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/phalcon.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/phalcon.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/local/lib/php/extensions/no-debug-non-zts-20180731/memcached.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/memcached.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/memcached.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/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_actual_peer_name' did not match expected CN=`bug54992_expected_peer_name' 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
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /payload1/src/php7/php-7.3.7/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
1 (4%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'memcached.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/memcached.so (Cannot open "/usr/local/lib/php/extensions/no-debug-zts-20180731/memcached.so"), /usr/local/lib/php/extensions/no-debug-zts-20180731/memcached.so.so (Cannot open "/usr/local/lib/php/extensions/no-debug-zts-20180731/memcached.so.so")) 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-20180731/apcu.so (Cannot open "/usr/local/lib/php/extensions/no-debug-zts-20180731/apcu.so"), /usr/local/lib/php/extensions/no-debug-zts-20180731/apcu.so.so (Cannot open "/usr/local/lib/php/extensions/no-debug-zts-20180731/apcu.so.so")) in Unknown on line 0
003+ PHP Warning: PHP Startup: Unable to load dynamic library 'redis.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/redis.so (Cannot open "/usr/local/lib/php/extensions/no-debug-zts-20180731/redis.so"), /usr/local/lib/php/extensions/no-debug-zts-20180731/redis.so.so (Cannot open "/usr/local/lib/php/extensions/no-debug-zts-20180731/redis.so.so")) in Unknown on line 0
004+ PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/intl.so (Cannot open "/usr/local/lib/php/extensions/no-debug-zts-20180731/intl.so"), /usr/local/lib/php/extensions/no-debug-zts-20180731/intl.so.so (Cannot open "/usr/local/lib/php/extensions/no-debug-zts-20180731/intl.so.so")) in Unknown on line 0
005+ PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/imagick.so (Cannot open "/usr/local/lib/php/extensions/no-debug-zts-20180731/imagick.so"), /usr/local/lib/php/extensions/no-debug-zts-20180731/imagick.so.so (Cannot open "/usr/local/lib/php/extensions/no-debug-zts-20180731/imagick.so.so")) in Unknown on line 0
006+ PHP Warning: PHP Startup: Unable to load dynamic library 'lzf.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/lzf.so (Cannot open "/usr/local/lib/php/extensions/no-debug-zts-20180731/lzf.so"), /usr/local/lib/php/extensions/no-debug-zts-20180731/lzf.so.so (Cannot open "/usr/local/lib/php/extensions/no-debug-zts-20180731/lzf.so.so")) in Unknown on line 0
007+ PHP Warning: PHP Startup: Unable to load dynamic library 'horde_lz4.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/horde_lz4.so (Cannot open "/usr/local/lib/php/extensions/no-debug-zts-20180731/horde_lz4.so"), /usr/local/lib/php/extensions/no-debug-zts-20180731/horde_lz4.so.so (Cannot open "/usr/local/lib/php/extensions/no-debug-zts-20180731/horde_lz4.so.so")) in Unknown on line 0
008+ PHP Warning: PHP Startup: Unable to load dynamic library 'igbinary.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/igbinary.so (Cannot open "/usr/local/lib/php/extensions/no-debug-zts-20180731/igbinary.so"), /usr/local/lib/php/extensions/no-debug-zts-20180731/igbinary.so.so (Cannot open "/usr/local/lib/php/extensions/no-debug-zts-20180731/igbinary.so.so")) in Unknown on line 0
001- Warning: stream_socket_client(): Peer certificate CN=`bug54992_actual_peer_name' did not match expected CN=`bug54992_expected_peer_name' 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
010+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /usr/local/src/phpfile/php-7.3.7/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
1 (4%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'oauth' (tried: /home/andres/apps/php/lib/php/extensions/no-debug-non-zts-20180731/oauth (/home/andres/apps/php/lib/php/extensions/no-debug-non-zts-20180731/oauth: cannot open shared object file: No such file or directory), /home/andres/apps/php/lib/php/extensions/no-debug-non-zts-20180731/oauth.so (/home/andres/apps/php/lib/php/extensions/no-debug-non-zts-20180731/oauth.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_actual_peer_name' did not match expected CN=`bug54992_expected_peer_name' in %s on line %d
003+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/andres/Descargas/php-src/ext/openssl/tests/ServerClientTestCase.inc(130) : 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 (4%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'openssl' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/openssl (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/openssl: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/openssl.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/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_actual_peer_name' did not match expected CN=`bug54992_expected_peer_name' in %s on line %d
003+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/chad/Downloads/php-7.3.7/ext/openssl/tests/ServerClientTestCase.inc(130) : 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 (4%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'php_curl.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/php_curl.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/php_curl.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/php_curl.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/php_curl.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 'php_mbstring.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/php_mbstring.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/php_mbstring.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/php_mbstring.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/php_mbstring.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 'php_openssl.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/php_openssl.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/php_openssl.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/php_openssl.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/php_openssl.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
004+ PHP Deprecated: Directive 'track_errors' is deprecated in Unknown on line 0
001- Warning: stream_socket_client(): Peer certificate CN=`bug54992_actual_peer_name' did not match expected CN=`bug54992_expected_peer_name' 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 /home/hiroz/src/php-7.3.7/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
1 (4%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'sockets' (tried: /usr/local/php-7.3.7/lib/php/extensions/no-debug-non-zts-20180731/sockets (/usr/local/php-7.3.7/lib/php/extensions/no-debug-non-zts-20180731/sockets: cannot open shared object file: No such file or directory), /usr/local/php-7.3.7/lib/php/extensions/no-debug-non-zts-20180731/sockets.so (/usr/local/php-7.3.7/lib/php/extensions/no-debug-non-zts-20180731/sockets.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_actual_peer_name' did not match expected CN=`bug54992_expected_peer_name' in %s on line %d
003+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /root/software/php-7.3.7/ext/openssl/tests/ServerClientTestCase.inc(130) : 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 (4%)
001+ PHP Warning: PHP Startup: ssh2: Unable to initialize module
002+ Module compiled with module API=20170718
003+ PHP compiled with module API=20180731
004+ These options need to match
005+ in Unknown on line 0
001- Warning: stream_socket_client(): Peer certificate CN=`bug54992_actual_peer_name' did not match expected CN=`bug54992_expected_peer_name' 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
007+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /usr/src/php/php-7.3.7/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
1 (4%)
001+ PHP Warning: PHP Startup: ssh2: Unable to initialize module
002+ Module compiled with module API=20170718
003+ PHP compiled with module API=20180731
004+ These options need to match
005+ in Unknown on line 0
006+
1 (4%)
001+ Warning: openssl_pkey_new(): unable to write random state in /home/piddubnij/Downloads/php-7.3.7/ext/openssl/tests/CertificateGenerator.inc on line 40
002+
003+ Warning: openssl_pkey_new(): unable to write random state in /home/piddubnij/Downloads/php-7.3.7/ext/openssl/tests/CertificateGenerator.inc on line 40
004+ PHP Warning: PHP Startup: Unable to load dynamic library 'sodium' (tried: /opt/lampp/lib/php/extensions/no-debug-non-zts-20180731/sodium (/opt/lampp/lib/php/extensions/no-debug-non-zts-20180731/sodium: cannot open shared object file: No such file or directory), /opt/lampp/lib/php/extensions/no-debug-non-zts-20180731/sodium.so (/opt/lampp/lib/php/extensions/no-debug-non-zts-20180731/sodium.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
005+
1 (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/src/php-7.3.7/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
001- Warning: stream_socket_client(): Peer certificate CN=`bug54992_actual_peer_name' did not match expected CN=`bug54992_expected_peer_name' in %s on line %d
1 (4%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /data/php-7.3.7/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
001- Warning: stream_socket_client(): Peer certificate CN=`bug54992_actual_peer_name' did not match expected CN=`bug54992_expected_peer_name' in %s on line %d
1 (4%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /home/kawai/src/php-7.3.7/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
001- Warning: stream_socket_client(): Peer certificate CN=`bug54992_actual_peer_name' did not match expected CN=`bug54992_expected_peer_name' in %s on line %d
1 (4%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/src/php-7.3.7/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
001- Warning: stream_socket_client(): Peer certificate CN=`bug54992_actual_peer_name' did not match expected CN=`bug54992_expected_peer_name' in %s on line %d
1 (4%)
001+ Warning: stream_socket_client(): SSL: Success in /home/wanfang/work/php7/php-7.3.7/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
001- Warning: stream_socket_client(): Peer certificate CN=`bug54992_actual_peer_name' did not match expected CN=`bug54992_expected_peer_name' in %s on line %d
1 (4%)
001+ Warning: stream_socket_client(): SSL: Success in /root/php-7.3.7/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
001- Warning: stream_socket_client(): Peer certificate CN=`bug54992_actual_peer_name' did not match expected CN=`bug54992_expected_peer_name' in %s on line %d
1 (4%)
001+ Warning: stream_socket_client(): SSL: Success in /usr/local/src/php-7.3.7/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
001- Warning: stream_socket_client(): Peer certificate CN=`bug54992_actual_peer_name' did not match expected CN=`bug54992_expected_peer_name' in %s on line %d
1 (4%)
001+ Warning: stream_socket_client(): SSL: Success in /usr/local/src/php/php-7.3.7/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
001- Warning: stream_socket_client(): Peer certificate CN=`bug54992_actual_peer_name' did not match expected CN=`bug54992_expected_peer_name' in %s on line %d