Repository navigation
feat(acme): wildcard DNS-01 certificates, shared HTTP code, acme-dns docs - #5
Merged
Merged
Conversation
Move the handshake, request/connection select, 32 KiB header cap and 1 MiB body limit into send_http1; the ACME client records response metadata through its on_head hook. acme-dns now also gets the header cap. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Accept '*.name' only for DNS-01, which is the only challenge that can prove control of a wildcard. TLS targets match a wildcard source when their SNI is exactly one label under it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Follow-ups from the PR #4 review.
*.namedomains are accepted with theacme_dnschallenge only. A TLS target matches a wildcard source when its SNI is exactly one label under it (*.example.comcoversa.example.com, notexample.comora.b.example.com).send_http1). acme-dns responses also get the 32 KiB header cap.acme_dnschallenge, the 2-domain limit, the 300 s delay limit and wildcards, and no longer say DNS-01 is unsupported.Tests:
cargo test --lib(2902 passed) and the CI clippy command both pass locally.Not covered: wildcard issuance end-to-end. The mock CA only handles the single name
proxy.test.🤖 Generated with Claude Code