test(@stdlib/net/http2-secure-server): renew expired TLS certificates#12527
test(@stdlib/net/http2-secure-server): renew expired TLS certificates#12527Planeshifter wants to merge 1 commit into
Conversation
The self-signed localhost certificate used in test fixtures and examples expired on September 15, 2025. Regenerated both keypairs with a 10-year validity (expiring June 1, 2036) and a subjectAltName extension covering DNS:localhost and IP:127.0.0.1 so that Node.js TLS validation passes. https://claude.ai/code/session_0118Tf2BgppBbjHwYRXjD3oP
|
Hello! Thank you for your contribution to stdlib. We noticed that the contributing guidelines acknowledgment is missing from your pull request. Here's what you need to do:
This acknowledgment confirms that you've read the guidelines, which include:
We can't review or accept contributions without this acknowledgment. Thank you for your understanding and cooperation. We look forward to reviewing your contribution! |
Coverage Report
The above coverage report was generated for the changes in this PR. |
|
Closing as a duplicate — this same certificate-renewal fix has been re-opened by a later automated CI-failure triage run (#13330) without checking for prior open PRs first. Consolidating onto #13330, which includes an end-to-end validation of the regenerated certificate against the actual test connection pattern. Apologies for the noise. Generated by Claude Code |
Description
The self-signed localhost certificate used in test fixtures and examples for
@stdlib/net/http2-secure-serverexpired on September 15, 2025. Node.js TLS validation rejects the expired certificate, causing the test suite to fail in CI.This PR regenerates both keypairs (test fixtures and examples) with:
CN=localhostDNS:localhost, IP:127.0.0.1(required for modern TLS hostname validation)Files changed
test/fixtures/localhost-cert.pemnotAfter=Sep 15 2025)test/fixtures/localhost-privkey.pemexamples/localhost-cert.pemnotAfter=Sep 15 2025)examples/localhost-privkey.pemRoot cause
The original certificates were generated with a 30-day validity period and expired ~8 months ago. No code logic changes are needed — only the certificate material itself.
Related Issues
CI failures on the
developbranch: test suite for@stdlib/net/http2-secure-serverexits with TLSCERT_HAS_EXPIREDerrors.Questions