Made on Earth Donate

Why SSL certificates still expire unnoticed, and the missing intermediate that only breaks your apps

14 November 2026 · 11 min read · by Varun Agrawal

The tool this post is aboutSSL Certificate Checker: Expiry, Chain & TLSCheck a website’s SSL/TLS certificate: when it expires, whether the chain is complete, which names it covers, which TLS versions the server accepts, and who issued it.

On a Monday morning the website is fine. You open it in Chrome, the padlock is there, the shop loads. But the payment provider's webhooks have been failing since Saturday, the mobile app shows "Cannot connect to server", and a partner's integration has been retrying all weekend. Nothing changed on your side, you think. Then someone runs curl against the API and gets SSL certificate problem: unable to get local issuer certificate.

Or the other version of the story: everything breaks at once, browsers included, with a full-page warning that the connection isn't private. The certificate expired at 00:00 UTC. Renewal was automated, so nobody was watching, and the automation had been failing quietly for weeks.

These are the two most common ways TLS goes wrong for sites that thought they had it handled. This post explains why each one still happens, why the second one hides from the tests most people run, and how the SSL Certificate Checker finds both, with a worked example on a certificate chain built for the purpose.

Certificates expire on purpose, and sooner every year

A TLS certificate is a signed statement from a certificate authority (CA): "this public key belongs to www.example.com, from this date until that date". The end date isn't a formality. If a private key leaks, or a domain changes hands, the certificate stays usable by whoever holds the key until it expires; revocation exists, but clients check it unreliably. Short lifetimes are the backstop, so the industry keeps shortening them.

Ten years ago a certificate could last five years. Browsers cut that to 39 months, then 825 days, and in September 2020 Apple, followed by the others, stopped accepting public certificates issued for more than 398 days. In 2025 the CA/Browser Forum, where CAs and browser makers set the rules, voted to go further: 200 days for certificates issued from 15 March 2026, 100 days from March 2027, and 47 days from March 2029. Let's Encrypt has issued 90-day certificates since it started, and has announced a move to shorter ones still.

The intent is clear: nobody should renew certificates by hand any more. With a 47-day maximum, a manual process means a renewal every month, forever, with no room for a holiday. Automation through ACME (the protocol Let's Encrypt introduced, now supported by most CAs) is the answer, and for most sites it works.

Why expiry still catches people out

Automation turns expiry from a yearly chore into a background job. Background jobs fail in the background. These are the ways it goes wrong in practice:

  • The renewal fails and nobody hears. An ACME client renews a certificate by proving control of the domain: a file served over HTTP, or a DNS record. Move the site behind a CDN that answers /.well-known/acme-challenge/ itself, rotate the DNS provider's API key, or add a redirect that loops, and validation starts failing. The client logs an error to a file nobody reads, tries again tomorrow, and the old certificate keeps working until the day it doesn't.
  • The warning emails stopped. For years Let's Encrypt emailed you when a certificate was 20 days from expiry and hadn't been renewed. It was the safety net many people didn't know they relied on, and Let's Encrypt ended those emails in 2025. Commercial CAs still send reminders, to whoever was in the billing contact three jobs ago.
  • The certificate renews, but the server doesn't reload. The new file lands on disk; nginx, Apache, HAProxy, the Java keystore, the mail server keep the old one in memory until they're reloaded. A renewal hook that was never set up, or one that reloads the web server but not the mail server sharing the certificate, gives you a perfectly renewed certificate that nothing serves.
  • The certificate nobody remembers. The marketing site renews itself. The API host on a separate load balancer, the IMAP server, the staging environment a partner uses, the internal admin tool with a certificate someone bought in 2024: those were set up once and are owned by nobody. They are exactly the ones that lapse.
  • The copy. A certificate exported to a load balancer, a CDN or an appliance doesn't renew when the original does. Two copies, one renewed.

The common thread: the place where the certificate is renewed is not the place where it is served. The only check that tells the truth is one made from outside, against what the server actually sends, which is what an external checker does.

Even well-run organisations get this wrong. An expired authentication certificate took Microsoft Teams down for hours in February 2020. In December 2018 an expired certificate in Ericsson's network software cut mobile data for millions of O2 and SoftBank customers. The Equifax breach investigation found that an expired certificate on a traffic-inspection device had left it blind for months. None of these were technical mysteries; each was a date nobody was watching.

The missing intermediate: why it works in Chrome and fails in curl

The second failure is subtler, because it passes the test almost everyone runs: opening the site in a browser.

Root CAs keep their root keys offline, in vaults, and use them rarely. Day-to-day signing is done by intermediate certificates, which the root signed. So a website's certificate is signed by an intermediate, the intermediate by the root, and a client that trusts the root needs the intermediate to connect the two. The TLS standard says the server sends it: its own certificate first, then each intermediate in turn. The root is left out, since the client must already have it for trust to mean anything.

Configure the server with just the certificate file instead of the "full chain" file, and the intermediate isn't sent. What happens next depends on the client:

  • Chrome, Edge and Safari look inside the certificate for its Authority Information Access extension, which names a "CA Issuers" URL where the intermediate can be downloaded, fetch it, and carry on. No warning.
  • Firefox doesn't fetch, but it ships a copy of every intermediate certificate that public CAs have disclosed, so it fills the gap from its own list.
  • Everything else — curl, wget, OpenSSL, Python's requests, Java, Node.js, Go, PHP, the .NET runtime on Linux, and the Android apps built on them — does neither. It looks at what the server sent, can't reach a trusted root, and stops: unable to get local issuer certificate, PKIX path building failed, certificate verify failed.

So the website looks perfect to every human who checks it, while every machine that talks to it fails. Webhooks, payment callbacks, single sign-on, mobile apps, monitoring that uses curl (which then reports the site as down, and gets ignored because "it works for me"), and any partner integration. It usually appears right after a renewal or a server move, when someone copies cert.pem instead of fullchain.pem.

Its cousins are milder: intermediates sent in the wrong order, a stale intermediate left over from the previous certificate, or the root sent along too. Most clients tolerate those, some older ones don't, and all of them add bytes to every handshake.

A worked example

To show what the checker sees, here is a chain built for the purpose (none of these names exist). A made-up root, Example Test Root R1, signs an intermediate, Example Issuing CA I1, which signs a 90-day certificate for www.shop.example and shop.example with an EC P-256 key. The root is the only one in the trust store, as a real root would be. The server is set up the common wrong way: it sends only its own certificate. The check runs on day 70 of the certificate's 90.

The checker's own classes produce this report, problems first:

VerdictFinding
ProblemIncomplete: the server doesn't send the intermediate Example Issuing CA I1. Browsers download it themselves, so the site works in Chrome, but curl, Python, Java, Node, Android apps and most API clients fail with "unable to get local issuer certificate". Install the full chain shown below.
WarningExpires in 20 days. Automated renewal usually happens around now; if this one is renewed by hand, do it soon.
OKCovers www.shop.example.
OKEC P-256 key, signed with ECDSA with SHA-256.
OKAccepts TLS 1.3 and 1.2 only: current best practice.
OKCAA at shop.example allows letsencrypt.org, which includes this certificate's CA.

The path it rebuilt shows where the gap is:

StepCertificateWhere it came from
1www.shop.examplesent by the server
2Example Issuing CA I1missing: downloaded from the certificate's CA Issuers link, only to finish the check
3Example Test Root R1the trust store

OpenSSL, which is what curl uses on Linux, agrees with the first line. Asked to verify the same certificate against the same root, openssl verify answers error 20 at 0 depth lookup: unable to get local issuer certificate. Hand it the intermediate as well and it answers OK. That is the entire difference between the browser and the app.

Because the checker had to download the intermediate to finish the path, it can show The chain to install: the site's certificate followed by Example Issuing CA I1, two PEM blocks in the right order, root left out. Pasted into the server's certificate file and reloaded, the next check reads "Complete and trusted: 2 certificates sent, ending at Example Test Root R1, a root in the trust store", and the only thing left is the amber expiry line, which should clear itself when the renewal runs.

Note what the browser test would have told you: nothing. Both versions of this server look identical in Chrome.

How the checker reaches its verdicts

The tool is built to see what a strict client sees, then explain it:

  • It connects like a client and keeps everything. The host name is resolved on the server, only public addresses are contacted, and the handshake sends the name as SNI, so a CDN or shared host presents the certificate for your site and not its default one. Certificate checking is turned off for this connection on purpose: an expired or self-signed certificate is exactly what you want to see, not a reason to stop.
  • It rebuilds the chain itself. Starting from the server's certificate, it looks for the issuer first in the trust store, then among the certificates the server sent, matching names and checking each signature, not just the names. Whatever the server sent that isn't on the path is reported as extra; whatever is on the path but sent in a different position means the order is wrong.
  • It downloads a missing intermediate, but doesn't forgive it. The download happens the way Chrome does it, from the link in the certificate, so the report can name what's missing and give you the fixed chain. The verdict stays "incomplete", because the clients that break won't download it.
  • It matches names the way browsers do. Only the Subject Alternative Names count: browsers stopped reading the old common-name field years ago. A wildcard stands for exactly one label, so *.example.com covers shop.example.com but neither example.com nor a.b.example.com; the report says which near miss it was.
  • It tries each TLS version alone. One connection per version, from 1.3 down to 1.0, each with every cipher allowed, so "accepted" means the server will speak that version to someone, not merely that a browser would avoid it. A separate handshake with normal, current settings gives the cipher a modern client actually gets.
  • It checks CAA against the issuer. CAA records name the CAs allowed to issue for a domain, and the CA must check them at every renewal. The tool walks up from the host to its parent domains, finds the records that apply, and warns when they don't include the CA that issued the current certificate: a renewal that will fail, found before it does.

Mail servers get the same treatment. On ports 25, 587, 143 and 110 the tool speaks SMTP, IMAP or POP3 first and upgrades the connection with STARTTLS, then checks whatever certificate the mail server presents. That's a certificate no browser will ever show you, and one of the most often forgotten.

What a check can't tell you

  • One address at a time. When a name has several addresses, one public address is checked. Behind a load balancer, one node with an old certificate can hide among good ones; checking a few times, or each node's own address, finds it.
  • Your own network. Only public servers are contacted. An intranet host on a private address can't be checked from here, by design.
  • The trust store is one list. It is the site's server's CA bundle, Mozilla's list on most Linux systems. Windows, Apple and Android keep their own; they differ only at the edges, mostly around very new and very old roots.
  • Not everything in the handshake. Revocation isn't queried, and stapled OCSP responses and timestamps sent in the handshake rather than embedded in the certificate aren't visible. Each TLS version shows the cipher the server picked, not every cipher it supports. SSL 2 and 3 can't be tested by modern OpenSSL at all.
  • A moment in time. A check says what the server sent just now. It's a spot check, not monitoring.

Keeping certificates boring

  1. Serve the full chain. With certbot that's fullchain.pem, not cert.pem. With a commercial CA, the "bundle" or "chain" file goes after your certificate in the same file, in the order the CA gives it.
  2. Test with a strict client, not a browser. curl -sI https://your.host/ from a machine that has never visited the site, or a checker, after every renewal and every server move.
  3. Reload on renewal. Every service that uses the certificate needs a reload hook: web server, mail server, anything with its own copy.
  4. Know all your certificates. Certificate Transparency logs list every public certificate issued for your domains; searching them is the quickest way to find the API host and mail server you forgot.
  5. Watch the date from outside. Monitoring that alerts at 21 days left catches a failing renewal while there's still time to fix it calmly.
  6. Keep CAA in step with your CA. When you change CA, change the CAA record first.
  7. Retire TLS 1.0 and 1.1. Browsers dropped them in 2020; keeping them on only helps clients you don't want.

The SSL Certificate Checker covers the outside view in one go: expiry, names, the chain as served, TLS versions and CAA, with the fixed chain when one is needed. If a check points at a DNS problem, DNS Lookup traces the name from the root servers, and WHOIS Lookup shows when the domain itself expires, which is the one renewal no certificate automation will do for you.

Try it now, freeSSL Certificate Checker: Expiry, Chain & TLSCheck a website’s SSL/TLS certificate: when it expires, whether the chain is complete, which names it covers, which TLS versions the server accepts, and who issued it.

More from the blog

All posts →