ERR_CERT_DATE_INVALID JavaScript Origin: On your device Last updated 9 Oct 2026

NET::ERR_CERT_DATE_INVALID (certificate expired)

The site’s certificate has expired (or isn’t valid yet) — or the device clock is wrong.

Exact message you may see certificate has expired
Seen on: JavaScript

Meaning

Let’s Encrypt certificates last 90 days; failed auto-renewal is the usual cause. A wrong system date on the visitor’s device shows the same error.

Common causes

  • Certificate expired (renewal failed)
  • Device clock/date wrong
  • Old intermediate in the chain expired

⚡ Quick fix

  1. Renew the certificate and reload the web server
  2. Fix certbot renewal (check the timer and logs)
  3. Correct the device date/time

Detailed fix by platform

Linux

  1. sudo certbot renew && sudo systemctl reload nginx

How to diagnose

  1. Expiry — Check the certificate’s notAfter date
  2. Clock — Is the device time correct?

🔧 Still not fixed?

Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:

Where this error sits

Origin: On your device. Errors that are often confused with or caused by this one (click to open):

1013 — Cloudflare Error 1013: HTTP hostname and TLS SNI hostname mismatch (Cloudflare)1013421 — HTTP 421 Misdirected Request (HTTP)421526 — Cloudflare Error 526: Invalid SSL Certificate (Cloudflare)526A TLS error caused the secure connection to fail — Safari: Safari Can’t Open the Page — A TLS error caused the secure connection to fail (Browser)A TLS error caused th…auth/popup-closed-by-user — Firebase Auth: auth/popup-closed-by-user / auth/popup-blocked / auth/cancelled-popup-request (Authentication)auth/popup-closed-by-…autoplay blocked — NotAllowedError: play() failed because the user didn't interact with the document first. (JavaScript)autoplay blockedclipboard write blocked — NotAllowedError: Failed to execute 'writeText' on 'Clipboard': Document is not focused. (JavaScript)clipboard write block…Cloudflare Origin CA not trusted — NET::ERR_CERT_AUTHORITY_INVALID with a Cloudflare Origin Certificate (record not proxied) (Cloudflare)Cloudflare Origin CA …ERR_CERT_…

Explore the map of this error Full error map →

🧠 Still stuck? Analyze your error

Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.

💬 What worked for others

No tips yet — did something else fix this for you?

Share what worked for you

Tips are checked by an editor before they appear. Links are removed.