ssl-guides 2026-12-02 ⏱ 3 min read

Validate an SSL Certificate: the Six Checks

Validate an SSL Certificate: the Six Checks

A certificate can look installed and still fail for some visitors. Validating it means checking six things: the dates, the hostname, the chain, the signature, the key pair and the protocols. Each one fails in its own way.

Validate an SSL certificate: the six checks

CheckFailure looks like
DatesExpired or not yet valid certificate warning
HostnameName mismatch error, often when www or the bare domain is missing
ChainWorks in desktop browsers, fails in mobile apps or API clients
SignatureWeak or unsupported algorithm
Key pairServer refuses to start or handshake fails
ProtocolsOld clients cannot connect, or modern clients reject old TLS

Quick check in a browser

Run the domain through the SSL Checker.

It reads what the server sends and shows validity dates, subject names, issuer and chain. For many domains at once use the Bulk SSL Checker.

Check with OpenSSL

# Dates and names of the live certificate
echo | openssl s_client -connect example.com:443 -servername example.com 2>/dev/null \
  | openssl x509 -noout -dates -subject -ext subjectAltName
# Verify the chain against the system trust store
openssl s_client -connect example.com:443 -servername example.com -verify_return_error </dev/null

Look for "Verify return code: 0 (ok)". A code such as 21 (unable to verify the first certificate) usually means a missing intermediate.

Check a certificate file before installing

openssl x509 -in certificate.crt -noout -text

Compare the subject names and dates with what you ordered. Then confirm the file matches your private key:

openssl x509 -in certificate.crt -noout -pubkey | openssl sha256
openssl pkey -in private.key -pubout | openssl sha256

The two hashes must be identical. The SSL Decoder also reads a pasted certificate or CSR in the browser.

Validate an SSL certificate: fix the usual failures

ProblemFix
ExpiredRenew and install the new certificate, then restart the web server
Name mismatchReissue with every hostname in the SAN list
Incomplete chainInstall the full chain: leaf first, intermediates after
Key mismatchReissue using the key that is on the server, or install the matching key
Old protocols onlyEnable TLS 1.2 and 1.3

Make validation routine

Check after every renewal, because renewal scripts fail quietly. Put the expiry date in a calendar or monitor it from outside your own network, and look at the result from a client that is not your server, since a local cache or a CDN can hide the real state.

What validation cannot tell you

A valid certificate proves that a CA verified control of the domain at the time of issuance. It does not prove that the website is run by a trustworthy organisation, and it does not say anything about the application behind it. For revocation, browsers use mechanisms that differ between vendors, and a server-side check cannot predict them perfectly. Use validation to catch configuration errors, and security headers and good operations for the rest.

Related reading: the certificate checker, fixing chain errors and the certificate decoder.

Frequently Asked Questions

How do I know if my certificate is about to expire?

Read the notAfter date with the OpenSSL command above, or check it in the SSL Checker. Set an alert that fires while at least a third of the lifetime is left.

Why does it work in Chrome but not in curl?

Chrome can fetch missing intermediates itself. curl and many API clients cannot, so the server must send the full chain.

Is a certificate for example.com valid for www.example.com?

Only if www.example.com is also listed in the SAN field or covered by a wildcard.

Can I validate a certificate offline?

Yes, OpenSSL can verify a certificate file against a CA bundle without a network connection, though it cannot check revocation then.

Does a passing validation mean the site is trustworthy?

No. It means a CA verified control of the domain. It says nothing about the business behind it.

🔒 Test Your Website SSL Certificate Now
Run Free SSL Check →

✅ Post-Installation Verification & SEO Checklist

After applying the steps above, run through this 5-point checklist to prevent browser warnings and protect your Google SEO rankings:

  • Verify full CA chain trust and TLS 1.3 support using our Live SSL Checker.
  • Scan for Mixed Content HTTP links and check HSTS/CSP headers on Security Headers Checker.
  • Enforce a permanent 301 HTTP-to-HTTPS redirect with our HTTPS Redirect Generator.
  • Confirm both root and www versions resolve cleanly to one canonical HTTPS URL.
  • Verify your HTTPS property and sitemap.xml inside Google Search Console and Bing Webmaster Tools.
Technically Reviewed by TryFreeSSL Security Team
Last updated: 2026-12-05
About Us →

Free SSL Certificates, Live SSL Checker & CSR Generator

Issue trusted Let's Encrypt SSL certificates in 60 seconds with zero server setup.

Related Articles

🤖 TryFreeSSL AI Assistant