DEV Community

errorbudget
errorbudget

Posted on Originally published at errorbudget.io

47-day TLS certificates: a migration plan before renewals become a weekly outage risk

For most of the last decade, a public TLS certificate lasted about a year. Someone bought it, installed it, put a reminder in a calendar and forgot about it for eleven months. That model ends on a published schedule.

In April 2025 the CA/Browser Forum, the body of certificate authorities and browser makers that sets the rules for public certificates, passed ballot SC-081. It cuts the maximum lifetime of a public TLS certificate from 398 days to 47 days in three steps, and cuts how long a CA may reuse a domain validation from 398 days to 10. The first step took effect in March 2026. The next one lands on 15 March 2027.

At 47 days, a certificate renewed with a sensible safety margin is replaced about twelve times a year. Multiply that by every certificate on your load balancers, API gateways, VPN concentrators, mail gateways and partner connections, and manual renewal stops being a chore and becomes a guaranteed incident. This article is a migration plan for the people who will own those incidents: what changes when, what breaks first, how to find every certificate you have, and how to automate renewal without losing change control.

The schedule

These are the limits for publicly trusted TLS certificates under SC-081:

From Maximum certificate lifetime Maximum reuse of domain validation
Before 15 March 2026 398 days 398 days
15 March 2026 200 days 200 days
15 March 2027 100 days 100 days
15 March 2029 47 days 10 days

Validation of organisation details in OV and EV certificates can also be reused for only 398 days from March 2026, down from 825. Certificates issued before each date keep their original expiry, so the effect arrives gradually as each certificate comes up for renewal.

Some CAs move a little earlier than the deadline. DigiCert, for example, started issuing certificates with a 199-day maximum on 24 February 2026, one day under the limit, to make sure no certificate exceeds it.

Let's Encrypt, which already issued 90-day certificates, is moving faster than the rules require:

Date Let's Encrypt change
13 May 2026 Opt-in tlsserver profile issues 45-day certificates
14 October 2026 64-day certificates in the staging environment
10 February 2027 Default profile issues 64-day certificates; authorization reuse drops to 10 days
16 February 2028 Default profile issues 45-day certificates; authorization reuse drops to 7 hours

If you use Let's Encrypt, your first real deadline is February 2027, not 2029.

Why this is happening

The short version is that revocation does not work well enough. When a private key leaks or a certificate is issued wrongly, the CA can revoke it, but browsers have long been inconsistent about checking revocation. The ballot's argument is that information in a certificate becomes less trustworthy as it ages, and that frequent revalidation is the only dependable fix. A certificate that expires in 47 days limits the damage of one that should have been revoked.

The revocation system itself is also changing. Let's Encrypt shut down its OCSP service on 6 August 2025 and now publishes revocation only through certificate revocation lists. Shorter lifetimes and simpler revocation go together.

None of this is negotiable for operators. Browsers enforce the limits, and a certificate that exceeds them will not be trusted. The only choice is how much of the work you do by hand.

What breaks first

Shorter certificates do not create new failure modes. They make the existing ones happen more often. These are the ones that will hurt.

Manual renewal. A person renewing a certificate makes a mistake perhaps one time in fifty: the wrong file, a missing intermediate, a forgotten second load balancer. At one renewal a year that is rare. At twelve renewals a year across fifty certificates, it is a monthly event.

Hard-coded renewal timing. Many scripts renew "30 days before expiry" or "every 60 days". A fixed 60-day interval fails outright with 45-day certificates. Let's Encrypt suggests searching cron jobs, scripts and runbooks for numbers like 60, 80 and 83 to find these.

Email and manual DNS validation. With domain validation reusable for only 10 days from 2029, nearly every issuance needs fresh proof of control. Clicking a link in an approval email or adding a TXT record by hand twelve times a year per domain does not scale.

Certificates copied onto appliances. Firewalls, VPN gateways, load balancers, mail gateways, storage arrays and payment terminals often get their certificate by someone uploading a file in a web console. Renewal on the ACME client does nothing for the copy on the appliance.

Services that read the key only at start-up. Many Java applications, older web servers and embedded agents load the keystore once. A renewed file on disk changes nothing until the process restarts.

Partners who pin your certificate. Banks and payment partners often configure mutual TLS by importing your exact leaf certificate, sometimes through a change request that takes weeks. A connection set up that way breaks every time you renew.

Change management that treats every renewal as a change. In regulated environments a certificate swap often needs a ticket, an approver and a window. Twelve change requests per certificate per year will either stall the process or teach people to skip it.

Monitoring that only says "expires in 30 days". With a 47-day certificate, every certificate is under 30 days for most of its life. A fixed 30-day warning becomes permanent noise, and the alert that matters, "renewal should have happened by now", never fires.

Step 1: find every certificate you have

You cannot automate what you have not found. Certificates hide in more places than any inventory lists.

Where Examples How to find them
Public endpoints Websites, APIs, customer portals Certificate Transparency logs, external scans
Load balancers and CDNs F5, NetScaler, cloud load balancers, CDN edge certificates The platform's API or console export
Kubernetes Ingress TLS secrets, cert-manager Certificate objects kubectl get certificates -A, secrets of type kubernetes.io/tls
Application keystores Java .jks and .p12 files, .pem files referenced in configs Filesystem search on hosts and images
Appliances VPN gateways, firewalls, mail gateways, backup consoles, storage Vendor console; ask each owner
Partner connections mTLS to banks, card schemes, payment processors Integration documentation, partner contracts
Mail and other protocols SMTP, IMAP, LDAPS, database TLS Port scans with STARTTLS where needed

Start with Certificate Transparency. Every publicly trusted certificate is logged, so the logs show certificates you have forgotten, including ones a team or vendor ordered without telling anyone:

# Every logged certificate for your domain and its subdomains, newest expiry first
curl -s 'https://crt.sh/?q=%25.example.com&output=json' \
  | jq -r '.[] | [.not_after, .issuer_name, .name_value] | @tsv' \
  | sort -ru | head -50
Enter fullscreen mode Exit fullscreen mode

Then check what is actually served, because the certificate a server presents is the one that matters, not the one in your secrets store:

# Expiry, issuer and names of the certificate a host really serves
echo | openssl s_client -connect api.example.com:443 -servername api.example.com 2>/dev/null \
  | openssl x509 -noout -enddate -issuer -ext subjectAltName
Enter fullscreen mode Exit fullscreen mode

For each certificate, record the names it covers, the issuer, where it is deployed (every copy), how it is renewed today, and who owns it. That last column is the one that will matter at 2 a.m.

Step 2: sort certificates into four lanes

Not every certificate should be automated the same way. Sorting them into lanes turns a vague project into a list of jobs.

Lane A: ACME-native. The software can request and renew its own certificate. This includes Caddy, Traefik, cert-manager in Kubernetes, certbot or lego on a host, and managed certificates on most cloud load balancers and CDNs. These are the easy wins: switch them on, test, and stop thinking about them.

Lane B: automatable through an API. The certificate is issued by an ACME client somewhere else and pushed to the device through the device's API: load balancers, some firewalls, CDNs that accept uploaded certificates. Write or adopt a deploy hook that uploads the new certificate, attaches it and verifies the served result. Many vendors publish integrations for common ACME clients.

Lane C: should not be public at all. Internal services, service-to-service traffic, management interfaces and lab systems do not need a publicly trusted certificate. Move them to a private CA, where you set the lifetime and the browsers' rules do not apply. This lane is usually bigger than people expect, and every certificate moved here is one less public renewal.

Lane D: cannot be automated. An appliance with no API and no ACME support, or a partner who insists on manual exchange. For devices, the usual fix is to stop terminating public TLS on them: put a reverse proxy or managed load balancer in front, let it hold the public certificate, and let the device use a long-lived private certificate behind it. For partners, see step 5. Whatever remains in lane D gets an owner, a renewal runbook and a monitor, and goes on the list to remove.

The goal by March 2027 is for lane D to be short enough to name every item in a meeting.

Step 3: automate renewal properly

Switching on ACME is the easy part. The details below are what separate automation that works for years from automation that fails quietly in month three.

Let the CA tell you when to renew. ACME Renewal Information (ARI), standardised in 2025 as RFC 9773, lets the CA suggest a renewal window for each certificate. It spreads renewals out and lets the CA ask for early renewal before a mass revocation. Let's Encrypt recommends it. Check whether your ACME client supports it and turn it on.

Without ARI, renew at about two-thirds of the lifetime. That is Let's Encrypt's own guidance, and it is cert-manager's default behaviour. For a 47-day certificate that is roughly day 31, which leaves about two weeks to notice and fix a failure. Never use a fixed day count that assumes a particular lifetime.

Use DNS-01 with narrow credentials. HTTP-01 validation works for a single web server, but DNS-01 is the only option for wildcards and for hosts that are not reachable from the internet. The risk is the DNS API key: a key that can edit your whole zone is a key that can redirect your whole domain. Two ways to contain it:

  • Use a DNS provider that supports API tokens scoped to one zone, or better, to TXT records only.
  • Delegate validation. Point _acme-challenge.example.com with a CNAME to a record in a separate, low-value zone used only for validation. The ACME client then needs write access to that small zone, not to your production DNS.

Publish a CAA record. CAA records in DNS list which CAs may issue for your domain. With issuance becoming routine, restrict it to the CAs you actually use. CAA can also be tied to a specific ACME account with the accounturi parameter from RFC 8657, so that another account at the same CA cannot issue for you.

Reload, then verify what is served. Every renewal needs a deploy step that makes the running service use the new certificate: a reload signal for nginx or HAProxy, a rolling restart for Java services that read their keystore only at start-up, an API call for appliances. Then check the served certificate's expiry from outside, as in the command above. A renewal is finished when the served certificate changed, not when the file on disk did.

Treat ACME account keys and DNS tokens as secrets. Keep them in your secrets manager, rotate them, and know which systems hold them. A stolen ACME account key cannot steal existing certificates, but a stolen DNS token can be used to get new ones.

Test against staging. Let's Encrypt runs each lifetime change in its staging environment about a month before production. Point a copy of your automation at staging now, and it will meet 64-day and then 45-day certificates before your production systems do.

Step 4: fix change management before it fixes you

In banks and payment companies, change control is not optional, and it should not be. But a process designed for yearly certificate swaps will not survive monthly ones.

The workable pattern is a standard change: the automated renewal process is reviewed and approved once, with its scope, its rollback and its evidence defined, and each individual renewal then runs without a separate ticket. Auditors generally accept this when you can show:

  • The automation itself went through change control, including its code and configuration.
  • Each renewal is logged with the certificate's serial number, names, issuer, time and the systems it was deployed to.
  • Failures alert a named team and are tracked as incidents.
  • Only the automation can request certificates for the covered names, enforced by CAA and scoped credentials.

This is usually a stronger control story than the manual process it replaces, because every renewal leaves the same evidence and nobody handles private keys by hand. Write the standard change now, while the stakes are low and the March 2027 deadline is far enough away to get it approved.

Step 5: rethink mutual TLS with partners

Mutual TLS between companies is where shorter lifetimes cause the most friction, and there is a second change arriving at the same time.

Stop exchanging leaf certificates. If a partner trusts your exact certificate, every renewal is a coordinated change between two companies. Ask partners to trust an issuing CA and check the certificate's subject name instead. Where they insist on pinning, pin the public key and keep the key across renewals rather than pinning the certificate.

Expect public certificates to stop working for client authentication. Chrome's root program requires CAs to issue public TLS certificates for server authentication only. CAs are removing the client authentication purpose from public certificates: DigiCert stopped adding it by default in October 2025 and will remove it entirely on 1 March 2027, after an extension of Chrome's original timeline. Check your own CA's date. If your systems present a public TLS certificate as a client certificate to a partner, that connection needs a different certificate before your CA's cutoff.

Use a private or dedicated PKI for B2B mTLS. The clean answer for both problems is a private CA, or a dedicated non-browser PKI, for client authentication. Its lifetimes are not set by browsers, it can include the client authentication purpose, and both sides can agree on rotation that suits them. In finance, industry PKIs such as the ASC X9 PKI are one option some institutions are evaluating.

Start these conversations early. Partner changes are the slowest item on this list, and the one you control least.

Step 6: monitor the right thing

Expiry monitoring has to change with the lifetimes.

Alert on renewal that did not happen, not on expiry approaching. With a 47-day certificate renewed around day 31, a certificate with 14 days left means renewal is overdue. Alert then, and escalate at 7 days. A fixed 30-day warning will fire for most of every certificate's life and train people to ignore it. If your monitoring cannot express "a third of the lifetime remaining", alert at 14 and 7 days for short-lived certificates and keep the 30-day warning only for long-lived private ones.

Monitor what is served, from outside. Check every public endpoint the way a browser does, including every node behind a load balancer if they terminate TLS separately. A renewed certificate stuck in a secrets store and never deployed looks fine to internal checks and expired to customers.

Watch Certificate Transparency for your domains. A certificate issued for your domain that your automation did not request is either shadow IT or an attack. CT monitoring services and some CAs will alert on new issuance.

Alert the right people. Every lane B and lane D certificate has an owner. Route its alerts to that owner's on-call, not to a shared inbox.

A timeline you can work to

By Goal
End of 2026 Inventory complete; every certificate in a lane with an owner; CT monitoring on
Q1 2027 Lane A automated; Let's Encrypt users tested against 64-day staging; standard change approved; client-auth certificates replaced before your CA's cutoff
15 March 2027 100-day maximum: lane B automated; lane D listed with runbooks
2028 Lane C moved to private PKI; partner mTLS on CA trust instead of leaf pinning; Let's Encrypt users on 45-day certificates since February
15 March 2029 47-day maximum and 10-day validation reuse: lane D close to empty; nothing validated by email

Checklist

  • Every public certificate found through CT logs and external scans, with every deployed copy recorded.
  • Each certificate in a lane, with an owner.
  • Internal and service-to-service certificates moving to a private CA.
  • ACME clients renewing via ARI or at two-thirds of the lifetime, never on a fixed day count.
  • DNS-01 credentials scoped to validation records only, or validation delegated by CNAME.
  • CAA records listing only the CAs you use.
  • Deploy hooks that reload services and verify the served certificate.
  • Automation tested against Let's Encrypt staging before each production change.
  • A standard change for automated renewal, with logged evidence for audit.
  • Partner mTLS moving from leaf pinning to CA trust, and off public certificates for client authentication.
  • Monitoring that alerts on overdue renewal and checks served certificates from outside.

The shorter lifetimes are not the risk. Certificates that still depend on a person remembering to renew them are. Organisations that automate now will barely notice March 2027. The rest will find out one certificate at a time.

If you want a quick outside view of a site while you build the inventory, our free SSL and domain expiry checker shows the certificate a host actually serves and when it expires.

Sources


Originally published on errorbudget.io, where we also publish fix guides for actively exploited vulnerabilities.

Top comments (2)

Collapse
 
honeykiran profile image
Honey Kiran •

The part of this migration that will actually bite is not the renewal — it is the inventory. You cannot automate renewal for a certificate you do not know exists, and every estate has a few living in odd corners: the VPN concentrator somebody set up in 2021, the partner connection with a manually installed cert, the mail gateway everyone forgot.

At 47 days the alerting has to move too. An alert on the certificate's expiry date is already too late to be useful; the alert that matters is on the health of the renewal pipeline itself — did the last three renewals complete untouched, and is the next one scheduled with margin. Watch the machine that renews, not just the dates it produces.

Twelve renewals a year per cert turns a calendar reminder into an outage schedule. This plan is the right shape: find everything first, then automate, then alert on the automation.

Collapse
 
errorbudget profile image
errorbudget •

Agreed on both points, and the inventory one is where most teams will lose time.

Two things that have worked for finding the odd corners: search certificate transparency logs for every domain you own (the forgotten VPN and mail gateway certs show up there even when no CMDB lists them), and scan your own address ranges on 443 and the usual mail and VPN ports, then diff the certificates you find against what the renewal system knows about. Anything in the scan but not in the renewal system is the list to fix first.

On alerting, a simple rule that catches a stalled pipeline: alert when a certificate in service is older than about two thirds of its lifetime. With 47-day certs that is around day 31. If the renewal ran, the old one should already be gone, so you hear about the failure while there are still two weeks left instead of two days.

Thanks for reading it closely.