SSL Certificate Expiry Monitoring Guide 2026

How to get alerted before your SSL certificate expires. Set up automatic SSL expiry warnings using the sed.sh Uptime API — no more surprise certificate errors. Free guide with code examples.

Frequently Asked Questions

How do I get alerted when my SSL certificate expires?

Create an HTTP monitor with the sed.sh Uptime API. SSL expiry is checked automatically on every HTTP check, and email alerts are sent at 30, 14, and 7 days before expiry. The API also returns ssl_expiry_days so you can build your own alerting on top.

How to check SSL certificate expiry date automatically?

Two ways: (1) Use the sed.sh API — create an HTTP monitor and query GET /uptime/monitors to read ssl_expiry_days at any time. (2) Use openssl from the command line: echo | openssl s_client -connect yourdomain.com:443 2>/dev/null | openssl x509 -noout -enddate. For automated monitoring with alerts, the API approach is easier.

How much does SSL certificate monitoring cost?

SSL expiry monitoring is included with every HTTP monitor. You pay $0.00002 per uptime check. Checking every hour costs ~$0.014/month per domain. No separate SSL monitoring fee.

What happens when my SSL certificate expires?

Browsers show "Your connection is not private" and block users from accessing the site. APIs using the endpoint start receiving certificate validation errors. Search engines may de-rank the site. The impact is immediate and user-facing — there's no grace period after expiry.

How do I check SSL certificate expiry from the command line?

Run: echo | openssl s_client -connect yourdomain.com:443 2>/dev/null | openssl x509 -noout -dates. This prints notBefore and notAfter dates. To get days remaining as a number, compute the difference between the notAfter date and today using the date command.

How far in advance should I renew an SSL certificate?

Renew at least 30 days before expiry. Let's Encrypt certificates auto-renew at 60 days remaining by default. Commercial certificates (DigiCert, Sectigo, GlobalSign) should be renewed 30-60 days early to allow for domain validation processing time. sed.sh alerts at 30, 14, and 7 days as a safety net on top of your renewal process.