openssl s_client -connect example.com:443 -servername example.com 2>/dev/null | openssl x509 -noout -dates
Run this in your terminal. Output shows notBefore and notAfter dates.
External SSL checking services
These services run server-side and can check any domain:
Common certificate lifetimes
| Type | Lifetime | Note |
|---|---|---|
| Let's Encrypt | 90 days | Free, auto-renewed |
| Commercial (1 year) | 365 days | Traditional CAs |
| Commercial (2 years) | 730 days | Some CAs |
| EV Certificate | 397 days | Extended validation |
Certificate info fields (reference)
- notBefore — Certificate valid from
- notAfter — Certificate expires
- subject — Domain/organization
- issuer — Certificate authority
- serial — Unique certificate ID
Countdown calculator
Enter your certificate expiry date to see days remaining.
What SSL Expiration Means
SSL/TLS certificates secure HTTPS connections by encrypting data and verifying the server's identity. Each certificate has a validity period—a start and end date. After the expiry date, the certificate is no longer trusted, and browsers will warn users or block the site.
Certificate authorities (CAs) issue certs with different lifetimes. Let's Encrypt uses 90-day certs to encourage automation. Commercial CAs often offer 1-year or 2-year certs. Renewing before expiry is critical to avoid service disruption.
Checking SSL Certificates Manually
You can check a certificate from the command line using OpenSSL. The tool generates the exact command for your domain: openssl s_client -connect domain:443 -servername domain. Pipe the output to openssl x509 -noout -dates to see notBefore and notAfter. The -servername flag is important for SNI (Server Name Indication) when the server hosts multiple sites.
External services like SSL Labs perform full scans and grade your TLS configuration. Use them for comprehensive audits.
Certificate Lifetimes and Renewal
Let's Encrypt certificates last 90 days and are designed for automated renewal (e.g., Certbot). Commercial certificates typically last 1 year; some CAs offer 2 years. EV (Extended Validation) certs are usually 397 days. Shorter lifetimes reduce the window of exposure if a private key is compromised.
The countdown calculator lets you enter your certificate's expiry date and see days remaining. Green: 30+ days. Yellow: 7–30 days. Red: under 7 days—renew immediately.
Frequently Asked Questions
Related Tools
Explore More Tools
Find this tool useful? Buy us a coffee to keep DuskTools free and ad-light.