CertNudge

Guides

Fixing an expired SSL certificate error

What NET::ERR_CERT_DATE_INVALID and SEC_ERROR_EXPIRED_CERTIFICATE mean and how to fix them on the server.

1 min read · Updated November 2026

Visitors get a full-page warning instead of your site? Most likely the certificate expired.

What the error looks like

BrowserMessage
Chrome, EdgeNET::ERR_CERT_DATE_INVALID under "Your connection is not private"
FirefoxSEC_ERROR_EXPIRED_CERTIFICATE under "Warning: Potential Security Risk Ahead"
Safari"This Connection Is Not Private"

If only one person sees it, ask them to check the date on their device first. A wrong clock causes the same error.

Fixing it on the server

  1. Confirm the date the server presents:
    echo | openssl s_client -connect example.com:443 -servername example.com 2>/dev/null \
      | openssl x509 -noout -enddate
  2. Renew the certificate. With Let's Encrypt and certbot: sudo certbot renew. With a paid CA, reissue it in their control panel and install the new files.
  3. Reload whatever serves it, e.g. sudo systemctl reload nginx. Until you do, the old certificate stays in use.
  4. Check again from outside with the certificate check. Behind a CDN or load balancer? Update the certificate there too.

Why it happened

Almost always a renewal job that stopped working. This guide walks through finding out why. With lifetimes down to 200 days now and 47 by 2029, you renew more often, so it happens more often too.