Security · 14 November 2026 · 3 min read

SSL Certificate Errors Explained: Expiry, Chain and Name

By

Why browsers show certificate warnings, how to fix expired certificates, missing intermediates and name mismatches, how Let’s Encrypt renewal works, and how to read one.

SSL Certificate Errors Explained: Expiry, Chain and Name

“Your connection is not private” is the fastest way to lose visitors: most people close the tab, and they are right to. Behind that warning there are only a few common causes, and each one shows up clearly when you look at the certificate itself. This guide explains them in the order you are most likely to meet them. To see what is inside a certificate, paste it into the SSL certificate decoder.

What a certificate actually says

A TLS certificate (still widely called SSL) is a signed statement from a certificate authority: “this public key belongs to these domain names, from this date until that date.” The browser checks three things: the dates are valid, the name in the address bar is listed, and the signature leads to an authority it trusts. Almost every certificate error is one of those three failing.

To fetch a site’s certificate from the command line:

openssl s_client -connect example.com:443 -servername example.com -showcerts </dev/null

Copy the block from -----BEGIN CERTIFICATE----- to -----END CERTIFICATE----- into the decoder. For a quick look at the essentials:

openssl x509 -in cert.pem -noout -subject -issuer -dates -ext subjectAltName

1. The certificate has expired

Chrome reports this as NET::ERR_CERT_DATE_INVALID. Check the “Not After” date. If it is in the past, the certificate must be renewed, and the web server reloaded so it actually uses the new file. Renewing without reloading nginx or Apache is a classic: the new certificate sits on disk while the old one is still served.

If the certificate is valid but only one visitor sees the error, look at their computer’s clock. A device with a wrong date rejects perfectly good certificates.

2. Missing intermediate certificate

Authorities do not sign your certificate with their root directly but with an intermediate certificate. Your server must send both: your certificate followed by the intermediate, called the chain. If the intermediate is missing, the site may work in desktop Chrome, which can fetch missing intermediates on its own, while failing in other browsers, on some phones, in curl, in Python scripts and in payment or API integrations.

  • With Let’s Encrypt and nginx, point ssl_certificate to fullchain.pem, not cert.pem.
  • With a purchased certificate, append the intermediate bundle from your provider after your certificate in the same file, in that order.
  • Paste the full chain into the decoder: it checks that each certificate names the next one as its issuer.

3. The name does not match

ERR_CERT_COMMON_NAME_INVALID means the domain in the address bar is not in the certificate’s Subject Alternative Names (SAN) list. Browsers look only at the SAN list today, not the old Common Name field. Typical causes:

  • The certificate covers example.com but not www.example.com, or the other way round. Include both.
  • A wildcard covers exactly one level: *.example.com matches shop.example.com, but neither example.com itself nor a.shop.example.com.
  • The domain points to a different server or a shared host that answers with its own default certificate. Check where the name really points with DNS Lookup, especially after a migration. A CAA record that does not list your authority can also block issuing or renewal.

Let’s Encrypt, renewal and shorter lifetimes

Let’s Encrypt certificates are free and valid for 90 days. The short life is intentional: renewal is meant to be automatic. Certbot and similar clients install a timer that tries to renew once or twice a day and replaces the certificate when about 30 days are left. Check yours:

systemctl list-timers | grep -i certbot
sudo certbot renew --dry-run

Renewals fail silently more often than people think: a firewall that blocks port 80 for the HTTP challenge, a changed DNS record, a web server config that no longer serves the challenge folder. Let’s Encrypt stopped sending expiry reminder emails in 2025, so your own monitoring has to catch it.

Paid certificates are getting shorter too. The industry rules set by the CA/Browser Forum reduce the maximum lifetime of public certificates step by step: 200 days since March 2026, with further reductions planned down to 47 days by 2029. Manual yearly renewal is becoming a thing of the past, whichever authority you use.

Our take

Automate renewal, then monitor it anyway. An uptime monitor that warns when a certificate has fewer than 14 days left costs nothing and catches the silent failures. After every server move or config change, test with curl -v https://yourdomain as well as a browser, since curl does not hide a missing intermediate. And never paste a private key into any website, including decoders: certificates are public, keys are not.

Anthony ParkerNetwork and systems engineer

Anthony has worked in IT for more than 17 years: office and field networks, servers, telephony, user support and security patching in international organisations. He writes about networking, security, developer tools and calculators.