NET::ERR_CERT_DATE_INVALID: What It Means & How to Fix It

Key takeaway

NET::ERR_CERT_DATE_INVALID (Chromium error -201) means the website's certificate looks expired or not yet valid by your device's clock. Either the site really let its certificate expire, or your clock is wrong: if every HTTPS site fails, fix your date and time (turn on "Set time automatically"); if only one site fails, check its certificate with an SSL checker, and if it has expired, only the site owner can fix it by renewing.

Check it now

NET::ERR_CERT_DATE_INVALID explained: the certificate's valid-from and valid-to dates checked against your device's clock
NET::ERR_CERT_DATE_INVALID explained: the certificate's valid-from and valid-to dates checked against your device's clock
Start reading
  1. What Is NET::ERR_CERT_DATE_INVALID?
  2. How It Looks in Each Browser
  3. Is It Your Clock or the Site?
  4. How to Fix It on Your Device
  5. If You Run the Website
  6. Frequently Asked Questions

What Is NET::ERR_CERT_DATE_INVALID?

Every HTTPS certificate is valid between two dates: valid from and valid until. When you open a site, your browser compares those dates with your device's clock. If the clock says today is outside that window, Chrome, Edge and other Chromium browsers stop with NET::ERR_CERT_DATE_INVALID.

Chromium's source code defines it as error -201: "The server responded with a certificate that, by our clock, appears to either not yet be valid or to have expired." It lists three possible reasons: an attacker "presenting an old certificate for which they have managed to obtain the private key", a server that "is misconfigured and is not presenting a valid cert", or "Our clock is wrong." (Chromium)

In practice it is almost always the second or the third: an expired certificate on the site, or a wrong date on your device.

How It Looks in Each Browser

The words change between browsers, but they report the same date check failing.

Chrome's wording from Chromium's own strings; Firefox's from its error list.
Browser and caseWhat you see
Chrome: the certificate is outside its dates by your clockYour connection is not private · NET::ERR_CERT_DATE_INVALID
Edge and other Chromium browsersThe same NET::ERR_CERT_DATE_INVALID code, worded their own way
Chrome: your device's date is wrongYour clock is behind / Your clock is ahead
Firefox: the certificate has expiredSEC_ERROR_EXPIRED_CERTIFICATE · Peer's Certificate has expired.
Firefox: the start date is still in the futureMOZILLA_PKIX_ERROR_NOT_YET_VALID_CERTIFICATE
Firefox: a certificate higher up the chain expiredSEC_ERROR_EXPIRED_ISSUER_CERTIFICATE

When Chrome can tell your clock is the problem, it says so instead: "A private connection to … can't be established because your computer's date and time … are incorrect." (Chromium) Our guide to "Your connection is not private" covers the same page's other causes.

Is It Your Clock or the Site?

One question decides it: does every HTTPS site fail, or just this one?

If every site fails, your device's date or time is wrong. Chrome explains why that breaks everything: "the certificates that websites use to identify themselves are only valid for specific periods of time. Since your device's clock is incorrect, Chrome cannot verify these certificates."

If only one site fails, look at its certificate from outside your device. Enter the site below: the check shows the certificate's valid-from and valid-until dates as the server sends them, and how many days are left.

Check the site's certificate dates

How to Fix It on Your Device

Work through these when the error shows on every site, or when the checker says the site's certificate is fine.

  1. Windows: set the time automaticallySelect Start > Settings > Time & language > Date & time and make sure Set time automatically is turned On (Microsoft's own steps). Check the time zone on the same page.
  2. iPhone and iPad: fix the date in SettingsChrome's own message on iOS says to "adjust the date and time from the General section of the Settings app". Turning on automatic date and time there keeps it right.
  3. Other devicesOpen the system's date and time settings and let it set the time automatically from the network.
  4. Update the browser and the systemAn old device can fail on certificates that are fine elsewhere, because a certificate higher up the chain expired and the device doesn't know the newer one (below).
  5. Reload the pageAfter fixing the clock, reload. If only one site still fails, check it again with the SSL Checker.

If You Run the Website

If visitors see this error on your site, your certificate (or one in its chain) has expired. Renew it, install it, and make sure every server that answers for your name sends the new one: check from outside with the SSL Checker or paste the certificate into the Certificate Decoder to read its exact dates.

Certificates are getting shorter, so a missed renewal shows up faster than it used to. The CA/Browser Forum's Baseline Requirements cap a publicly trusted certificate's validity by its issue date:

Baseline Requirements §6.3.2 (ballot SC-081v3). Chrome enforces the same schedule itself.
IssuedLongest allowed validity
Before 15 March 2026398 days
From 15 March 2026200 days
From 15 March 2027100 days
From 15 March 202947 days

Let's Encrypt's default certificates last 90 days, and it recommends "renewing 90 day certificates every 60 days". (Let's Encrypt) From 10 February 2027 its default lifetime drops to 64 days. (Let's Encrypt) At these lengths, renewal has to be automatic: an ACME client renews on its own, and ACME Renewal Information (RFC 9773) lets the certificate authority tell it when.

An expired intermediate certificate causes the same error, which Firefox names SEC_ERROR_EXPIRED_ISSUER_CERTIFICATE. Send the current chain your certificate authority gives you; what an SSL certificate chain is explains how it fits together.

Has the site's certificate really expired?

DNS Robot's free SSL Checker reads the certificate the server sends, with its valid-from and valid-until dates, the days left and the full chain, so you know whether the fix is yours or the site's.

Sources

  1. net_error_list.h (CERT_DATE_INVALID -201), Chromium
  2. security_interstitials_strings.grdp ("Your clock is behind", "Your connection is not private"), Chromium
  3. nsserrors.ftl (SEC_ERROR_EXPIRED_CERTIFICATE and related messages), Mozilla
  4. Set time, date, and time zone settings in Windows, Microsoft
  5. DST Root CA X3 Expiration (September 2021), Let's Encrypt
  6. Baseline Requirements §6.3.2 (validity periods), CA/Browser Forum
  7. FAQ (90-day certificates, renewing every 60 days), Let's Encrypt
  8. 64-Day Certificate Lifetimes Coming Feb 2027, Let's Encrypt
  9. RFC 9773: ACME Renewal Information (ARI), IETF

Frequently Asked Questions

What does NET::ERR_CERT_DATE_INVALID mean?

It means the website's certificate looks expired or not yet valid when your browser compares its dates with your device's clock. Chromium names it error -201 and lists three causes: an expired or misconfigured certificate on the server, a wrong clock on your device, or, rarely, an attacker presenting an old certificate.

Is NET::ERR_CERT_DATE_INVALID dangerous?

Usually not, but it can be. Most of the time the site let its certificate expire or your clock is wrong. Chromium also lists an attacker using an old certificate whose key they obtained, so don't sign in or pay on the page until you know which it is.

Why does it happen on every website?

Because your device's date or time is wrong. Certificates are only valid for set periods, so a clock that is far behind or ahead makes every certificate look expired or not yet valid. Turn on automatic date and time, then reload.

Why does it happen on only one website?

That site's certificate has most likely expired. Check it with an SSL checker from outside your device: if the valid-until date has passed, only the site owner can fix it by renewing. If the certificate is valid, look at your device's clock and updates.

How do I fix it on Windows?

Select Start > Settings > Time & language > Date & time and make sure Set time automatically is turned On, with the right time zone. Then reload the page. If one site still fails, check that site's certificate.

How do I fix it on iPhone?

Fix the date and time from the General section of the Settings app, which is what Chrome's own error message on iOS tells you to do. Turning on automatic date and time keeps it right. Then reload the page.

What does "Your clock is behind" mean in Chrome?

It is Chrome's version of this error when it can tell your device's clock is wrong: it says a private connection "can't be established because your computer's date and time … are incorrect". Correct the date and time and the page loads.

How long is an SSL certificate valid?

It depends on when it was issued. Under the CA/Browser Forum rules, publicly trusted certificates issued from 15 March 2026 can last at most 200 days, falling to 100 days in 2027 and 47 days in 2029. Let's Encrypt's default is 90 days, moving to 64 days in February 2027.

About the author

Shaik Vahid

Founder of DNS Robot. Vahid spent years in web hosting support fixing domains, DNS records, SSL certificates and email delivery for customers. He builds DNS Robot's tools and writes these guides from the errors people actually hit.

SSL Certificate Check

Verify SSL certificate validity and security details