Reading a certificate: what this check covers
An SSL checker opens a TLS connection to a domain on port 443, reads the certificate the server presents, and reports who it was issued to, who issued it, when it expires, whether a client would trust it and which TLS version was negotiated.
Expired certificates are one of the few website failures with a hard, visible consequence: browsers replace the page with a full-screen interstitial that most visitors will not click through. They are also entirely preventable, because the expiry date is public and readable at any time.
This page explains precisely which checks this tool performs, which ones it deliberately does not, and how to read each message — including the cases where a certificate is inside its dates but still not trusted.
Exactly what this check does
A short, honest spec is more useful than a badge. Here is the connection this tool makes and the fields it reads.
- Connection
- A TLS handshake to port 443 on the hostname you enter, with SNI set so multi-tenant hosts return the right certificate. The hostname is resolved first (6-second limit) and the handshake gives up after 8 seconds. The check always uses port 443, whatever port you paste.
- Issued to
- The certificate’s subject Common Name. Browsers do not match hostnames against it: they use the list shown as Also Covers, so Issued To can look right while the list is missing your name.
- Issued by
- The issuing certificate authority’s organisation name — Let’s Encrypt, DigiCert, Google Trust Services and so on.
- Validity window
- The start and end dates, plus the number of days remaining from today.
- Trust check
- The certificate is also checked the way a client would check it: its chain must lead to a root in the trusted list built into our server’s software, and the hostname must match one of the names it covers. The outcome is either trusted or a specific error code such as ERR_TLS_CERT_ALTNAME_INVALID.
- Green banner
- “SSL Valid” appears only when the certificate is inside its dates and trusted. If either fails the banner turns red and says which: expired or not yet valid first, then not trusted with the error code.
- Other fields
- The TLS version negotiated in the handshake (for example TLSv1.3) and the other names the certificate covers (up to six are shown, then a count of the rest).
- Input tolerance
- Paste a full URL if you like; the protocol, path, query string and port are removed before connecting.
Reading the trust messages
Codes are shown exactly as the server’s TLS library reports them. Those below appeared when this tool was run against public test hosts at badssl.com, which serve deliberately broken certificates. Other codes exist; the method is the same — read the code, then fix the named problem.
| Message shown | What it means | What to do |
|---|---|---|
| SSL Valid — N days remaining | The certificate is inside its dates, its chain leads to a trusted root and the hostname you checked is one of the names it covers. | Nothing today. Note the days remaining and make sure renewal is automated. |
| SSL Certificate Expired N days ago | Today is after the certificate’s end date. | Renew it and install the new certificate. If you already did, confirm the server is actually serving the new one and not an old copy. |
| SSL Certificate Not Yet Valid | The certificate’s start date is still in the future. | Wait for the start date, or reissue the certificate with the right dates. |
| Certificate Not Trusted — ERR_TLS_CERT_ALTNAME_INVALID | The hostname you checked is not among the names the certificate covers. A wildcard such as *.example.com matches exactly one label, so it covers www.example.com but not example.com or a.b.example.com. | Reissue the certificate so it lists that exact name, or redirect the uncovered name to a covered one. |
| Certificate Not Trusted — UNABLE_TO_VERIFY_LEAF_SIGNATURE | The server did not send the intermediate certificate that links its certificate to a trusted root. | Install the full chain on the server (authorities usually supply it as a “fullchain” or “bundle” file). Missing intermediates are a common reason a site works in one browser but fails in curl or on some Android versions. |
| Certificate Not Trusted — DEPTH_ZERO_SELF_SIGNED_CERT | The certificate signed itself instead of being issued by a certificate authority. | Fine for local testing. Replace it with a certificate from a public authority for anything visitors use. |
| Certificate Not Trusted — SELF_SIGNED_CERT_IN_CHAIN | The chain ends at a root that is not in the trusted list, such as a private company authority. | Use a publicly trusted certificate, or install the private root on the devices that need it. |
What this tool does not verify
Direct answer: a green banner means the certificate is in date, its chain leads to a trusted root and it covers the hostname you typed. These are the things it still cannot tell you.
Revocation
A certificate can be revoked long before it expires, for example after a key leak. Revocation status is published via OCSP and CRLs and is not checked here: when this tool was run against a public test host that serves a revoked certificate, it reported the certificate as valid.
Trust differs between devices
Trust is judged against the root certificates built into our server’s software. Browsers and operating systems keep their own lists, so a certificate can pass here and still fail on an older device that lacks a newer root, or the reverse.
Protocol and cipher configuration
The tool shows which TLS version was negotiated but does not grade protocol support or cipher suites. A server that only offers very old TLS versions may fail the handshake and be reported as not serving HTTPS rather than being scored. Configuration grading needs a dedicated TLS scanner.
Only the name and port you typed
The check connects to port 443 on the exact hostname you enter. The www and non-www names, other subdomains and services on other ports are separate checks.
Mixed content
A perfect certificate does not stop a browser removing the padlock because one image or script is still loaded over http://. Check the page source after a migration.
Three real results and what to do about them
Example 1: A healthy certificate
SSL Valid — 55 days remaining
Issued By: SSL Corporation
Protocol: TLSv1.3
Also Covers: example.com, *.example.comNone. Re-check before the last month.This is a real result for example.com when this page was checked. A healthy number of days is expected; the value of the check is catching the day it stops being healthy, so set a reminder instead of relying on memory.
Example 2: Green, but the certificate is revoked
SSL Valid — 44 days remaining
Issued By: Let’s Encrypt
Protocol: TLSv1.2Do not treat green as proof the certificate is still good.badssl.com deliberately serves a revoked certificate. This tool reports it as valid because revocation is not checked. If you suspect a key leak, revoke and reissue through your certificate authority rather than relying on any checker to notice.
Example 3: In date, but not trusted
Certificate Not Trusted — ERR_TLS_CERT_ALTNAME_INVALID
Days Left: 58
Issued By: Let’s Encrypt
Also Covers: *.badssl.com, badssl.comFix hostname coverage or redirect.The certificate is current and issued by a real authority, but a wildcard matches only one label, so wrong.host.badssl.com is not covered. Either reissue the certificate with that name in it, or redirect the uncovered hostname to a covered one — the .htaccess redirect generator produces the canonical www rule for Apache.
Certificate checklist for a launch or migration
- Check both the apex domain and the www hostname — they are separate names and can behave differently.
- Confirm the DNS records point at the new server before expecting a new certificate to issue; validation fails otherwise. Verify with the DNS checker.
- If the banner says Certificate Not Trusted, read the code before changing anything — the table above maps the common ones to a fix.
- Set a calendar reminder at 30 days remaining, even with automation, so a silent renewal failure surfaces with time to spare.
- Force HTTPS at the server rather than in application code so redirects happen before any page renders.
- After going live, re-run this check plus a page load test to catch mixed content and slow TLS handshakes.
- Keep a note of the issuing CA and the renewal method — the person debugging this at 2am may not be you.
Sources and further reading
Where the technical statements on this page come from: standards, specifications and the official documentation of the tools and services involved.
- RFC 5280: Internet X.509 Public Key Infrastructure Certificate and CRL Profile — the certificate fields shown here, including the validity period and issuer
- RFC 9525: Service Identity in TLS — how a hostname is matched against a certificate, including why a wildcard covers only one label
- MDN: Transport Layer Security (TLS) — how TLS secures an HTTPS connection and why a site needs a certificate
- MDN: Mixed content — why a valid certificate does not stop a browser flagging insecure resources
- Let’s Encrypt: Integration Guide — the recommendation to renew when a third of the lifetime is left, which is the basis for the 30-day alert
- badssl.com — public test hosts with deliberately broken certificates, used to produce the messages in the table above
How this page is maintained
The port, SNI behaviour, time-outs, trust check and the exact fields returned were read from this tool’s server code. Every message and code in the table was produced by running that code against public test hosts at badssl.com, and a revoked test certificate was reported as valid, which is why revocation is listed as not checked.
Written and reviewed by the ToolsRacks editorial team. Last reviewed: . Found an error? Tell us — see our editorial standards.