Skip to content

Commit 7f31357

Browse files
morrisonleviclaude
andcommitted
ci: xfail bug74796 and fix README for expired openssl certs
Add bug74796.phpt to 8.3-8.5 xfail lists (same expired cert root cause as sni_server tests). Also update README to include it and drop inaccurate wording. Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
1 parent a982cc3 commit 7f31357

4 files changed

Lines changed: 6 additions & 3 deletions

File tree

dockerfiles/ci/xfail_tests/8.3.list

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ ext/openssl/tests/peer_verification.phpt
7777
ext/openssl/tests/san_peer_matching.phpt
7878
ext/openssl/tests/sni_server.phpt
7979
ext/openssl/tests/sni_server_key_cert.phpt
80+
ext/openssl/tests/bug74796.phpt
8081
ext/openssl/tests/session_meta_capture.phpt
8182
ext/openssl/tests/session_meta_capture_tlsv13.phpt
8283
ext/openssl/tests/stream_crypto_flags_001.phpt

dockerfiles/ci/xfail_tests/8.4.list

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ ext/openssl/tests/peer_verification.phpt
8080
ext/openssl/tests/san_peer_matching.phpt
8181
ext/openssl/tests/sni_server.phpt
8282
ext/openssl/tests/sni_server_key_cert.phpt
83+
ext/openssl/tests/bug74796.phpt
8384
ext/openssl/tests/session_meta_capture.phpt
8485
ext/openssl/tests/session_meta_capture_tlsv13.phpt
8586
ext/openssl/tests/stream_crypto_flags_001.phpt

dockerfiles/ci/xfail_tests/8.5.list

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ ext/openssl/tests/peer_verification.phpt
8181
ext/openssl/tests/san_peer_matching.phpt
8282
ext/openssl/tests/sni_server.phpt
8383
ext/openssl/tests/sni_server_key_cert.phpt
84+
ext/openssl/tests/bug74796.phpt
8485
ext/openssl/tests/session_meta_capture.phpt
8586
ext/openssl/tests/session_meta_capture_tlsv13.phpt
8687
ext/openssl/tests/stream_crypto_flags_001.phpt

dockerfiles/ci/xfail_tests/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -242,9 +242,9 @@ Disabled on versions: `8.1+`.
242242

243243
This test checks PHP's handling of excessively large QName prefix in SoapVar (a stress test for edge cases). With ddtrace loaded, the additional memory overhead causes the test to be killed before it can complete, due to hitting memory limits during the stress test.
244244

245-
## `ext/openssl/tests/sni_server.phpt`, `ext/openssl/tests/sni_server_key_cert.phpt`
245+
## `ext/openssl/tests/sni_server.phpt`, `ext/openssl/tests/sni_server_key_cert.phpt`, `ext/openssl/tests/bug74796.phpt`
246246

247-
Disabled on all versions.
247+
Disabled on all versions (where present).
248248

249-
The bundled test certificates (`sni_server_*.pem`) expired on 2026-04-02. The TLS handshake fails because the client rejects the expired server certificates, causing `stream_socket_client` to return `false`. PHP 8.2–8.5 are the maintained branches and should receive a fix once upstream regenerates the certificates; remove the xfail entries for those versions when they do.
249+
The bundled test certificates expired on 2026-04-02. The TLS handshake fails because the client rejects the expired server certificates, causing `stream_socket_client` to return `false`.
250250

0 commit comments

Comments
 (0)