An expired certificate does not slow your site down. It takes it completely offline behind a full-page browser warning that most visitors will not click through. And because renewal is "automatic", nobody is watching until it fails.
Why automatic renewal fails
Certificates from Let's Encrypt last 90 days, and other authorities are moving to shorter lifetimes too. Renewal is automated, but it depends on many things staying exactly as they were:
- DNS changed. The domain now points to a CDN or a new load balancer, so the HTTP challenge never reaches the server doing the renewal.
- A firewall or redirect blocks
/.well-known/acme-challenge/. - DNS API credentials expired for DNS-01 challenges, often months after setup.
- The renewal job stopped: a cron entry lost in a server rebuild, a container image without the timer.
- The certificate renewed but was not loaded: the web server was never reloaded, so it keeps serving the old one.
- Forgotten hosts: a mail server, an old API subdomain or a staging environment with its own certificate.
- Rate limits after repeated failed attempts.
Most of these fail silently: the renewal tool logs an error on a server nobody reads.
Monitor the certificate, not the renewal job
The reliable check is from the outside: connect to the host like a browser does and read the certificate actually being served. That catches every cause above, including "renewed but not loaded".
Check for:
- days until expiry, with a warning at 14 to 21 days (renewal normally happens at 30 days before expiry, so a certificate under 21 days means renewal is failing);
- validity: correct host name, complete chain, trusted issuer;
- every host and port that serves TLS, including
mail.example.com:993and API subdomains.
A simple checklist
- List every public host name with TLS (check your DNS zone, not your memory).
- Add a certificate monitor for each, warning at 14 days.
- Send the warning to a team channel, not just one person's inbox.
- When it fires, check the renewal logs on the server that owns the certificate.
- After fixing, confirm the served certificate changed.
Bonus: check your chain
Many "works in my browser" problems are an incomplete chain: desktop browsers fill in missing intermediates, but API clients and older devices fail. A certificate check that validates the full chain catches this before customers do.
VitalRix has a dedicated SSL certificate monitor for any host and port, with expiry warnings sent to Slack, Teams, email or SMS, alongside your regular uptime checks.
Check a certificate from the command line
echo | openssl s_client -connect example.com:443 -servername example.com 2>/dev/null \
| openssl x509 -noout -subject -issuer -dates
The output shows who the certificate is for, who issued it, and the notAfter expiry date of the certificate actually being served.
An inventory template
| Host | Port | Issuer | Renewal method | Expires | Owner | Monitored |
|---|---|---|---|---|---|---|
| example.com | 443 | Let's Encrypt | Certbot on web-1 | 2026-12-02 | Web | Yes |
| api.example.com | 443 | Let's Encrypt | Ingress controller | 2026-11-20 | Platform | Yes |
| mail.example.com | 993 | Commercial CA | Manual, yearly | 2027-03-01 | IT | Yes |
The owner column matters most: when the warning fires, someone has to know it is theirs.
When the warning fires
- Check the renewal logs on the system that owns the certificate.
- Confirm the challenge can succeed: DNS points where you expect, the challenge path is reachable, API credentials are valid.
- Renew, then reload or restart the service that serves the certificate.
- Confirm the monitor now sees the new expiry date.
- Write down the cause; if it can happen again, add it to your launch checklist.
How long do SSL certificates last?
Let’s Encrypt certificates last 90 days. Certificates from other authorities currently last up to about a year, and maximum lifetimes are being reduced further.
How early should I be warned before expiry?
Around 14 to 21 days. Renewal normally happens 30 days before expiry, so a certificate with less than 21 days left usually means renewal is failing.
Can a certificate renew but still expire?
Yes. If the web server is not reloaded after renewal it keeps serving the old certificate, which is why you should check the served certificate from outside.
Try VitalRix free
Uptime monitoring, APM, logs, real user monitoring and status pages in one place. No credit card needed.