Skip to content

Test ext/openssl/tests/bug74022.phpt failed on openssl 3.0.6 #9733

Closed as not planned
@andypost

Description

@andypost

Description

The following test fails on all arches when building new RC for 8.1.12 using OpenSSL 3.0.6

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

Ref https://gitlab.alpinelinux.org/alpine/aports/-/jobs/870313

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions