What happens when an SSL certificate expires
Browsers block, APIs fail, apps error out, email mostly gets through: what an expired TLS certificate breaks, two real outages, and how to catch it first.
In short
- An expired certificate does not stop the server: every client that verifies it refuses the connection.
- Browsers show a full-page warning. On a site with HSTS, including every .app and .dev domain, the visitor gets no way to continue.
- API clients and webhooks fail before any HTTP exchange. Email between servers is usually still delivered, unless the domain enforces MTA-STS.
- On the Pro plan, Domain Sentinel reads the certificate of one hostname per watched domain once a day and emails 14, 7, 3 and 1 day before it expires. It renews nothing.
When an SSL certificate expires, the server keeps running and keeps answering. What stops is trust: every client that verifies the certificate refuses the connection. Browsers show a full-page warning, API clients and webhooks fail with an error nobody is looking at, mobile apps report a vague network problem, and email mostly keeps flowing. The outage lasts as long as it takes someone to notice, which is far longer than the repair.
What each client sees, channel by channel
| Channel | What happens | Way around for the user |
|---|---|---|
| Browser | Full-page warning | A link to continue, none with HSTS |
| API clients, webhooks, scheduled jobs | The request fails before any HTTP exchange | None, short of turning verification off |
| Mobile apps | Connection refused, generic error | None |
| Email between servers | Usually still delivered | Not needed, except with MTA-STS in enforce mode |
| Internal services with mutual TLS | Both sides refuse | None |
Browsers
Chrome shows the code NET::ERR_CERT_DATE_INVALID, Firefox SEC_ERROR_EXPIRED_CERTIFICATE. On an ordinary site, a link behind the "Advanced" button lets the visitor continue anyway.
With HSTS, that link is gone. This applies if your site sends the Strict-Transport-Security header and the browser has seen it within its max-age, or if the domain is on the browsers' preload list. Either way, the visitor cannot click through a certificate error. Some extensions are preloaded as a whole: Google Registry put .app and .dev on the list, so every site on a .app domain is covered from its first day.
API clients, webhooks and integrations
Here the TLS handshake fails and the error lands in a log:
curl: curl: (60) SSL certificate problem: certificate has expired
Python: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired
Node.js: CERT_HAS_EXPIRED
Java: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
Partners calling your API get errors, and a webhook sender that has used up its retries drops the event. The first to notice is often the partner.
Mobile apps
The operating system refuses the connection and the app shows a generic network error. If the app pins the certificate or its key, a renewal that changes the key breaks it too, until an update ships.
Mail between servers mostly runs on opportunistic TLS: the sender encrypts if it can and expects no particular certificate, so an expired one rarely blocks delivery. The exception is a domain that publishes an MTA-STS policy in enforce mode: RFC 8461 requires a certificate that has not expired, and a sender that honors the policy must not deliver without one. Mail apps connecting over IMAP or SMTP do verify, and warn each user. Your website and your mail server usually have two different certificates.
Internal services
Between services that authenticate each other with certificates (mutual TLS in a cluster, a VPN, a message broker), both ends verify and everything stops at once. No outside monitor can reach these certificates.
Two outages caused by a known date
On December 6, 2018, mobile data went down at several operators running the same Ericsson core network software. Ericsson's statement that day said an initial analysis pointed to "an expired certificate in the software versions installed with these customers". SoftBank, one of them, reported its 4G LTE service down from 1:39 pm to 6:04 pm Japan time, and said carriers in 11 countries were affected.
On September 30, 2021, the DST Root CA X3 root certificate expired. Let's Encrypt relied on it for old devices and had announced the date months ahead. Recent browsers were unaffected, but clients built on OpenSSL 1.0.x failed, as did old devices without updates. Every certificate in the chain has a date, not only yours.
Why it still happens with automatic renewal
Automation renews the certificate. It does not always deploy it: the new file sits on disk while the web server, the load balancer or the CDN keeps serving the old one. And the renewal itself can fail silently, for reasons listed in the guide to failed Let's Encrypt renewals.
There are also more renewals to get wrong. Under the CA/Browser Forum's rules, a public certificate has been limited to 200 days since March 15, 2026. The limit drops to 100 days on March 15, 2027 and to 47 days on March 15, 2029.
Diagnose in thirty seconds
openssl s_client -connect example.com:443 -servername example.com </dev/null 2>/dev/null \
| openssl x509 -noout -dates -issuer
notAfter is the expiry date, in UTC, of the certificate served right now. Run it for each name (www, api, mail). The guide on checking a certificate's expiration covers the other methods.
Catch it before the date
The check has to come from outside: a renewal log tells you what the job believes, a connection from the Internet shows what your clients receive. On the Pro plan, Domain Sentinel does this for one hostname per watched domain: the domain itself, or a name you choose such as www or api. Once a day it opens a TLS connection on port 443 and reads the certificate served. You get an email 14, 7, 3 and 1 day before the expiry date, and again if the certificate has expired.
It has limits. It does not discover your subdomains, so you have to add each name. It renews nothing, reads port 443 only (not a mail server's own ports) and cannot reach internal services. It is not uptime monitoring either, as DNS monitoring vs uptime monitoring explains.
This week: list every public name that serves TLS, run the openssl command on each, put an outside alert on each, then find out where your renewal job writes its errors and who reads them.
Frequently asked questions
Does a website still work with an expired certificate? The server still answers, but browsers put a warning in front of it and programs that verify certificates refuse to connect. For most visitors and every integration, the site is down.
Only one visitor sees NET::ERR_CERT_DATE_INVALID. Has my certificate expired? Not necessarily. Chrome shows the same code when the clock of the visitor's device is wrong. The openssl command above settles it.
Does the domain expire when the certificate does? No. The certificate and the domain name have separate dates and renewals. For the domain, see what happens when a domain expires.
Start with a domain you care about
Look it up for free. If you want alerts when status changes or expiry gets close, start the 14-day trial. No card, about 30 seconds.