[php-src] Issue #9733: Test ext/openssl/tests/bug74022.phpt failed on openssl 3.0.5
| From: | andypost | Date: | Wed, 12 Oct 2022 10:12:53 +0000 |
| Subject: | [php-src] Issue #9733: Test ext/openssl/tests/bug74022.phpt failed on openssl 3.0.5 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-242581@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/9733
Author: andypost
### Description
The following test fails on all arches when building new RC for 8.1.12 using OpenSSL 3.0.5
```
TEST 1/1 [ext/openssl/tests/bug74022.phpt]
========DIFF========
bool(true)
002+ string(65) "error:05880106:x509 certificate routines::passed invalid argument"
002- bool(false)
========DONE========
```
Probably configuration of openssl is verbose somehow
Used to access the key
```
~/aports/community/php81 $ openssl verify src/php-8.1.12RC1/ext/openssl/tests/bug74022.pfx
Enter pass phrase for PKCS12 import pass phrase:
C = IN, ST = UK, L = NOIDA, O = SPACE, OU = ENTER, CN = Chandra Kishor, emailAddress =
ckmailid@gmail.com
error 18 at 0 depth lookup: self-signed certificate
C = IN, ST = UK, L = NOIDA, O = SPACE, OU = ENTER, CN = Chandra Kishor, emailAddress =
ckmailid@gmail.com
error 10 at 0 depth lookup: certificate has expired
error src/php-8.1.12RC1/ext/openssl/tests/bug74022.pfx: verification failed
```
### PHP Version
PHP 8.1.12RC1
### Operating System
Alpinelinux