Home/Blog/How to Fix NET::ERR_CERT_DATE_INVALID (2026 Guide)

How to Fix NET::ERR_CERT_DATE_INVALID (2026 Guide)

NET ERR_CERT_DATE_INVALID error fix 2026

The NET::ERR_CERT_DATE_INVALID fix is simpler than it looks. When Chrome shows this red warning page, it is saying one very specific thing: at the moment of connection, your browser’s clock fell outside the certificate’s validity period. Every SSL certificate carries two timestamps โ€” notBefore and notAfter โ€” and the connection is refused if the current time is earlier than the first or later than the second. That leaves only two possible causes, and this guide shows you how to identify yours in under a minute and fix it.

The Two Causes of NET::ERR_CERT_DATE_INVALID

  • Cause 1: The certificate genuinely expired (or is not yet valid). The site owner must renew it. This is the cause in roughly 90% of cases.
  • Cause 2: Your device clock is wrong. A wrong date or time makes a perfectly valid certificate look expired. You fix this yourself in seconds.

Chrome often tells you which one it is: when it detects a clock problem, it shows a separate page headed “Your clock is behind” or “Your clock is ahead” instead of the generic warning. If you see that page, skip straight to Fix 1.

Visitor Fixes: When You Just Want to Open the Site

1. Check and Sync Your System Clock

This is the number-one visitor-side fix. On Windows, go to Settings > Time & language > Date & time and turn on “Set time automatically.” On Mac, open System Settings > General > Date & Time and enable automatic sync. On Android/iOS, enable automatic date and time in Settings. Reload the page after syncing โ€” the error often vanishes instantly.

2. Clear Browser Cache and SSL State

Chrome caches SSL session data, and stale entries can show this error even after a site renews its certificate. Clear browsing data (Ctrl + Shift + Delete, “All time,” cookies and cache), then clear the OS SSL cache: press Win + R, type inetcpl.cpl, go to the Content tab, and click “Clear SSL state.” Restart the browser and retry.

3. Try Incognito Mode and Disable Extensions

Open the site in an incognito window. If it loads there, a browser extension is interfering โ€” possibly one that replaces security certificates. Disable extensions one by one in normal mode until you find the culprit.

4. Check Whether It Is Really the Site’s Problem

Open several unrelated HTTPS sites (Google, Wikipedia, your bank). If all of them show certificate errors, the problem is your device โ€” clock, OS root certificates, or antivirus. If only one site shows it, that site’s certificate has expired and only the owner can fix it. Contact them or wait. If you are seeing a different privacy warning instead, our Your Connection Is Not Private guide covers the other variants.

Fixing NET ERR_CERT_DATE_INVALID expired certificate error

Site Owner Fixes: Renewing an Expired Certificate

5. Renew the Certificate

For Let’s Encrypt: run sudo certbot renew on your server. For commercial certificates, renew through your CA vendor or hosting panel (cPanel > SSL/TLS Status > Run AutoSSL). After renewing, reload your web server (systemctl reload nginx or systemctl reload apache2) so it picks up the new certificate โ€” skipping this step is a classic reason the error persists after renewal.

6. Verify the Full Chain and Hostnames

Check the certificate with openssl s_client -connect yourdomain.com:443 and confirm the notAfter date is in the future. Make sure the server sends the full chain (leaf + intermediates), not just the leaf certificate, and that the SANs cover all hostnames (apex, www, subdomains). Run an SSL Labs test to confirm an A rating.

7. Check Cloudflare and Mixed Content

Cloudflare users: confirm Universal SSL is active and the origin certificate is not also expired โ€” a valid edge certificate with an expired origin cert still breaks Full (Strict) mode. After fixing certificates, check for mixed content issues with our mixed content fix guide.

How to Prevent Certificate Expiry Forever

  • Automate renewal with Certbot or ACME and attach a post-renewal hook that reloads the web server.
  • Set up external expiry monitoring with alerts at 30, 14, and 7 days before expiry.
  • Remember that since 2020, public certificates last a maximum of 398 days โ€” calendar reminders alone are not reliable.
  • Keep your OS and browser updated so root certificate stores stay current.

Conclusion

NET::ERR_CERT_DATE_INVALID is one of Chrome’s most honest errors โ€” it tells you exactly what it compared. Visitors should check their clock first; site owners should renew the certificate and reload the server. Never click “proceed anyway” on a site you do not own, since the cryptographic trust chain has genuinely failed. With automated renewal and expiry monitoring in place, neither you nor your visitors should ever see this red screen again. For more website troubleshooting, try our free tools.