Guide

SSL certificate expiration monitoring: how to never let a cert expire

· 5 min read · Facts checked December 2, 2026

Short answer

To never let a certificate expire, automate renewal (ACME clients such as Certbot, or your host's managed certificates) and monitor the certificate that's actually served, not the renewal job. A monitor that reads the live certificate every day and warns you at about 14 days and again at 3 days left catches every renewal failure in time to fix it.

An expired certificate is one of the most avoidable outages there is, and it still happens to large companies every year. Browsers show a full-page warning, most visitors leave, and API clients, mobile apps and webhooks simply refuse to connect. Unlike most outages, you can see this one coming weeks in advance. You just need something watching.

Certificates are getting shorter

Certificate lifetimes are shrinking. Under CA/Browser Forum ballot SC-081, publicly trusted TLS certificates issued from March 15, 2026 can be valid for at most 200 days. The limit drops to 100 days in March 2027 and to 47 days in March 2029. Let's Encrypt certificates have been 90 days for years, and Let's Encrypt has announced plans to move to 45 days.

Shorter certificates are better for security, but they mean more renewals, and every renewal is a chance for something to go wrong. Manual renewal stops being realistic; automation plus monitoring becomes the norm.

Why certificates expire even with auto-renewal

"We use Let's Encrypt, it renews itself" is how most expired-certificate stories start. Renewal automation fails quietly in many ways:

  • The validation fails. HTTP-01 validation needs /.well-known/acme-challenge/ reachable on port 80; a new redirect rule, firewall or CDN setting can block it. DNS-01 validation breaks when DNS moves to another provider or an API token expires.
  • The renewal job stopped running. The cron job or systemd timer was lost when the server was rebuilt, or the container that ran Certbot is gone. (Our guide on monitoring cron jobs covers this exact problem.)
  • It renewed, but nothing reloaded. The new certificate is on disk, but Nginx, HAProxy or your app still serves the old one from memory until it restarts.
  • The certificate lives somewhere else. A load balancer, CDN or API gateway holds its own copy that was uploaded by hand a year ago.
  • A forgotten subdomain. status., api-v1. or mail. uses a separate certificate that nobody remembers.
  • Billing. A paid certificate or managed service lapses because the card on file expired.

The common thread: the renewal process reports success, or nothing at all, while the certificate visitors see gets older every day. That's why monitoring has to check the certificate that's served, from the outside.

How to check a certificate's expiry date

In a browser: click the icon to the left of the address, open the connection or certificate details, and look for "Expires on" or "Valid to".

With our free tool: the SSL certificate checker shows the expiry date, days left and issuer for any domain.

From a terminal:

terminal
echo | openssl s_client -connect example.com:443 -servername example.com 2>/dev/null \
  | openssl x509 -noout -enddate -issuer

-servername matters: it sends SNI, so you get the certificate for that name rather than the server's default one. To fail a script when fewer than 14 days are left, openssl x509 -checkend 1209600 exits with an error if the certificate expires within that many seconds:

terminal
echo | openssl s_client -connect example.com:443 -servername example.com 2>/dev/null \
  | openssl x509 -noout -checkend 1209600 || echo "expires within 14 days"

What good SSL monitoring looks like

  1. It reads the live certificate, from outside your network, for every hostname users reach, not the files on disk.
  2. It checks daily. Certificates don't change by the minute; once a day is plenty.
  3. It warns early, then again. A first warning around 14 days gives time to fix a broken renewal without rushing; a second at about 3 days catches the warning nobody acted on. With 90-day or shorter certificates renewing at about 30 days left, a 14-day warning only fires when renewal has already failed, so it isn't noise.
  4. It alerts where you'll see it. A chat channel or on-call tool, not an inbox that's already full of certificate emails.
  5. It covers every name. Each subdomain with its own certificate needs its own check.

Certificate Transparency logs are a useful complement. Every publicly trusted certificate is logged publicly, so services like crt.sh show every certificate issued for your domains, which helps you discover forgotten subdomains and certificates you didn't know about.

Setting it up with Uptenna

On Uptenna's Pro and Team plans, every HTTPS monitor also watches its certificate. Once a day Uptenna reads the certificate the server presents; when a server only speaks TLS 1.3, where the certificate is encrypted inside the handshake, it falls back to the newest valid certificate for the name in Certificate Transparency logs. You get a warning 14 days and again 3 days before expiry, on email, Slack, Discord, Telegram or a signed webhook, and the dashboard shows the expiry date and issuer for each monitor.

Because the same monitor also checks the site every minute, an expired certificate that slips through anyway shows up as a failed check (a TLS handshake failure) within minutes.

Pro costs $9 a month, and new accounts get 14 days of Pro without a card. SSL expiry warnings aren't included on the free plan.

A renewal checklist

  • Automate renewal everywhere, and renew at about a third of the lifetime left (Certbot's default for 90-day certificates is 30 days before expiry).
  • Reload or restart the server after renewal (Certbot's --deploy-hook).
  • Monitor the renewal job itself with a heartbeat, so you know the day it stops running.
  • Monitor every public hostname's served certificate, with warnings at 14 and 3 days.
  • Look at Certificate Transparency logs for your domain now and then to find certificates you didn't know about.
  • Keep renewal credentials (DNS API tokens, payment methods) current, and note when they expire too.

Frequently asked questions

How do I know when my SSL certificate expires?

Check it in your browser's certificate details, run openssl s_client and openssl x509 -enddate, or use a free tool like our SSL checker. To be warned automatically, use a monitor that checks the served certificate daily.

How many days before expiry should I be alerted?

Two warnings work well: one around 14 days before (time to fix a failed renewal calmly) and one around 3 days before (a last call). With automated renewal at about 30 days left, any warning means renewal has already failed.

Can a Let's Encrypt certificate expire if auto-renewal is on?

Yes. Renewal can fail validation, the renewal job can stop running, or the server can keep serving the old certificate because it wasn't reloaded. Monitoring the served certificate catches all of these.

What happens when an SSL certificate expires?

Browsers show a full-page security warning, such as NET::ERR_CERT_DATE_INVALID. API clients, apps and webhook senders refuse to connect, so integrations break even if nobody visits the website.

Further reading

Monitor your own site with Uptenna

Uptime checks, cron job heartbeats and a public status page, with an alert the moment something breaks.

  • No card required
  • 14-day Pro trial
  • Free plan after
PlansFree$0Pro$9/mo
Monitors
Free: 5Pro: 50
Check every
Free: 5 minPro: 1 min
Alerts
Free: EmailPro: 5 channels
Status pages
Free: 1Pro: 5
SSL expiry alerts
Free: Pro:

More from the blog