Auto-renewal was supposed to end expired certificates, and most of the time it does: certbot and other ACME clients renew Let's Encrypt certificates on a timer and you never think about it. The failures live at the edges: a renewal timer switched off during a server migration, a deploy hook that stopped reloading nginx, a DNS-01 challenge that broke when you changed DNS provider, a certificate on an old box outside your automation. Renewal looks fine right up to the time it isn't, and the first signal is a customer's screenshot of a browser warning.
Watch the days left, not only whether it's valid
Any check can tell you a certificate is valid right now, which is close to useless: a certificate stays valid until the second it isn't. The number worth watching is days remaining, while there's still time to act. Twenty-eight days left is fine; twenty-eight hours left is an emergency you should have caught four weeks earlier.
To check one certificate by hand:
echo | openssl s_client -connect example.com:443 -servername example.com 2>/dev/null \
| openssl x509 -noout -enddate
# notAfter=Feb 14 09:12:44 2027 GMT
Or paste the domain into the SSL checker, which also shows the names covered and whether the chain is complete.
Monitor SSL certificate expiry automatically
On failover.io, tick Enable SSL expiry check in the SSL certificate section of any HTTPS monitor. The expiry date is then read once a day while the site is up, so a monitor on https://api.example.com watches that certificate's clock. Warnings get louder as the date gets closer:
| Days left | What happens |
|---|---|
| 30 | One notice to the first step of the monitor's alert chain, for example Slack. A reminder, not a page. |
| 7 | The whole alert chain runs once. Renewal has clearly not happened; someone should treat it as a task. |
| 1 | The whole chain runs and repeats like an outage, up to a phone call if your chain has one, until someone acknowledges. |
The warning closes by itself once the server presents a renewed certificate. An expired or invalid certificate makes the check fail like any other outage. Plans and alert options are on the SSL monitoring page.
The renewal that didn't take effect
A successful certbot renew in your logs proves the certificate was reissued, not that your server is using it. If the reload hook fails, the new certificate sits on disk while nginx keeps serving the old one. Monitoring the certificate the server presents catches that gap; monitoring the renewal job doesn't.
# /etc/letsencrypt/renewal-hooks/deploy/reload-nginx.sh
#!/bin/sh
nginx -t && systemctl reload nginx
Also monitor the renewal job
Belt and braces: add a heartbeat to the renewal itself, so you hear about a failed renewal the night it happens rather than 30 days later. See how to monitor cron jobs.
Frequently asked questions
How do I check when an SSL certificate expires?
Open the site in a browser and view the certificate, or run echo | openssl s_client -connect example.com:443 -servername example.com 2>/dev/null | openssl x509 -noout -enddate. To be warned automatically, turn on the SSL expiry check on an HTTPS monitor, or use the SSL checker for a one-off look.
How long is an SSL certificate good for?
Public certificates issued from 15 March 2026 are valid for at most 200 days. The limit drops to 100 days for certificates issued from 15 March 2027 and 47 days from 15 March 2029, so renewal has to run on its own.
How early should I be warned?
30 days gives a full renewal cycle of headroom, even for 90-day Let's Encrypt certificates. A second warning at 7 days and a page at 1 day catch renewals that failed without anyone noticing.
Why did my certificate expire if auto-renewal is on?
Usually the renewal ran but the web server never reloaded, the renewal timer was lost in a server migration or a DNS-01 challenge broke after a DNS change. Watching the certificate the server serves catches all of these.