Skip to content
XUtilHub

How to Check an SSL Certificate and When It Expires

XUtilHub Team ·

An expired SSL certificate turns your website into a full-page "Your connection is not private" warning. Most visitors leave immediately. Here's how to check a certificate, understand the result and fix the common errors.

What an SSL certificate does

An SSL (technically TLS) certificate does two jobs:

  1. Encryption. Data between the visitor and your site can't be read or changed in transit.
  2. Identity. A trusted certificate authority (CA) has confirmed that whoever controls the server also controls the domain.

The padlock in the address bar means both checks passed.

How to check a certificate

Enter the domain in the SSL checker. It connects to the server like a browser and reports:

  • Whether the certificate is trusted
  • Days until expiry
  • Who issued it
  • Which domain names it covers
  • The TLS version and cipher
  • The full certificate chain

In a browser, you can also click the padlock and view the certificate details.

Certificate lifetimes are getting shorter

Publicly trusted certificates can currently be valid for at most 398 days, and Let's Encrypt certificates last 90 days. The CA/Browser Forum has agreed to shorten maximum lifetimes in stages over the next few years. In practice, that means automatic renewal is no longer optional.

Common errors and fixes

Certificate expired. Renew it now, then find out why auto-renewal failed. With Let's Encrypt, check that certbot renew (or your host's renewal job) runs on a schedule and that port 80 or your DNS challenge still works.

Name mismatch. The certificate covers example.com but not www.example.com, or the other way round. Reissue it including every name visitors use.

Missing intermediate certificate. The server sends only its own certificate, not the intermediate that links it to a trusted root. Desktop browsers sometimes cope; phones and apps often don't. Install the full chain (fullchain.pem with Let's Encrypt).

Self-signed certificate. Fine for internal testing, never for a public site. Replace it with one from a trusted CA.

Old TLS versions. TLS 1.0 and 1.1 are deprecated. Configure your server for TLS 1.2 and 1.3.

Don't forget the rest of HTTPS

  • Redirect HTTP to HTTPS with a permanent redirect. Check it with the redirect checker.
  • Add HSTS so browsers always use HTTPS. Check your headers with the HTTP headers checker.
  • Fix mixed content: images or scripts loaded over plain http:// on an HTTPS page trigger warnings.

Set a reminder anyway

Even with automation, put the expiry date in your calendar two weeks early. A quick check with the SSL checker takes seconds and can save a day of lost visitors.

Tools mentioned in this article

← All articles