CheckWebSecurity Brand Logo

Article

TLS certificate expiry: why once-a-year renewal stopped working (and what to do instead)

Published 2026-11-22

TLS certificate expiry: why once-a-year renewal stopped working (and what to do instead)

On February 3, 2020, Microsoft Teams was down for most of a working morning, roughly 8:30 to 11:30 Eastern time. The cause was a single expired TLS certificate on one authentication endpoint. Microsoft acknowledged it on its status feed, deployed a replacement, and service recovered by the afternoon. A company with entire product lines for infrastructure monitoring still shipped a certificate past its own expiry date. If it happens there, your calendar reminder is not a plan.

The interesting part of that story is what it tells you about the failure itself. An expired certificate is not a break-in. Nothing was compromised. The cryptography still works; the signature still verifies. Expiry is a policy deadline, and the system that misses it fails loudly and completely, in front of every user, at once. It is one of the few infrastructure mistakes that takes a healthy site fully offline without anything being wrong with the site.

This matters more in 2026 than it did in 2020, because the rules changed underneath everyone. The one-year certificate you were used to is being phased out. If you still renew by hand once a year, you are already behind, and the schedule only gets tighter from here.

What actually happens when a certificate expires

Every TLS certificate carries two dates: notBefore and notAfter. Browsers, API clients, operating systems, and anything else that validates certificates refuse one whose notAfter is in the past. There is no grace period. The moment is exact, down to the second, and the certificate that worked yesterday fails today.

For a website, the symptom is a full-page interstitial. Chrome shows NET::ERR_CERT_DATE_INVALID. Safari and Firefox show their own versions. A visitor can sometimes click through, but most people read the word "not private" and leave, and you should assume they do. For APIs, mobile apps, webhooks, and anything machine-to-machine, there is usually no click-through at all: the request fails and the client surfaces a connection error. Those failures are often worse than the website kind, because a human is not watching them at 3am and the retry loop quietly burns through the night.

One more detail that bites teams later: expiry also breaks anything that pinned or cached a chain. If your monitoring only checks the web endpoint, the API host that expired two hours earlier stays invisible until the first customer ticket.

Check yours today

You do not need a scanner for a single check, and the commands work from any Linux or macOS shell:

# Expiry date of the certificate your site serves right now
echo | openssl s_client -servername example.com -connect example.com:443 2>/dev/null \
  | openssl x509 -noout -dates

# A yes/no answer: does it expire within the next 30 days?
echo | openssl s_client -servername example.com -connect example.com:443 2>/dev/null \
  | openssl x509 -checkend 2592000 -noout \
  && echo "fine for now" || echo "expires within 30 days"

curl gives you a faster one-liner, though the output format depends on the version:

curl -vI https://example.com 2>&1 | grep -i 'expire date'

If you have the certificate as a file, openssl x509 -checkend <seconds> is the check to script around: it returns success if the certificate is valid for at least that many more seconds, which means a monitoring check is one shell condition.

The -servername flag in the openssl commands is not optional. Without it you get the server's default certificate, and on shared hosting or a load balancer that can be a completely different certificate from the one your visitors see. SNI decides, so make sure your check asks for the hostname, not just the IP.

And check every hostname, not just the apex domain: www, api, mail, staging, cpanel, the old load balancer nobody decommissioned. The certificate that expires is never the one on the host you checked yesterday. That is close to a law of nature.

The schedule that ended the one-year certificate

In April 2025 the CA/Browser Forum, the body that sets the rules every public certificate authority must follow, passed ballot SC-081v3. It shortens the maximum lifetime of publicly trusted TLS certificates in three fixed steps, by issue date:

| Certificates issued | Maximum validity | Domain validation reuse | |---|---|---| | Before March 15, 2026 | 398 days | 398 days | | From March 15, 2026 | 200 days | 200 days | | From March 15, 2027 | 100 days | 100 days | | From March 15, 2029 | 47 days | 10 days |

The first step is already in force. Certificates issued since March 2026 cannot be valid for longer than 200 days, which means if you renewed recently, you are already on the shortened schedule whether you noticed or not.

The ballot text gives two reasons, and both are worth taking seriously rather than treating the schedule as an inconvenience. A shorter lifetime limits how long a compromised or mis-issued certificate stays useful to whoever holds it. And it pushes operators toward automated issuance, because at some point hand renewal stops being physically possible, which brings us to the arithmetic.

Renewing once a year means one renewal per certificate per year. At 100-day certificates, the same coverage means roughly 3.7 renewals per year. At 47 days, about 7.8. With dozens of certificates, a person logging into a CA portal and pasting files onto servers by hand is not a process anymore. Even the domain validation step changes: from March 2029 a CA can only reuse a completed domain-control check for 10 days, so the DNS record or well-known file you added by hand at renewal time has to be there for nearly every issuance, not once a year.

Let's Encrypt users will find all of this familiar. Its certificates have been 90 days since the service launched, specifically on the argument that short lifetimes force automation and automation is more reliable than calendars. The industry is moving to that model as the default.

Why hand renewal fails, specifically

I want to be fair to the person who renewed certificates by hand for years without incident. It is not laziness. It is that the manual process has failure modes the checklist never shows:

Renewed but never deployed. The new certificate is issued and downloaded, but the server is not reloaded, or nginx is still pointing at the old file path. The renewal happened, the calendar is marked done, and the site serves the expired certificate until someone restarts something. I would guess this is the single most common expiry incident, and the Teams outage fits the pattern too: Ars Technica noted at the time that it might have been an automated renewal that failed silently rather than anyone forgetting.

The chain rots separately. You replaced the leaf certificate, but the intermediate in your chain has its own expiry date, and it is not on your calendar because you never thought of it as "the certificate". The leaf is valid, the chain is not, and browsers show an error that looks like a lie until you check the intermediates.

Monitoring checks the file, not the endpoint. A check that reads the certificate file on disk sees the renewed certificate. The browser sees what the load balancer actually serves. These diverge exactly when you have the renewal-deployment gap above, which is when you need monitoring most.

The alert threshold is too tight. Alerts that fire 7 days before expiry assume someone acts within a week. A 7-day alert that arrives before a long weekend, a holiday, or a release freeze is a certificate that expires with everyone having been technically notified.

Single-owner renewals. The renewal procedure lives in one person's head or one person's calendar. That person changes teams, and the renewal dies quietly with them.

What to do instead

Four steps, in order of how much they protect you:

  1. Inventory every public hostname now. Apex, subdomains, internal tools exposed to the internet, SaaS on your domain, load balancers. Run the openssl check from this article against each. Anything under 30 days gets fixed today, before you do anything else.
  2. Switch to automated issuance. ACME (RFC 8555) is the protocol for this, and the practical options are: Certbot with its systemd timer for existing nginx/Apache setups, Caddy which handles issuance and renewal on its own, or your cloud provider's managed certificates if the load balancer is the public endpoint anyway. Pick the one that fits what you already run; the specific tool matters much less than the fact that renewal happens without a human starting it.
  3. Make the deploy step part of the renewal. The automation should reload the web server or reload the load balancer config as its final step. certbot renew with a --deploy-hook that runs nginx -s reload is the shape to copy: issue, install, reload, verify, all as one action.
  4. Monitor the endpoint, not the file. The check that matters is the openssl or curl command against the live hostname, with the SNI set, alerting at 30 days and again at 7. If you run several sites, a monitoring service that does this from outside your network is the honest version, because it sees exactly what a browser sees.

None of this requires a purchase. Steps 1 through 3 are free with ACME and a cron timer, and they remove almost all of the risk on their own. What external monitoring buys you is the part you cannot check yourself: that the certificate your visitors' browsers actually receive is the one you renewed, on every host, every day, after every deployment.

CheckWebSecurity checks the certificate your site serves on every external scan and reports an expired certificate as a finding, along with the redirect and header checks that ride the same request. If you want that verified from the outside, start a free scan.


Related: Mixed content: what it is and how to find every instance · HSTS explained in plain terms · How website security checks work