One Certificate, One Front Door
Why every lab name goes through one proxy with one wildcard certificate that renews itself, and what that replaced.
Published November 20, 2026
Decided in September 2026.
Certificates are the kind of chore that works fine until the week you forget one.
Every web page in the lab now goes through one small proxy, Caddy. It holds one wildcard certificate and renews it by itself. I do not handle certificate files any more.
What I Did Before
The older pages cover three ways to do this: an Nginx reverse proxy with a wildcard certificate from Certbot, grouped SAN certificates, and one certificate per service with acme.sh. Traefik is there as the container-native alternative, and Secure Service Exposure On Proxmox compares them all.
All of them work.
Every one of them also left me with certificates to place and renewals to watch.
Why I Changed It
Certificate lifetimes are getting shorter. Let's Encrypt issues 90-day certificates today, moves its default to 64 days on 10 February 2027, and to 45 days on 16 February 2028.1
So anything I renew by hand comes round twice as often.
And a missed renewal is not a quiet failure. It is an outage and a browser warning, on whichever service I forgot.
What I Chose
- One proxy holds one token. Caddy has a single API token for my DNS provider, limited to editing records in one zone.
- The certificate is proved through DNS. Caddy places a TXT record, and the certificate authority checks that record instead of connecting to my server.2
- So nothing has to be open. This is the challenge that works for servers that are not exposed to the internet, and the only one that issues wildcard certificates.3
- One wildcard covers every name. Let's Encrypt submits every certificate it issues to public logs.4 With a wildcard, those logs show one name, not a list of what I run.
- Renewal is Caddy's job. By default it starts renewing when a third of the lifetime is left.5 Shorter lifetimes change nothing here.
Every lab name resolves to Caddy, and Caddy passes each name to exactly one backend. Admin pages answer admin sources only. A few household pages also answer the home Wi-Fi. Everything else is refused.
What I Turned Down
Proving the certificate over HTTP. That challenge needs port 80 reachable from the internet, and it cannot issue a wildcard.3 I was not going to open a port to the internet for the sake of a certificate.
A certificate per service. More objects to track, and every service name would appear in the public logs.
What It Costs Me
- One key covers everything. If the proxy is broken into, every name is affected.
- There is one front door. Caddy runs on one node, and while that node is down, the lab's names do not answer.
- My DNS provider is in the renewal path. If its API is away for long enough, renewal waits.
What This Is Not For
Nothing here is published to the internet.
If I ever publish a service, it gets a path of its own: a tunnel into a separate network segment. Not a hole in this one.
Related Topics
- Why The Lab Is Built This Way - the other decisions.
- Tailscale, And No Open Ports - how I reach the front door from away.
- Homelab Drawing Set - the front door on the services sheet.
- Secure Service Exposure On Proxmox - the earlier options compared.
Footnotes
-
Let's Encrypt, "Decreasing Certificate Lifetimes to 45 Days", 2 December 2025, "Timeline of Changes". ↩
-
RFC 8555, section 8.4 defines the DNS-01 challenge: the certificate authority checks a TXT record under
_acme-challengeinstead of connecting to the server. ↩ -
Let's Encrypt, "Challenge Types": DNS-01 can validate names whose web servers are not exposed to the public internet and can issue wildcard certificates; HTTP-01 can only be done on port 80 and cannot issue wildcards. ↩ ↩2
-
Caddy, the
tlsdirective:renewal_window_ratiodefaults to 0.3333, so a 90-day certificate is renewed when 30 days or less remain. ↩