Test: /ext/openssl/tests/bug69215.phpt - Version 7.4.11        

Bug #69215 Cannot specify client CA list in SSL stream context
Submitted: 2015-03-10 17:10:21 Modified: 2015-04-23 02:40:46
From: fabien.menager Assigned: rdlowrey
Status: Closed Package: OpenSSL related
PHP Version: Irrelevant OS: All

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

Count Diff
1 (13%)
001+ Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: 001- resource(%d) of type (stream) 002+ error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in /usr/src/php-7.4.11/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 13 003+ 004+ Warning: stream_socket_client(): Failed to enable crypto in /usr/src/php-7.4.11/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 13 005+ 006+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/src/php-7.4.11/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 13 007+ bool(false)
1 (13%)
001+ Warning: openssl_x509_export_to_file(): cannot get cert from parameter 1 in /data/php-7.4.11/ext/openssl/tests/CertificateGenerator.inc on line 82 001- resource(%d) of type (stream) 002+ 003+ Warning: openssl_csr_new(): private key length is too short; it needs to be at least 384 bits, not 0 in /data/php-7.4.11/ext/openssl/tests/CertificateGenerator.inc on line 128 004+ 005+ Warning: openssl_csr_new(): Unable to generate a private key in /data/php-7.4.11/ext/openssl/tests/CertificateGenerator.inc on line 128 006+ 007+ Warning: openssl_csr_sign(): cannot get CSR from parameter 1 in /data/php-7.4.11/ext/openssl/tests/CertificateGenerator.inc on line 132 008+ 009+ Fatal error: Uncaught Exception: Failed to create certificate in /data/php-7.4.11/ext/openssl/tests/CertificateGenerator.inc:135 010+ Stack trace: 011+ #0 %s/bug69215.php(44): CertificateGenerator->saveNewCertAsFileWithKey('bug69215-client', '/data/php-7.4.1...') 012+ #1 {main} 013+ thrown in /data/php-7.4.11/ext/openssl/tests/CertificateGenerator.inc on line 135
1 (13%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'redis.so' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20190902/redis.so (/usr/local/php/lib/php/extensions/no-debug-zts-20190902/redis.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-zts-20190902/redis.so.so (/usr/local/php/lib/php/extensions/no-debug-zts-20190902/redis.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (13%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_mysql' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/pdo_mysql (/usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/pdo_mysql: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/pdo_mysql.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/pdo_mysql.so: undefined symbol: mysqlnd_allocator)) in Unknown on line 0
1 (13%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'openssl' (tried: ./openssl (./openssl: cannot open shared object file: No such file or directory), ./openssl.so (./openssl.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 001- resource(%d) of type (stream) 002+ 003+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/dell/Downloads/php-7.4.11/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 13 004+ bool(false) 005+ PHP Notice: fwrite(): write of 1 bytes failed with errno=32 Broken pipe in /home/dell/Downloads/php-7.4.11/ext/openssl/tests/ServerClientTestCase.inc on line 158
1 (13%)
001+ PHP Warning: Module 'curl' already loaded in Unknown on line 0 002+ PHP Warning: Module 'gd' already loaded in Unknown on line 0 003+ PHP Warning: Module 'mbstring' already loaded in Unknown on line 0 004+ PHP Warning: Module 'mysqli' already loaded in Unknown on line 0 005+ PHP Warning: Module 'openssl' already loaded in Unknown on line 0 006+ PHP Warning: Module 'soap' already loaded in Unknown on line 0 007+ PHP Warning: Module 'xmlrpc' already loaded in Unknown on line 0 008+ PHP Warning: Module 'zip' already loaded in Unknown on line 0 009+ PHP Warning: Module 'zlib' already loaded in Unknown on line 0
1 (13%)
001+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/local/dso/php/lib/php/extensions/no-debug-zts-20190902/opcache.so (/usr/local/dso/php/lib/php/extensions/no-debug-zts-20190902/opcache.so: cannot open shared object file: No such file or directory), /usr/local/dso/php/lib/php/extensions/no-debug-zts-20190902/opcache.so.so (/usr/local/dso/php/lib/php/extensions/no-debug-zts-20190902/opcache.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (13%)
001+ Failed loading /alidata/server/php/lib/php/extensions/no-debug-non-zts-20121212/ZendGuardLoader.so: /alidata/server/php/lib/php/extensions/no-debug-non-zts-20121212/ZendGuardLoader.so: undefined symbol: _zval_ptr_dtor 002+ PHP Warning: PHP Startup: Unable to load dynamic library 'memcache.so' (tried: /alidata/server/php/lib/php/extensions/no-debug-non-zts-20121212/memcache.so (/alidata/server/php/lib/php/extensions/no-debug-non-zts-20121212/memcache.so: undefined symbol: zval_used_for_init), /alidata/server/php/lib/php/extensions/no-debug-non-zts-20121212/memcache.so.so (/alidata/server/php/lib/php/extensions/no-debug-non-zts-20121212/memcache.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0