Guides · Website security · Updated 2026-12-04

Check SSL/TLS certificate expiry for many websites

An expired certificate takes a website offline for most visitors: browsers show a full-page warning, and APIs and payment callbacks fail. For one site you notice quickly. Across 50 client sites, shops or subdomains, one renewal that silently stopped working is easy to miss.

Certificates are getting shorter

Under the CA/Browser Forum's ballot SC-081, the maximum lifetime of public TLS certificates drops from 398 days to 200 days from 15 March 2026, to 100 days from 15 March 2027 and to 47 days from 15 March 2029. Free certificates such as Let's Encrypt already last 90 days. More renewals mean more chances for one to fail.

Check one site from the command line

OpenSSL prints the expiry date of the certificate a site serves:

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

Why a spreadsheet of expiry dates fails

  • Hosts and CDNs renew or replace certificates on their own schedule
  • A CDN or load balancer can serve a different certificate than the one you recorded
  • Automatic renewal stops silently after a DNS or server change
  • New subdomains appear without anyone adding them to the list

Check hundreds of sites in one run

Our Bulk Website Security Checker connects to each site once, like a browser, and returns the days left on the certificate, the issuer and the TLS version, plus an A–F security grade covering HSTS, security headers, cookies and security.txt. Paste a list or upload a spreadsheet, and export to Excel, CSV or JSON.

{ "sites": ["example.com", "shop.example.com"], "onlyProblems": true }

Run it every week automatically

On Apify you can schedule the run, for example every Monday, and send the result to email, Slack, Google Sheets or a webhook. Sort by certDaysLeft and act on anything under 21 days.

When a certificate is close to expiry

  • Check that automatic renewal (ACME/certbot, your host or your CDN) is still switched on
  • Check that DNS still points to the host that renews the certificate
  • After renewal, check that the new certificate is actually served on every hostname

Questions

Does the check need access to my servers?
No. It reads the public certificate that any visitor's browser receives. Nothing is installed and no login is needed.
How much does it cost?
$4 per 1,000 websites checked, paid per use on Apify. No subscription.
Can I check internal or intranet hosts?
No. Private and internal network addresses are refused; only public websites are checked.

General technical information, not legal advice or a security audit. Example values must be adapted and tested on your own site.