Certificates

SEC_ERROR_EXPIRED_CERTIFICATE: Firefox says the certificate has expired

In short. Firefox refused to open your site because its security certificate (the proof of identity that allows the secure connection) has expired. Visitors see a warning and many will leave. Whoever manages the site, or its host, has to renew and install the certificate. Once the new one is served, the warning disappears with no waiting period.

SEC_ERROR_EXPIRED_CERTIFICATE is Firefox's code for "Peer's Certificate has expired." Firefox explains that websites prove their identity via certificates valid for a set time period, and shows the date on which the certificate for the host expired.

Last verified: November 26, 2026, against the Chromium and Firefox source code.

What visitors see

Firefox shows "Warning: Potential Security Risk Ahead", with the line "Error code: SEC_ERROR_EXPIRED_CERTIFICATE" and the expiry date. Chrome shows NET::ERR_CERT_DATE_INVALID for the same situation.

How to fix it

  1. Site or device? Open the site from another device on another network. If the error is the same, the certificate has expired. If only one device shows it, set that device's date and time to automatic.
  2. See the real expiry date with our free SSL certificate check.
  3. Renew the certificate. With a certificate from your host (often free), restart the issuance in its customer area. With a purchased certificate, renew the order, validate the domain and install the new certificate: paying is not enough. On a server you manage, run your renewal tool by hand, read its error message, and check that its scheduled task runs.
  4. Check it is served. Reload in a private window and run the check again. Test with and without www and every subdomain that has its own certificate. If the old date remains, reload the web server or purge the CDN.

Free tool. SSL certificate check

Never be caught out by an expiry again. AttackScout monitoring checks your certificate every day and warns you 30, 14, 7 and 1 day before it expires. Check my domain

Frequently asked questions

How long do visitors see the error after renewal?

As soon as the new certificate is served, the warning goes. There is no propagation delay as with DNS.

Firefox shows the error but Chrome does not. Why?

Check the exact date and host in Firefox's message. A device with a wrong clock, or a different host name tested, are common differences.

Sources

Accessed on 11/26/2026.