Running it

How to Check an SSL Certificate and Fix Errors

Check when an SSL certificate expires and why a site shows a certificate error. The four failures, how to read each, and the fix. Free live checker.

Illustration: a browser window with a padlock and a calendar page beside a warning shield

The short answer

To check when an SSL certificate expires, type the domain into an SSL checker and read the "expires" date and the days left. A real checker also tells you whether the certificate is valid at all, because a certificate can have months left and still be rejected by every browser.

The SSL checker on this site makes a live connection to your domain the way a browser does and reports validity, expiry, issuer, the names the certificate covers and the chain. If it says the certificate is invalid, the error message tells you which of four problems you have, and the sections below give the fix for each. If you would rather have it fixed and set to renew itself, our website fixes service covers SSL and HTTPS problems at a fixed price per fix.

Check it in thirty seconds

  1. Open the SSL checker.
  2. Enter the domain, for example example.com, without https://.
  3. Press Check SSL and read four things: the verdict, the expiry date, the names it covers, and the chain.

We ran the checker on real certificates on 11 October 2026, using the test sites at badssl.com, which exist to give each failure on purpose. Here is what the tool said.

Three SSL checker results: expired, wrong host and untrusted, with the exact error text
Three real results from the checker on test sites built to fail. Notice the middle one: its dates are fine, with 78 days left, and it is still invalid.

That middle result is the lesson. A certificate with a comfortable expiry date can still be wrong, because it was issued for different names. So read the verdict first and the date second.

The four failures and what each one means

What the checker or browser saysCauseFix
Certificate has expiredThe end date passedRenew it, then make renewal automatic
Valid for other names, not yoursThe certificate does not list the exact host you visitReissue it to include the host, for example both the bare domain and www
Signed by an unknown authoritySelf-signed, or issued by a certificate authority browsers do not trustReplace it with one from a trusted authority
Works in some places, fails in othersAn intermediate certificate is missing from the serverInstall the full chain the authority gave you

From the live results: expired.badssl.com returned "certificate has expired or is not yet valid", with a date in April 2015. wrong.host.badssl.com returned "certificate is valid for *.badssl.com, badssl.com, not wrong.host.badssl.com". self-signed.badssl.com returned "certificate signed by unknown authority".

Expired

This is the common one, and the one with a clear fix. Renew the certificate, install it, and reload the web server. Then do the part that stops it recurring, covered below.

Name mismatch

A certificate lists the names it covers. If you visit www.example.com and the certificate covers only example.com, the browser rejects it. The checker prints the covered names, so compare them to the address your visitors use. This often appears after adding a subdomain, or when a certificate was bought for the wrong spelling. A related surprise follows the same change. Scheme and host together form the origin a browser compares, so moving a frontend from http to https, or from the bare domain to the www host, gives it a new origin, and an API that allowed the old one starts refusing it. If an application stopped reaching its own backend right after a certificate change, read how to fix a CORS error on your own server.

Untrusted or self-signed

A self-signed certificate is one a server issued to itself. It encrypts the connection, but no browser has a reason to trust it. It is fine for a private test server and wrong for a public website.

Missing intermediate

Browsers trust a short list of root authorities. Your certificate usually links to one through an intermediate certificate, and the server must send it. When the server forgets, some browsers cope and others, such as older phones and many API clients, fail. If your site loads for you but customers or an integration report an error, this is the first thing to suspect. The checker lists the chain, so a chain that is shorter than expected is a clue.

A certificate chain with and without the intermediate certificate sent by the server
The browser already holds the root. Your server has to supply the two links below it, and a missing middle link is the fault that only some visitors see.

A site that loads over HTTPS only after several hops, or never settles, is a different fault: see redirect loop errors and how to check a redirect chain.

Other ways to check

  • In the browser: click the padlock or site information icon next to the address, then the certificate details, and read the "valid to" date. It tells you about that one page in that one browser.
  • From a terminal: the OpenSSL client prints the dates and the issuer.
Shell
openssl s_client -connect example.com:443 -servername example.com </dev/null 2>/dev/null \
  | openssl x509 -noout -dates -issuer -subject

The -servername flag matters, because many servers host several sites and pick the certificate by name. The command is documented in the OpenSSL s_client manual. The checker on this site does the same handshake for you, with a plain-language verdict.

Why certificates expire more often now

Public certificates no longer last for years, and the limit keeps falling. The industry rules for publicly trusted certificates, the CA/Browser Forum Baseline Requirements, set the maximum lifetime by issue date:

Certificate issuedMaximum lifetime
Before 15 March 2026398 days
15 March 2026 to 14 March 2027200 days
15 March 2027 to 14 March 2029100 days
From 15 March 202947 days

Let's Encrypt, a free certificate authority, already issues certificates that last 90 days, and its FAQ recommends renewing every 60 days. It has also announced that its default will fall to 45 days by 2028, in a December 2025 post.

The practical meaning is that anyone who renews a certificate by hand once a year is on borrowed time. The shorter the life, the more renewal has to be automatic.

Stop it from happening again

Work through these in order.

  1. Turn on automatic renewal. Most hosting panels and CDNs do this for you. On your own server, a standard ACME client such as Certbot renews certificates on a schedule.
  2. Check that renewal actually runs. Automatic does not mean working. A renewal can fail quietly when a DNS record changes, a port is closed, or the web server is not reloaded after a new certificate lands.
  3. Watch the expiry date. Put a check on a calendar, or monitor it, so a failure is seen weeks before visitors see it.
  4. Cover every name. Include the bare domain, www, and any subdomain that serves visitors, mail or an API.
  5. Check after changes. After moving hosts, changing DNS or adding a CDN, run the checker again.

The website health checker includes an SSL probe alongside DNS, redirects and security headers, which makes it a useful routine check after any change. The HTTP header checker shows whether HTTPS is enforced with HSTS, and the DNS checker helps when the problem started with a DNS change.

If you are the visitor, not the owner

If you see a certificate warning on a site that is not yours, there is little you can fix. Check your device's date and time first, since a wrong clock makes valid certificates look expired. After that, do not click through the warning on a site where you enter a password or payment details. Tell the site's owner, and send them the checker result. A valid certificate is a weaker signal than most people assume, so when the real question is whether the business behind an unfamiliar site exists rather than whether its encryption works, how to check if a website is genuine or fake runs the registry, certificate and redirect checks that do carry evidence.

Frequently asked questions

How do I check when an SSL certificate expires?

Enter the domain in an SSL checker and read the expiry date and the days left. In a browser, open the certificate details from the padlock and read "valid to". Either way, also check that the verdict says the certificate is valid.

How do I fix an expired SSL certificate?

Renew it with your certificate provider or hosting panel, install the new certificate, and reload the web server. Then set up automatic renewal so it does not repeat.

Why does my site say "your connection is not private"?

The browser could not trust the certificate. The usual reasons are that it has expired, it does not cover the name in the address, it is self-signed, or the chain is incomplete. The checker's error text says which.

How long does an SSL certificate last?

It depends on the issue date and the provider. Under the industry rules, certificates issued since 15 March 2026 last at most 200 days, and the limit falls to 100 days in March 2027. Let's Encrypt certificates last 90 days.

Why does my site work on my laptop but fail on a phone or in an integration?

A missing intermediate certificate is the usual cause. Some browsers fetch a missing link themselves, and phones and API clients often do not. Install the full chain on the server.

Does the checker change anything on my site?

No. It makes a read-only connection, the same as a visitor would, and reads what the server presents.

Browsers show a full-page warning instead of the page, so visitors cannot reach the site until it is fixed. We cover the other reasons a site goes missing in website not showing on Google.

When you want it handled

If a certificate keeps expiring, renewal has been set up but is failing, or you have a mismatch across several subdomains, that is ordinary work for us. Website fixes and maintenance covers SSL and HTTPS problems, including automatic renewal, at a fixed price per fix, with the checks run again afterwards to prove the fix.

Tools mentioned in this post

Services for this

See All Services

Want this built properly?

Send a written enquiry and we reply by email with questions. A call is optional, and free. Then you get the scope in writing and a fixed quote for the first phase.

What happens next

  1. You send a written enquiryTell us the problem.
  2. We reply by emailWith our questions.
  3. A written scope and quoteA call only if you want one.
Based inTamil Nadu, India
ProcessWritten first, a call only if you want one