Picked up by the platform builder (from 8a3d302, on Paul's go). Branch: precert-dns01-1293. Rough date: built, reviewed and merged by 2026-11-24. Release and the Tito rollout are Paul's go.
1. Certificates before DNS moves (building now)
Why 11-19 failed: an attached name that doesn't point at us yet is never published to control/edges/, so the issuer (annie-fermenting) never heard of billing.tito.io until the home box's next DNS check stamped it "pointing" (a 5 to 7 minute cadence), and only then ordered over HTTP-01. IE had nothing to serve meanwhile.
The change:
- A new deployment setting,
CARLOS_DNS01_ZONES(comma list, e.g.tito.io). Unset, nothing changes. - The issuer reads the claims in the deployment bucket every minute (one listing; bodies only when they change). For each proven claim whose hostname is inside a listed zone, isn't covered by a wildcard, and has no current certificate, it orders one over DNS-01, writing the challenge TXT through the deployment's DNS provider. Tito production already has one: Route 53, which issues
*.go.tito.iotoday. - The certificate is stored as an ordinary per-host certificate in
control/certs/<host>, so every edge, the home box included, serves it straight away, whatever DNS says. carlos domains listtells you when a hostname that still points elsewhere has its certificate ready, so you know the switch is safe.- Renewals for those names also go over DNS-01, a week before autocert's HTTP-01 renewal would start, and HTTP-01 stays as the fallback.
- Limits: at most 5 orders per pass, a 1-hour backoff per name after a failure, 12 hours if the provider doesn't hold the zone.
Tito's recipe once released: set CARLOS_DNS01_ZONES=tito.io in host.env on every box (any box can become the issuer), attach as before, wait for the list to say the certificate is ready (about 2 minutes), then switch DNS. Is ti.to in the same Route 53 account? If so, list it too.
2. Wildcards for tito.events and tito.page (works today)
CARLOS does wildcard certificates over DNS-01 with delegation, so the zone can stay at DNSimple and CARLOS never needs DNSimple credentials:
- The deployment needs
CARLOS_ACME_DELEGATION_ZONEset to a zone its own provider writes (on Tito, a Route 53 zone). If Tito production doesn't set it yet, that is one host.env line. - In DNSimple, create
_acme-challenge.tito.events CNAME _acme-challenge.tito.events.<delegation zone>. carlos domains attach tito.events --app <app> --wildcard --catchall. The attach refuses with the exact CNAME if step 2 is missing.
The certificate covers *.tito.events, not the bare tito.events. It is issued before any DNS moves, so the wildcard has no gap either.
3. About 70 customer domains (works today, with a gap per name)
HTTP-01 once the customer's name points at CARLOS is the ordinary custom-domain path. A customer CNAME to a Tito-controlled name is fine: the check follows the chain and looks for an edge address at the end. The cost is a gap: each name gets its certificate a few minutes after it starts pointing at CARLOS (the 5 to 7 minute check, then about a minute to issue). If one shared target moves all 70 at once, all 70 have that gap together.
For a switch with no gap there, the options are a certificate import (bring cert-manager's current certificates across; not built), or moving customers in small batches behind separate targets. I'd suggest deciding after billing and Classic are across; I'll raise it with Paul then.