TLS certificate expiry alerts: which thresholds to use?

30, 14 and 7 days out: those thresholds were designed for one-year certificates. How to tune expiry alerts when a certificate lives 200, 100, then 47 days.

Published · 3 min read · Also available in: Français

For years, the expiry alert was an email sent thirty days before the deadline. That habit no longer holds: Let’s Encrypt stopped sending expiry emails in June 2025, and with 47-day certificates, an alert 30 days out would fire two weeks after issuance.

Here is how to set alerts that stay useful as lifetimes shrink.

Why fixed thresholds are no longer enough

A 30-day threshold makes sense for a 398-day certificate: 8% of its life is left. On a 47-day certificate, 30 days is 64% of its life. The alert fires all the time, so nobody reads it.

You need to think in proportion of the lifetime, and separate two very different cases: certificates renewed by hand and certificates renewed automatically.

Manual certificates: warn early, remind often

A manual renewal takes time: ordering, domain validation, installation, sometimes a maintenance window. The alert has to leave room for that.

Lifetime First alert Reminders
398 or 200 days 30 days out 14, 7, 3, 1 days
100 days 21 days out 14, 7, 3, 1 days
47 days 14 days out 7, 3, 1 days

Two rules complete the table:

  • 200-day certificateFirst alert 30 days out
  • 100 days21 days out
  • 47 days14 days out
In orange, the alert period: the shorter the certificate, the larger the share of its life it takes up.

Automatic certificates: alert on failure, not on expiry

An ACME client usually renews at two thirds of the lifetime: around 30 days out for 90 days, around 15 days out for 47 days. As long as everything works, no alert is needed.

What you need to catch is the renewal that should have happened and did not: DNS changed, firewall, quota reached, expired account, a scheduled job dropped during a migration. The right rule: alert if the certificate still has not been renewed a few days after the planned date. For 47 days, a threshold 10 days out still leaves time to understand and fix.

Check the certificate served, not the certificate issued

A renewed certificate is not necessarily an installed certificate. The classic case: the new file is on disk, but the server was never reloaded and still presents the old one.

The only reliable check is external: connect to the service as a client would, and read the expiry date of the certificate actually presented. That applies to HTTPS, but also to SMTP, IMAPS, VPNs and APIs on non-standard ports.

Who should receive the alert

The most common mistakes

  1. Monitoring only known certificates: the ones that fail are the ones missing from the inventory.
  2. Trusting the renewal tool to report its own failures.
  3. Keeping the same thresholds for every certificate, whatever its lifetime.
  4. Forgetting intermediate and client certificates, which expire too.

In short

Thresholds proportional to lifetime, different logic for manual and automatic, an external check of the certificate served, and shared recipients: that is what gets you through the 100-day step in March 2027, then 47 days in 2029, without an ignored alert.