test(@stdlib/net/http2-secure-server): renew expired TLS certificates#12527
Draft
Planeshifter wants to merge 1 commit into
Draft
test(@stdlib/net/http2-secure-server): renew expired TLS certificates#12527Planeshifter wants to merge 1 commit into
Planeshifter 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
Contributor
|
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! |
Contributor
Coverage Report
The above coverage report was generated for the changes in this PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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