Abstract

Chrome shows NET::ERR_CERT_DATE_INVALID when a certificate’s dates fail against the clock on the computer checking them. That usually means an expired SSL certificate, or a renewed one that never reached the server clients connect to.

Chrome warning page for expired-isrgrootx1.letsencrypt.org. The page reads Your connection is not private, Attackers might be trying to steal your information from expired-isrgrootx1.letsencrypt.org, and the error code NET::ERR_CERT_DATE_INVALID, with Advanced and Back to safety buttons.

The screenshot is Let’s Encrypt’s test host expired-isrgrootx1.letsencrypt.org, which serves a certificate that expired in February 2017. Tools say it differently. curl prints SSL certificate problem: certificate has expired, openssl prints verify error:num=10:certificate has expired, and Firefox shows SEC_ERROR_EXPIRED_CERTIFICATE. Edge and other Chromium browsers show the same code as Chrome.

What NET::ERR_CERT_DATE_INVALID means

Chromium’s list of network errors defines ERR_CERT_DATE_INVALID as “a certificate that, by our clock, appears to either not yet be valid or to have expired.” One code covers three situations: the certificate expired, the certificate isn’t valid yet, or the clock doing the comparing is wrong. Every certificate in the chain gets the same check, so an expired intermediate fails the same way as an expired site certificate.

If it’s the clock, Chrome usually says so. When the clock is far enough off, the heading changes to “Your clock is ahead” or “Your clock is behind”. Turn on automatic date and time. A dead clock battery, a virtual machine restored from an old snapshot, or a laptop that sat in a drawer for a year are the usual reasons. That’s the whole clock fix.

Check the certificate your site serves

One site failing on every device is the site. Every HTTPS site failing on one device is that device. If you can’t tell, test from outside.

Run the hostname through our certificate chain checker. It connects from our servers, shows every certificate the host sends with its dates, and flags an expired or not-yet-valid certificate anywhere in the chain. For a host inside your network, run openssl from a machine that can reach it, with the name clients use so the server picks the same certificate.

openssl s_client -connect app.example.internal:443 -servername app.example.internal </dev/null | openssl x509 -noout -dates

For expired.badssl.com, that prints a certificate that was good for four days in 2015.

notBefore=Apr  9 00:00:00 2015 GMT
notAfter=Apr 12 23:59:59 2015 GMT

If notAfter is in the past, you have your answer.

Get the renewed certificate where clients connect

A certificate on a live site expires because the renewal didn’t run, or because it ran and the new certificate never reached the thing clients talk to. Work through these in order.

Renewal failed or never ran. Check the job schedule and the ACME log. A missing timer or a rotated DNS API token can stop renewal. If you were waiting for the CA’s warning email, Let’s Encrypt stopped sending them on June 4, 2025. Run the renewal by hand and read the error log.

The renewal ran and nothing reloaded. The new certificate is on disk and the process still holds the old one in memory. nginx needs nginx -s reload after nginx -t, and Apache needs a graceful restart. On Windows, the renewed certificate lands in the store but the IIS binding still points at the old thumbprint until somebody rebinds it. Exchange, RDP, and SQL Server each bind their own copy.

Clients don’t talk to the server you fixed. A load balancer, CDN, firewall, or reverse proxy in front presents its own copy of the certificate. Every web server behind it checks out and users get the expired one. Install the replacement on whatever terminates TLS for that hostname. Certificate distribution is the last mile.

The site certificate is new and the intermediate expired. A chain file somebody saved once and pastes onto every renewal carries intermediates with their own notAfter. expired.badssl.com still sends a cross-certificate from Sectigo’s AddTrust External CA Root, which expired on May 30, 2020. Use the bundle the CA shipped with the renewed certificate. If only older clients fail and the chain checker is clean, check the failing client’s trust store and TLS library.

Run the chain checker again and compare the served certificate’s SHA-256 fingerprint with the replacement’s. If visitors still see the error, check the hostname from an affected network. Renewed and deployed are not the same thing.

Catch the next one

Expiry is the only certificate error with the date printed inside it, and the chance to miss it comes around on every renewal. Lifetimes drop to 100 days on March 15, 2027 and 47 days in 2029, so renewals go from about three a year to twelve.

SSL certificate monitoring checks the certificate visitors receive, from outside, every 8 hours. It alerts at 25, 15, 7, 3, and 1 days before expiry on a 90-day certificate and closer in on shorter ones, flags a host still serving the old certificate after a renewal, and sends a failed deployment its own alert the day it happens.


CertKit automates certificate lifecycle management so the renewed certificate reaches every server and appliance before the old one expires.

Keep reading