NET::ERR_CERT_DATE_INVALID: expired or wrong clock?

The browser compares the certificate’s validity period with the device clock. If they do not match, it aborts. The only question is: has the certificate expired, or is the clock wrong?

Check first: server or device?

Open the site in the SSL check. If it shows an expired certificate, the server is at fault. If the certificate is valid, it is the device showing the error. On the command line:

echo | openssl s_client -connect www.example.com:443 -servername www.example.com 2>/dev/null | openssl x509 -noout -dates

Cause on the server

Cause on the device

So it does not happen again

Certificates are getting shorter: since March 2026 public certificates may be valid for at most 200 days, from March 2027 only 100. Without monitoring something will slip eventually.

FAQ

How do I quickly tell whether my clock is wrong?

Open a well-known large site. If the error appears there too, it is almost certainly the clock or an antivirus.

My certificate is renewed, but the browser still shows the old one?

The web server was not reloaded after renewal, or a load balancer with its own copy sits in front. The SSL check shows serial number and expiry of what is really delivered.

Does clearing the browser cache help?

Rarely. The browser checks the certificate on every connection. Restarting the browser is worth a try if you have just fixed the clock.

Sources and documentation