Skip to content

feat(acme): wildcard DNS-01 certificates, shared HTTP code, acme-dns docs - #5

Merged
debiansid merged 4 commits into
devfrom
feat/acme-dns-followups
Nov 17, 2026
Merged

debiansid merged 4 commits into
devfrom
feat/acme-dns-followups

Conversation

@debiansid

Copy link
Copy Markdown

Follow-ups from the PR #4 review.

  • Wildcards: *.name domains are accepted with the acme_dns challenge only. A TLS target matches a wildcard source when its SNI is exactly one label under it (*.example.com covers a.example.com, not example.com or a.b.example.com).
  • Refactor: the ACME client and the acme-dns client now share one HTTP/1 request helper (send_http1). acme-dns responses also get the 32 KiB header cap.
  • Docs: the English and zh-cn certificate pages document the acme_dns challenge, 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

debiansid and others added 4 commits November 17, 2026 23:28
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>
@debiansid
debiansid merged commit fb3b6cb into dev Nov 17, 2026
32 of 33 checks passed
@debiansid
debiansid deleted the feat/acme-dns-followups branch November 17, 2026 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant