Wildcard certificate per target domain (DNS-01) #2
Loading…
Reference in a new issue
No description provided.
Delete branch "wildcard-tls"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The operator revised the certificate decision: the hosting server now uses one wildcard certificate per target domain, obtained with the DNS-01 challenge, instead of one certificate per site.
deploy/Caddyfile:auto_https prefer_wildcard;import /etc/caddy/tls.caddy;*.aivopod-sites.eublock withimport tls_wildcardthat answers the 404 page for hosts without a host file;deploy/tls.caddy.example: thetls_wildcardsnippet withdns <provider>. Caddy is built with xcaddy and the provider's module; credentials come from caddy.service's environment.ci/caddy_validate.sh: stubs the snippet withtls internal.<target>means in the per-target import.Host files, rendering and tests are unchanged.
Checked locally with Caddy 2.10.2 (
tls internalin place of the DNS issuer):auth.are served withDNS:*.aivopod-sites.eu, and an unknown host answers 404.caddy validatepasses with all golden host files.🤖 Generated with Claude Code
https://claude.ai/code/session_01PVUe4eShm8JT4LPt8MJdXT