Skip to main content
Calkulon

Praktično

Kalkulator isteka SSL certifikata

Kalkulator isteka SSL certifikata

Datum isteka certifikata
Datum izdavanja potvrde (neobavezno)
Podsjetnik dana prije isteka
🌐

Detailed Guide Coming Soon

We're working on a comprehensive educational guide for the SSL Certificate Expiry Calculator in your language. The content below is shown in English.

What is SSL Certificate Expiry Calculator?

The SSL Certificate Expiry Calculator computes days remaining until an SSL/TLS certificate expires, identifies urgent renewal needs, and calculates renewal reminder dates based on your preferred lead time (default 30 days). SSL/TLS certificates are the backbone of HTTPS connections, encrypting traffic between clients and servers and verifying server identity through chains of trust rooted in Certificate Authorities (CAs). Expired certificates cause browser security warnings, broken HTTPS, failed API connections, and severe damage to user trust — making expiry tracking critical for any production service. Certificate lifetimes have shortened dramatically over the past decade. In 2015, certificates could be valid for 3-5 years. As of September 2020, browsers enforce a maximum 398-day validity for publicly trusted certificates (CA/Browser Forum baseline). Let's Encrypt — which now issues over half of all public TLS certificates — uses 90-day validity to encourage automation. The industry trajectory is toward even shorter certificates (90 days standard, possibly 47 days in 2025) to reduce blast radius of key compromise and force automated renewal practices. Certificate expiration is one of the most common causes of major web outages. High-profile incidents: Microsoft Teams down for hours when certificate expired (Feb 2020), LinkedIn Learning offline for 48+ hours, Cisco WebEx accessibility broken globally, multiple bank apps unavailable for trading sessions. The pattern is consistent: a renewal reminder is missed, someone goes on vacation, automated renewal silently fails, and the expiration takes down production systems that hadn't been touched in weeks or months. This calculator helps DevOps teams, system administrators, and developers track certificate expiration proactively. Enter the certificate expiration date, optional issued date for validity period analysis, and your preferred reminder lead time. The calculator displays days until expiry with health status (HEALTHY > 30 days, RENEW SOON within threshold, URGENT < 7 days, EXPIRED), renewal reminder date, percentage of certificate life used, and visual bar comparing time-left to your threshold. Use as part of your monitoring/alerting setup or quick sanity check during incident response.

Calkulon makes complex calculations simple — built for students and everyday problem-solvers.

Formula

f(x)Days Until Expiry = floor((Expiry Date − Today) / 86,400,000 ms per day); Renewal Reminder Date = Expiry Date − Reminder Days

Variable Legend

SymbolImeJedinicaOpis
expExpiry DatedateCertificate notAfter timestamp. Visible in browser by clicking the padlock icon → View Certificate → Validity → Not After. Can also be retrieved via OpenSSL: 'openssl s_client -connect domain.com:443 -servername domain.com | openssl x509 -noout -dates'.
issIssued DatedateCertificate notBefore timestamp. Optional input that enables percent-of-life-used calculation. Typically displayed alongside expiry date in certificate viewers.
nowCurrent DatedateToday's date for comparison against expiry. Used in days-until-expiry calculation.
reminderDaysReminder Lead TimedaysHow many days before expiry to flag the certificate for renewal action. Standard practice: 30 days minimum, 60 for production-critical systems. Below 30 days, less time to respond to renewal issues.
daysLeftDays Until ExpirydaysCalculated days from now to expiry date. Negative values indicate expired certificate. Primary metric for status determination.

How to SSL Certificate Expiry Calculator

  1. 1Step 1 — Enter Certificate Expiry Date: Open the website in any modern browser, click the padlock icon next to the URL, view certificate details, and copy the 'Valid Until' or 'notAfter' date. For command-line users: 'echo | openssl s_client -servername DOMAIN -connect DOMAIN:443 2>/dev/null | openssl x509 -noout -dates' shows both notBefore and notAfter. Paste the expiry date into the calculator.
  2. 2Step 2 — Optionally Enter Issued Date: Add the certificate's notBefore date if available. This enables calculation of total validity period (e.g., 90 days for Let's Encrypt, 397 days for paid certificates) and percent of certificate life used. Useful for monitoring renewal cadence and ensuring auto-renewal is working correctly.
  3. 3Step 3 — Set Reminder Lead Time: Default 30 days is the industry standard. Adjust based on your risk tolerance: 60 days for production-critical infrastructure with strict change management, 14 days for automated Let's Encrypt with confirmed working renewal, 30 for normal cases. The reminder should give enough time to handle renewal failures (DNS issues, validation problems, manual intervention).
  4. 4Step 4 — Days Until Expiry Calculation: Calculator computes (expiry - now) / milliseconds_per_day. Positive values are days remaining; negative values are days past expiration. The number is displayed prominently as the primary metric.
  5. 5Step 5 — Status Determination: Four status categories with color coding. HEALTHY (green): more than reminder days remaining. RENEW SOON (orange): within reminder threshold. URGENT (red): less than 7 days remaining. EXPIRED (dark red): past expiry date. Color-coded badges make the status immediately visible.
  6. 6Step 6 — Validity Period Analysis: If issued date provided, calculator shows total validity period and percent life used. 100% life used = expired. 95%+ = imminent renewal needed. Below 50% = healthy. This metric helps identify renewal cadence anomalies (a Let's Encrypt cert showing 95% life used means renewal failed).
  7. 7Step 7 — Renewal Reminder Date: Calculator outputs the specific date to renew (expiry - reminder days). Add this date to your calendar, monitoring system, or automated renewal trigger. Visual bar compares days-left against your reminder threshold for at-a-glance assessment.

Worked Examples

Example 1Healthy production certificate
Given:Expiry 90 days from now, 30-day reminder lead time
Rezultat:Healthy — 90 days remaining, renew by day 60 (60 days from today)

Normal case — set monitoring alert for the reminder date

90 days is healthy for any certificate. The renewal reminder date is 60 days from now (90 - 30 = 60 days remaining at reminder threshold). Add this date to your calendar and monitoring system. For Let's Encrypt certificates that auto-renew at 30 days remaining, you have 60 days of cushion before manual intervention becomes necessary.

Example 2Renewal needed soon — within threshold
Given:Expiry 15 days from now, 30-day reminder
Rezultat:RENEW SOON — 15 days remaining, within reminder window

Take action this week — verify auto-renewal worked or initiate manual renewal

15 days remaining is within most reminder thresholds. For Let's Encrypt with auto-renewal, this state suggests the certbot renew cron job failed or hasn't run. Manually run 'certbot renew' to verify. For paid certificates, contact CA to begin renewal process. Allowing this to slip into the URGENT (<7 days) category leaves little time for renewal challenges (DNS validation issues, certificate provisioning delays).

Example 3URGENT — less than a week to expiration
Given:Expiry 3 days from now
Rezultat:URGENT — only 3 days remaining, renew immediately

Production emergency — escalate to oncall, all hands on renewal

Three days is critical. Treat as production incident: escalate to oncall, prepare rollback plan if renewal fails, attempt renewal immediately. Common causes of reaching this state without action: alerts going to wrong recipients, alert fatigue causing the warning to be ignored, ACME challenge problems preventing auto-renewal. Document the root cause to prevent recurrence.

Example 4EXPIRED — production outage
Given:Expiry 5 days ago
Rezultat:EXPIRED — already past expiry by 5 days, immediate renewal required

Active outage — users seeing browser warnings or unable to connect

Past expiration: users see scary browser warnings (NET::ERR_CERT_DATE_INVALID in Chrome), API clients reject connections (curl: SSL certificate problem), mobile apps fail to connect entirely. Immediate actions: renew certificate (Let's Encrypt: certbot renew --force-renewal), restart web server to load new cert, communicate with affected users. Post-incident: review monitoring/alerting to understand why this wasn't caught earlier.

Real-World Applications

🏗️

DevOps teams managing SSL certificates across many domains and microservices

🔬

Setting up monitoring/alerting before expiration causes production outages

📊

Planning renewal calendar for compliance audits (SOC 2, PCI-DSS, HIPAA require certificate hygiene)

🏥

Incident response — quickly assessing certificate status during HTTPS-related outages

⚙️

Migration planning when moving infrastructure between hosting providers or cloud regions

Special Cases

Common SSL Certificate Lifetimes

ProviderDefault ValidityMax ValidityNotes
Let's Encrypt90 days90 daysFree, automated via certbot/ACME
AWS Certificate Manager13 months13 monthsFree for AWS resources, auto-renewing
Cloudflare Universal SSL1 year1 yearFree for Cloudflare-proxied sites
DigiCert Standard SSL1 year1 year (was 2)Paid, includes warranty
Sectigo Standard SSL1 year1 yearPaid, broadest browser compatibility
Public CA Maximum398 days398 daysCA/Browser Forum enforced limit
Internal/Private CAVariableUp to 10+ yearsFor organizations only, requires client trust

Frequently Asked Questions

Q

How long are SSL certificates valid?

A

Maximum validity for publicly trusted certificates is 398 days (since September 2020) per CA/Browser Forum rules. Let's Encrypt issues 90-day certs by default to encourage automation. Internal/private CAs (used within organizations) can issue longer certificates but require manual trust configuration on clients. The industry trajectory is toward shorter validity (90 days, possibly 47 days in 2025) to reduce key compromise risk.

Q

What happens when a certificate expires?

A

Browsers show scary security warnings (NET::ERR_CERT_DATE_INVALID, SEC_ERROR_EXPIRED_CERTIFICATE) and block connections by default. API clients reject the connection unless verification is disabled (security risk). Mobile apps fail to make HTTPS connections. SEO suffers as Google penalizes sites with broken certificates. Search engine indexing may pause. User trust damaged — many won't return after seeing the warning.

Q

Should I automate certificate renewal?

A

Yes, absolutely. Manual renewal is the #1 cause of expiration outages. Tools: certbot (Let's Encrypt CLI, supports cron-based renewal), acme.sh (lightweight ACME client), cloud provider certificate managers (AWS ACM, Azure App Service Certificates, Google-managed certificates). All major providers offer automated certificate issuance and renewal. Manual renewal should only be for special cases (extended validation certs, internal CA workflows).

Q

What's the difference between DV, OV, and EV certificates?

A

Domain Validation (DV): proves domain control only, cheapest, instant issuance — Let's Encrypt and most public CAs. Organization Validation (OV): verifies organization exists, displays company info in cert. Extended Validation (EV): rigorous identity verification, historically showed green bar — browsers removed this UI in 2019. Practical reality: DV is sufficient for nearly all sites. EV doesn't provide meaningful security or UX benefit anymore.

Q

Why do certificates from Let's Encrypt only last 90 days?

A

Short validity periods force automation. If renewal fails once, you have ~60 days to fix the problem. With 1-year certificates, manual renewal habits develop, and when something breaks (DNS changes, server moves), the issue isn't caught until expiration. 90 days makes automation mandatory and renewal problems surface quickly. Let's Encrypt has consistently advocated for shorter certificates industry-wide.

Q

How do I check certificate expiry from command line?

A

OpenSSL: 'echo | openssl s_client -servername example.com -connect example.com:443 2>/dev/null | openssl x509 -noout -dates' shows notBefore and notAfter dates. For Let's Encrypt local certs: 'sudo certbot certificates' lists all managed certificates with expiry. For monitoring: ssl-cert-check, sslyze, testssl.sh provide comprehensive certificate analysis including chain validation.

Q

What's the difference between certificate and key expiration?

A

Certificates have explicit expiration dates (notAfter). Keys don't have inherent expiration but should be rotated periodically (annually recommended). Best practice: regenerate keys with each certificate renewal rather than reusing the same key for multiple certificate lifetimes — limits exposure if a key is compromised. Modern automation tools handle key rotation automatically.

Common Mistakes to Avoid

  • !Manually tracking expiration without automated alerts — most outages from expired certs happen because nobody was watching the calendar.
  • !Ignoring intermediate certificates in chain — full chain must be valid, not just the leaf cert; browsers reject incomplete chains.
  • !Not testing renewal in advance — Let's Encrypt renewals can fail silently due to ACME challenge issues, DNS problems, or server configuration changes.
  • !Forgetting wildcard cert renewals affect all subdomains simultaneously — high blast radius requires tighter monitoring thresholds.
  • !Setting reminder threshold too low (< 14 days) — leaves insufficient time to handle renewal failures during business hours.
💡

Pro Tip

Set up monitoring with at least 3 alert thresholds: 60 days (plan), 30 days (action), 7 days (urgent). Multiple thresholds catch issues even if early alerts are missed. Use uptime monitoring services like Uptime Robot, Pingdom, Datadog Synthetic, or open-source tools like ssl-cert-check for automated certificate monitoring. Alert to multiple channels (email + Slack + PagerDuty for production-critical certificates).

Did you know?

The 2020 Microsoft Teams outage caused by an expired SSL certificate took the service offline for several hours and affected millions of users globally during peak pandemic remote work usage. The estimated business impact was hundreds of millions of dollars in lost productivity. The post-mortem revealed the certificate renewal process required manual intervention by an engineer who was on vacation, with no backup automation. This incident accelerated industry adoption of automated certificate management.

Regional Guides

United States
European Union
China and Asia
📖Difficulty:Beginner
Ask a Question

Have a question about this calculator? Get a detailed answer.

Deep Dive

Read the full guide on how to use this calculator effectively

Pročitaj više
Mathematically verified
Reviewed June 2026
Our methodology

Primajte tjedne matematičke savjete

Pridružite se 12.000+ pretplatnicima koji svaki tjedan dobivaju savjete za kalkulator.

🔒
100% Besplatno
Nikad nema registracije
Točno
Provjerene formule
Trenutačno
Rezultati dok tipkate
📱
Mobilno
Svi uređaji

Postavke

PrivatnostUvjetiO nama© 2026 Calkulon