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

Check an SSL Certificate's Expiration Date

Check an SSL Certificate's Expiration Date
Quick Answer: To check an SSL certificate expiration date, click the padlock in your browser, open the certificate details and read Valid to. For scripts use openssl x509 -noout -enddate. The Live SSL Checker shows the date for any public site.

Check an SSL certificate expiration date in the browser

BrowserSteps
Chrome or EdgeClick the padlock or site icon, then Connection is secure, then Certificate is valid. Read the Valid to date
FirefoxPadlock, Connection secure, More information, View Certificate
SafariPadlock, Show Certificate, expand Details

Menu labels change between versions, but the certificate viewer always lists the validity period.

Check an SSL certificate expiration date from the command line

# Remote host
echo | openssl s_client -servername example.com -connect example.com:443 2>/dev/null \
  | openssl x509 -noout -dates

# Local file
openssl x509 -in certificate.crt -noout -enddate

# Will it expire within 14 days? exit code 1 means yes
openssl x509 -in certificate.crt -noout -checkend 1209600

The last command takes a number of seconds, so 14 days is 1209600. It is handy in monitoring scripts.

Check an SSL certificate expiration date online

Enter your domain into the Live SSL Checker to see the issuer, expiry date and chain. To read a certificate file you already have, use the SSL Decoder. Both let you check a site you do not own.

What the dates mean

notBefore is the first moment the certificate is valid, and notAfter is the last. After that moment browsers show a full-page warning. Public certificates are limited by CA/Browser Forum rules: 200 days maximum since 15 March 2026, 100 days from 15 March 2027 and 47 days from 15 March 2029 (ballot SC-081v3). Let's Encrypt certificates last 90 days now, 64 days from 10 February 2027 and 45 days from 16 February 2028 (Let's Encrypt announcement). Times are in UTC.

A simple renewal timeline

WhenAction
A third of the lifetime left (30 days on a 90-day certificate)Automatic renewal should run. Check that it did
14 days leftRenewal has failed. Renew by hand and install
7 days leftEscalate if still pending
After installRe-check the date and the chain

Automate if you can. For alerts, see our guide on setting up SSL expiration alerts.

If the date looks wrong

You may be looking at a CDN edge certificate instead of the origin, an old certificate cached by a proxy, or a different certificate chosen by SNI because you tested the wrong hostname. Always pass -servername with openssl and check each hostname. After renewal, remember to reload the web server, because it keeps the old certificate in memory until you do.

Related reading: SSL certificate expiration alerts and the free SSL certificate checker.

Frequently Asked Questions

Where is the expiry date shown?

In the certificate details, under Validity, as Not After or Valid to.

Do all certificates last one year?

No. Public certificates can last at most 200 days since 15 March 2026, and the maximum keeps falling (ballot SC-081v3). Let's Encrypt issues 90-day certificates now.

What happens when it expires?

Browsers block visitors with a security warning, and API clients usually fail.

Can I check someone else's site?

Yes. The certificate is public information.

🔒 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