“Works in Chrome, fails on the phone” is the signature of an incomplete certificate chain. The site isn’t broken and the certificate isn’t expired — the server simply doesn’t send the full set of certificates a client needs to verify it. This article explains the chain, shows how to check yours, and how to fix it.

What the certificate chain is

A TLS certificate is signed by another certificate, which is signed by another, up to a root certificate that clients trust out of the box. Your server presents a chain: the leaf (your domain’s certificate), then intermediate(s), then — implicitly — the root, which lives in the client’s trust store and is not sent over the wire.

When a server sends only the leaf, clients have to figure out the rest by themselves. Desktop browsers often can (they cache intermediates and can fetch them), so the site works for you — while Android apps, Java services, older curl builds and various APIs reject the connection with a validation error. Same server, same certificate, different results.

Typical symptoms

  • Browser: padlock, everything fine.
  • Android app / WebView: “SSL certificate validation failed”.
  • Java client: “unable to find valid certification path to requested target”.
  • curl on some systems: “unable to get local issuer certificate”.
  • Monitoring or webhook integrations suddenly stop connecting after you (or your host) re-issued the certificate.

How to check the chain

With openssl — look for the depth: a healthy chain shows your leaf at depth 0 and intermediates above it, ending before the root:

openssl s_client -connect example.com:443 -servername example.com -showcerts

One certificate in the reply with a self-signed subject is a red flag: that’s usually the leaf alone. Also check the served chain is ordered leaf-first — some clients tolerate any order, some don’t.

For a list of hosts, a bulk SSL certificate check reports expiry, issuer and whether the hostname matches for every domain at once — the fastest way to catch the one server in fifty that was re-issued without the intermediate. For a quick single-domain look, the instant SSL checker shows the essentials without a terminal. And if catching expiring certificates is the goal, put the domains on a watchlist — it warns you before the deadline, not after the outage.

How to fix an incomplete chain

  1. Get the intermediate bundle from your CA. Issuers publish “full chain” / “CA bundle” files — for Let’s Encrypt it’s fullchain.pem, for commercial CAs a downloadable intermediate bundle.
  2. Configure the server to serve the whole chain (except the root): nginx — ssl_certificate must point to a file containing leaf followed by intermediates; Apache — SSLCertificateChainFile (or the same combined file); CDNs like Cloudflare handle it for you, but origin certificates behind them follow the same rule.
  3. Never paste the root into the served chain. It’s useless over the wire (clients already have it) and just wastes bytes — some stacks even warn about it.
  4. Re-test with openssl and from an external client (mobile network, not office Wi-Fi) before declaring victory.

Two look-alike problems

  • Wrong hostname match: validation fails with a fully complete chain if the certificate doesn’t cover the exact name (missing wildcard level, or example.org instead of www.example.org). Check the SAN list, not just CN.
  • Expired intermediate: in 2024 several widely used intermediates expired and broke sites that looked “fine in the browser”. Chains age too — re-check after CA-side changes.

Audit your certificates now: run a bulk SSL check over your domain list and see every expiry, issuer and chain verdict in one report.