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:
- The alert stops when the certificate is replaced, not when someone clicks “seen”.
- It escalates: a message in a team channel 14 days out, an on-call page 3 days out.
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
- A team, not a person. The address of whoever ordered the certificate three years ago is the first cause of lost alerts.
- Two channels. Email and team chat, or email and a webhook to the on-call tool.
- With context. Certificate name, affected service, location, renewal mode, owner. A “certificate expires in 7 days” alert with no location costs an hour of searching.
The most common mistakes
- Monitoring only known certificates: the ones that fail are the ones missing from the inventory.
- Trusting the renewal tool to report its own failures.
- Keeping the same thresholds for every certificate, whatever its lifetime.
- 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.