ismysiteup
FeaturesPricingToolsBlogSign InGet Started
ismysiteup

Free uptime monitoring with alerts on WhatsApp, Telegram, Slack and email. Know before your client does.

contact@ismysiteup.netInstagram

Product

  • Uptime monitoring
  • Apps & Widgets
  • Server monitoring
  • API tools & Data Monitors
  • Pricing

Resources

  • Free tools
  • Is it down?
  • Blog
  • HTTP status codes
  • API docs
  • Alert channels
  • Compare

Legal

  • Terms of Service
  • Privacy Policy

© 2026 Sea Jay Media Digital Marketing LLC. All rights reserved.

The service is provided as is. See the Terms.

HomeBlogHow-To GuidesHow to Check When an SSL Certificate Expires (3 Easy Ways)
How-To Guides

How to Check When an SSL Certificate Expires (3 Easy Ways)

October 29, 2026
10 min read

Every SSL certificate has a hard end date, and the moment it passes, browsers block your site with a full-page warning. If you're wondering how to check when an SSL certificate expires, you don't need special software. The date is printed inside the certificate itself, and you can read it in your browser, with one terminal command, or with a free online checker. This guide walks through all three, then shows how to stop checking by hand.

Short answer: click the padlock (or "site information" icon) next to the address bar, open the certificate, and look for Expires On (Chrome, Edge) or Not After (Firefox, Safari). From a terminal, run:

openssl s_client -connect example.com:443 -servername example.com </dev/null 2>/dev/null | openssl x509 -noout -enddate

It prints one line like notAfter=Jan 9 09:00:18 2027 GMT. That's your expiry date.

If you want the story of why expired certificates cause so much damage, read SSL certificate expiry: the silent outage that costs you sales. This post is the practical side: finding the date, and getting warned before it arrives.

How to check when an SSL certificate expires: 3 ways at a glance

Method Best for What you get Time needed
Browser padlock A quick look at one site Exact expiry date and time, issuer 10 seconds
openssl command Developers, servers, scripts Exact notAfter date, a pass/fail "expires within N days" test, the full chain 30 seconds
Online SSL expiry checker Checking any site from any device Days left, issuer, often chain and config problems too 30 seconds
Automatic monitoring Never forgetting again An alert before the date, plus uptime checks 2 minutes, once

Method 1: Check the SSL certificate expiration date in your browser

Every desktop browser can show the certificate a site is using. The menus differ a little, so here are the exact clicks.

Google Chrome

  1. Open the site and click the icon to the left of the address (the "View site information" icon, which looks like two sliders).
  2. Click Connection is secure, then Certificate is valid.
  3. In the Certificate Viewer, look under Validity Period. Expires On is the expiry date.

Microsoft Edge

  1. Click the padlock to the left of the address.
  2. Click Connection is secure, then the small certificate icon in the top corner of the pop-up.
  3. Under Validity Period, read Expires On.

Mozilla Firefox

  1. Click the padlock, then Connection secure, then More information.
  2. In the Page Info window, click View Certificate.
  3. A certificate tab opens. Under Validity, Not After is the expiry date.

Safari (Mac)

  1. Click the padlock in the address bar, then Show Certificate.
  2. Expand Details and look for Not Valid After.

One caveat: the browser shows the certificate your connection received. If your site sits behind a CDN or several servers, other visitors (or your origin server) may be using a different certificate with a different date. The command-line method below lets you check each one directly.

Method 2: Use an openssl command to check certificate expiration

On Mac, Linux, or Windows with WSL or Git Bash, openssl is usually already installed. This is the fastest way to check SSL certificate expiration from the command line, and it's the only method you can script.

Check a live website's expiry date

openssl s_client -connect example.com:443 -servername example.com </dev/null 2>/dev/null | openssl x509 -noout -enddate

Here's what each part does:

  • s_client -connect example.com:443 opens a TLS connection to the server, just like a browser.
  • -servername example.com sends SNI (the hostname). Don't skip it. Servers and CDNs that host many sites pick the certificate by name, so without it you can get the wrong site's certificate.
  • </dev/null closes the connection straight away so the command doesn't hang.
  • openssl x509 -noout -enddate reads the certificate and prints only the expiry line.

The date ends in GMT, so convert it to your own time zone before you plan a renewal.

See both dates and the issuer

Swap -enddate for -dates to see when the certificate started and ends, and add -issuer to see who issued it:

openssl s_client -connect example.com:443 -servername example.com </dev/null 2>/dev/null | openssl x509 -noout -dates -issuer
notBefore=Oct 11 09:00:19 2026 GMT
notAfter=Jan  9 09:00:18 2027 GMT
issuer=C=US, O=Let's Encrypt, CN=YR2

Test whether it expires soon with -checkend

-checkend takes a number of seconds and answers one question: will this certificate expire within that window? For 30 days, use 2592000 (30 × 86,400):

openssl s_client -connect example.com:443 -servername example.com </dev/null 2>/dev/null | openssl x509 -noout -checkend 2592000

It prints Certificate will not expire and exits with 0, or Certificate will expire and exits with 1. That exit code makes it easy to drop into a cron job or CI pipeline.

Show the days left

To turn the date into a countdown on Linux (GNU date):

END=$(openssl s_client -connect example.com:443 -servername example.com </dev/null 2>/dev/null | openssl x509 -noout -enddate | cut -d= -f2)
echo $(( ($(date -d "$END" +%s) - $(date +%s)) / 86400 )) days left

Check a certificate file, a mail server, or with curl

  • A file on disk: openssl x509 -in /path/to/cert.pem -noout -enddate
  • Let's Encrypt with Certbot: sudo certbot certificates lists every certificate it manages with its expiry date and days remaining.
  • A mail server: change the port, for example -connect mail.example.com:993 for IMAPS or :465 for SMTPS.
  • The origin behind a CDN: connect to the origin's IP but keep the real hostname, -connect 203.0.113.10:443 -servername example.com. The CDN's edge certificate and your origin certificate expire separately.
  • With curl: curl -svI https://example.com 2>&1 | grep -i "expire date" works in most Linux and Mac builds. If nothing prints, your curl build doesn't show certificate details, so use openssl.

Method 3: Use an online SSL certificate expiry checker

If you're on a phone, a locked-down work laptop, or you just don't want a terminal, an online checker does the same job from the outside.

  • ismysiteup instant check: paste a URL into the free instant website checker on our homepage. With no account, it shows the HTTP status, response time, server location, and the SSL certificate's days remaining and issuer, plus how many days are left on the domain registration. It allows 5 free checks per hour.
  • Qualys SSL Labs: the SSL Labs server test takes a minute or two but goes deep: validity dates, the full chain, protocol support, and a letter grade.

Online checks are ideal when you check SSL certificate expiry online for a client's site or a vendor you depend on. Like the browser, they only tell you about today, though. Nobody remembers to run them again in 60 days.

Why checking by hand keeps getting harder

Certificates used to last a year or more, so a calendar reminder was enough. That's changing fast:

  • Under the CA/Browser Forum's ballot SC-081, public certificates issued since March 15, 2026 can last at most 200 days. That drops to 100 days from March 15, 2027 and 47 days from March 15, 2029 (Baseline Requirements).
  • Let's Encrypt certificates last 90 days today. From February 10, 2027 its default drops to 64 days, then to 45 days in February 2028 (Let's Encrypt announcement).
  • Let's Encrypt also stopped sending expiration reminder emails on June 4, 2025, and recommends third-party monitoring instead.

Auto-renewal handles most of this, but it fails quietly: a DNS change breaks validation, a cron job stops running, a server gets migrated and the renewal hook doesn't come with it. Shorter lifetimes mean more renewals a year, and more chances for one to slip.

How to get SSL certificate expiry reminders automatically

The reliable fix is to let something outside your server watch the certificate and tell you when the date is getting close. That's exactly what an uptime monitor with SSL checks does.

With ismysiteup:

  1. Create a free account (email or Google, no credit card).
  2. Add your site's https:// URL as a monitor. ismysiteup records the certificate's expiry date and issuer and flags SSL certificate expiry early, so you hear about it before visitors see a warning page.
  3. Connect the places you'll actually see an alert: WhatsApp, Telegram, Slack, or email. All four work on every plan, including Free. See our guides to Telegram downtime alerts, WhatsApp downtime alerts, and the Slack alert setup guide.

The same monitor checks that the site is up (every 5 minutes on Free, every minute on Pro, every 30 seconds on Business) and warns you about domain expiry too. A lapsed domain takes a site down just as completely as a lapsed certificate, so it's worth reading how to monitor domain expiration as well.

The Free plan covers 5 uptime monitors. If you look after many sites, see the pricing page for current details and availability of the larger plans, or read our guide to monitoring client websites as an agency.

What to do if the certificate has already expired

Visitors will see NET::ERR_CERT_DATE_INVALID in Chrome and Edge, or SEC_ERROR_EXPIRED_CERTIFICATE in Firefox. To recover:

  1. Renew or reissue the certificate (sudo certbot renew for Certbot, or your host's or CA's dashboard).
  2. Reload the web server so it serves the new file. A renewed certificate on disk does nothing until Nginx, Apache, or your load balancer picks it up.
  3. Re-run the openssl command above and confirm the new notAfter date from outside.
  4. Check every hostname and server: www and the bare domain, the CDN and the origin, and any mail or API subdomains.

If the site is erroring for other reasons too, our guide to checking whether your website is down helps you narrow it down.

FAQ

How do I check when my SSL certificate expires?

Click the padlock or site-information icon in your browser and open the certificate. The expiry date is listed as Expires On or Not After. You can also run openssl s_client -connect yourdomain.com:443 -servername yourdomain.com </dev/null 2>/dev/null | openssl x509 -noout -enddate, or paste the URL into an online SSL expiry checker.

How long are SSL certificates valid for?

Public certificates issued since March 15, 2026 can be valid for at most 200 days. The limit falls to 100 days in March 2027 and 47 days in March 2029. Let's Encrypt certificates currently last 90 days, moving to 64 days in February 2027 and 45 days in 2028.

What happens when an SSL certificate expires?

Browsers stop trusting the site and show a full-page "Your connection is not private" style warning, so most visitors leave. The server keeps running, but sales, logins, and API calls over HTTPS fail until a valid certificate is installed.

Do SSL certificates renew automatically?

Only if something renews them. Let's Encrypt clients like Certbot and most managed hosts and CDNs renew automatically, while many paid certificates need manual renewal. Even automatic renewal can fail silently, so it's worth monitoring the expiry date from outside.

How do I check SSL certificate expiry on Windows?

The browser method works on any Windows PC. For the command line, Git for Windows (Git Bash) and WSL both include openssl, so the same command from this guide works there.

Can I get an alert before my SSL certificate expires?

Yes. An uptime monitor with SSL checks, such as ismysiteup, watches the certificate's expiry date and flags it early, with alerts on WhatsApp, Telegram, Slack, or email. Let's Encrypt no longer sends its own reminder emails, so you need a separate tool.

On this page

  • How to check when an SSL certificate expires: 3 ways at a glance
  • Method 1: Check the SSL certificate expiration date in your browser
  • Google Chrome
  • Microsoft Edge
  • Mozilla Firefox
  • Safari (Mac)
  • Method 2: Use an openssl command to check certificate expiration
  • Check a live website's expiry date
  • See both dates and the issuer
  • Test whether it expires soon with -checkend
  • Show the days left
  • Check a certificate file, a mail server, or with curl
  • Method 3: Use an online SSL certificate expiry checker
  • Why checking by hand keeps getting harder
  • How to get SSL certificate expiry reminders automatically
  • What to do if the certificate has already expired
  • FAQ
  • How do I check when my SSL certificate expires?
  • How long are SSL certificates valid for?
  • What happens when an SSL certificate expires?
  • Do SSL certificates renew automatically?
  • How do I check SSL certificate expiry on Windows?
  • Can I get an alert before my SSL certificate expires?

Tags

SSL
alerts
security
ssl certificate monitoring
uptime monitoring

Share this article

TweetLinkedIn

Related Posts

How-To Guides

SSL Certificate Expiry: The Silent Outage That Costs You Sales

An expired SSL certificate takes your entire site offline and shows visitors a scary security warning — but it's 100% preventable with a simple reminder.

June 24, 2026·2 min read
How-To Guides

Website Says Not Secure? 7 Causes and How to Fix Each One

Website says not secure? Learn the 7 causes behind the warning, from an expired certificate to mixed content and a www mismatch, how to check each one and how to fix it for good.

November 3, 2026·10 min read
How-To Guides

Free Linux Server Monitoring: A Lightweight, Read-Only Setup

Free Linux server monitoring without running a Grafana stack: what to watch on a VPS, how the free tools compare, and how to set up a lightweight, read-only agent with alerts in a minute.

November 16, 2026·11 min read
How-To Guides

Third-Party Script Monitoring: Catch Broken Site Widgets

Your site is up but the chat widget is gone? Learn what third-party script monitoring is, why widgets stop loading, and how to check and monitor them for free.

November 16, 2026·10 min read

Monitor your websites for free

Get instant email, Telegram, and WhatsApp alerts when your sites go down. Free plan checks every 10 minutes. No credit card required.

Start Monitoring Free