To check an SSL certificate, open the site in Chrome, click the icon to the left of the address bar, choose Connection is secure, then Certificate is valid, and read Expires On under Validity Period. From a terminal, run openssl s_client -connect example.com:443 -servername example.com and pipe it to openssl x509 -noout -enddate to read the notAfter date.
Key takeaways
- The expiry date is the certificate's notAfter field; after it passes, browsers block the site with a full-page warning.
- Check more than the date: the domain must match the Subject Alternative Name list and the trust chain must be complete.
- Public certificates now last at most 200 days and will drop to 47 days by 2029, so automate renewal and monitoring.
Every SSL certificate has a hard end date printed inside it. The moment it passes, browsers block your site with a full-page warning — and visitors leave. Checking a certificate takes about ten seconds in a browser, or one command in a terminal. Here is how to do it properly, and what to look for beyond the date.
How do you check an SSL certificate?
The fastest way is in your browser: open the site, click the icon to the left of the address bar, open the connection details, and read the certificate's expiry date. For the full picture — chain, issuer, and every domain covered — use an online checker or OpenSSL from a terminal.
| Method | Best for | What you get | Time |
|---|---|---|---|
| Browser | A quick look at one site | Expiry date, issuer, subject | 10 seconds |
| Online checker | Checking any site from any device | Days left, chain, TLS versions, grade | 30 seconds |
| OpenSSL | Scripting and deep inspection | Full certificate details, exact dates | 1 minute |
| curl | A fast terminal check | Issuer, expiry, verification result | 10 seconds |
How do I check an SSL certificate in my browser?
Every desktop browser can show the certificate a site is using. The menus differ slightly, so here are the exact clicks for each one.
Google Chrome
- Open the site and click the icon to the left of the address (the "View site information" icon).
- Click "Connection is secure", then "Certificate is valid".
- In the certificate viewer, look under "Validity Period". "Expires On" is the expiry date.
- The General tab also shows the Subject (issued to) and the Issuer (issued by).
Mozilla Firefox
- Click the padlock, then "Connection secure", then "More information".
- In the Page Info window, click "View Certificate".
- Under "Validity", "Not After" is the expiry date.
Safari (Mac)
- Click the padlock in the address bar, then "Show Certificate".
- Expand "Details" and look for "Not Valid After".
Microsoft Edge
- Click the padlock to the left of the address.
- Click "Connection is secure", then the small certificate icon in the top corner of the pop-up.
- Under "Validity Period", read "Expires On".
How do I check an SSL certificate online?
An online checker connects to your site from the public internet — the same way a visitor's browser does — and reports the expiration date and days remaining, the full trust chain and any missing intermediates, the issuer and validation type, and the supported TLS versions.
To use one, enter your domain and run the check. No sign-up or install is needed. Try it now with our free SSL checker, which reads your certificate and shows how many days are left.
An online check is the best option when you cannot use a terminal, when you want to check a site you do not own, or when you need to see the site exactly as the public internet sees it — including whether the chain is complete. The Entero guide to checking a certificate walks through the same three methods and what each one reveals.
How do I check an SSL certificate with OpenSSL?
OpenSSL reads the certificate straight from the live server, which makes it the most reliable method for scripting and for checking a specific server behind a CDN. The -servername flag matters: without it, a server hosting many sites may return the wrong certificate.
Full handshake and details:
openssl s_client -connect example.com:443 -servername example.com
Just the validity dates:
echo | openssl s_client -connect example.com:443 -servername example.com 2>/dev/null | openssl x509 -noout -dates
This prints two lines, for example notBefore=Jun 1 00:00:00 2026 GMT and notAfter=Aug 30 23:59:59 2026 GMT. The notAfter line is the expiry date.
A yes-or-no answer you can script:
openssl s_client -connect example.com:443 -servername example.com 2>/dev/null | openssl x509 -noout -checkend 2592000
This exits with success if the certificate will still be valid in 30 days (2,592,000 seconds), and fails if it expires sooner — ideal for a monitoring script or a scheduled check.
A quick check with curl:
curl -vI https://example.com 2>&1 | grep -E "expire|issuer|subject|SSL"
curl prints the issuer, the expiry date, and the verification result. On Windows, run these commands in Git Bash, which ships with OpenSSL.
What should you check on a certificate?
The expiry date is only one of five things worth checking. A certificate can be unexpired and still break your site.
- Validity (notBefore / notAfter): the window during which the certificate is trusted. After notAfter, browsers block the site.
- Subject Alternative Name (SAN): the list of domains the certificate covers. Your domain must appear here exactly — a certificate for
example.comdoes not automatically coverwww.example.comunless it is listed. - Issuer: the certificate authority that signed it. Browsers trust a fixed set of public CAs; a self-signed certificate or one from an unknown CA triggers a warning.
- Chain: the chain from your certificate up to a trusted root, via intermediate certificates. If the server does not send the intermediates, some visitors see an error even though your browser looks fine.
- Key and signature: the key type and size, and the signature algorithm. Old algorithms such as SHA-1 are no longer trusted.
How long do SSL certificates last now?
Certificates are getting much shorter. The CA/Browser Forum voted in April 2025 to shorten publicly trusted TLS certificates in stages, as DigiCert explains. The current maximum is 398 days for certificates issued before 15 March 2026.
| Certificates issued | Maximum validity | Domain validation reuse |
|---|---|---|
| Before 15 March 2026 | 398 days | 398 days |
| From 15 March 2026 | 200 days | 200 days |
| From 15 March 2027 | 100 days | 100 days |
| From 15 March 2029 | 47 days | 10 days |
That schedule means manual renewal is no longer realistic: from 2029, a site will need a new certificate roughly every six weeks, and the CA's proof of domain control will be at most 10 days old at issuance. Automate renewal with ACME (the protocol behind Let's Encrypt and most hosting auto-renewal) and monitor expiry from the outside.
What do common SSL certificate errors mean?
When a certificate check fails, the browser error usually tells you which of the five checks above failed.
| Error | What it means | Fix |
|---|---|---|
| NET::ERR_CERT_DATE_INVALID | Expired or not-yet-valid certificate | Renew the certificate; check the server clock |
| NET::ERR_CERT_COMMON_NAME_INVALID | Domain not in the SAN list | Reissue with the correct domains listed |
| NET::ERR_CERT_AUTHORITY_INVALID | Issuer not trusted, or self-signed | Use a publicly trusted CA |
| Incomplete chain | Missing intermediate certificate | Install the full chain bundle from your CA |
| Mixed content | Page loads some resources over HTTP | Update links to HTTPS and check headers |
If the warning is already showing, click "Not secure" in Chrome's address bar to reach the certificate details, or "Show Certificate" in Safari. If the end date is in the past, expiry is your problem. Also check your security headers while you are there with the free security headers checker.
How do you stop certificates expiring again?
Checking by hand works once, but it does not scale. Staying safe needs automation: renewal that happens on its own, alerts that arrive before expiry, and an inventory that covers every certificate you own.
- Automate renewal. Use ACME-based renewal through your host or certificate provider so certificates renew themselves before expiry.
- Monitor from the outside. Set up expiry alerts at 30, 14, and 7 days before expiry, checked from the public internet — not from inside your network.
- Keep an inventory. List every certificate you own, including subdomains, internal services, and certificates held by suppliers. Our guide to what an attack surface is explains why forgotten subdomains are a risk.
- Test after renewal. After every renewal, check the live site with an online checker and confirm the chain is complete.
- Plan for 47 days. With lifetimes shrinking, build renewal automation now rather than in 2029.
The bottom line
Checking an SSL certificate is quick: ten seconds in a browser, one command with OpenSSL, or thirty seconds with an online checker. The habit that matters is checking before expiry, not after a warning — and automating renewal so the date stops being a risk at all.
Start by checking your own site right now with the free SSL checker. If it shows fewer than 30 days left, renew today, then set up monitoring so you never have to scramble again.
Frequently asked questions
How do I check an SSL certificate in Chrome?
Open the site, click the icon to the left of the address bar, choose Connection is secure, then Certificate is valid. Under Validity Period, Expires On is the expiry date. The General tab also shows who the certificate was issued to and by whom.
How do I check an SSL certificate from the command line?
Run openssl s_client -connect example.com:443 -servername example.com and pipe the output to openssl x509 -noout -enddate. The notAfter line is the exact moment the certificate stops being trusted.
What does notAfter mean on a certificate?
notAfter is the end of the certificate's validity period. After that date and time, browsers no longer trust the certificate and show a full-page security warning instead of the site.
How long are SSL certificates valid now?
Publicly trusted certificates issued from 15 March 2026 last at most 200 days. The maximum drops to 100 days in March 2027 and to 47 days in March 2029 under the CA/Browser Forum schedule.
Why does Chrome say my certificate is not secure when it has not expired?
Common causes are a domain name that is not in the certificate's Subject Alternative Name list, a missing intermediate certificate in the chain, a certificate from an untrusted issuer, or the wrong date and time on the visitor's device.
Can I check an SSL certificate without visiting the site?
Yes. Use an online SSL checker, which connects to the server from the public internet, or use openssl from a terminal. Both show the expiry date, issuer, and chain without opening the site in a browser.
What should I do if my SSL certificate has expired?
Renew it immediately through your certificate provider or hosting control panel, install the new certificate, and test the site from a clean browser. Then set up expiry alerts or automated renewal so it does not happen again.
Sources
- DigiCert — TLS Certificate Lifetimes Will Officially Reduce to 47 Days
- Entero — How to Check a Website's SSL Certificate
- SSL Studio — How to check when an SSL certificate expires
- Harshil Barot — How to Check SSL Certificate Expiration Date
- SecureSiteReady — SSL Certificate Expired? How to Check and Fix It
The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.
Checked against the CA/Browser Forum certificate lifetime schedule and browser certificate viewer documentation.
How we write and fact-check →