NET::ERR_CERT_AUTHORITY_INVALID: the certificate is not trusted

Self-signed, incomplete chain or HTTPS interception.

Certificate, chain, expiry and TLS versions.

What the error means

NET::ERR_CERT_AUTHORITY_INVALID means the browser cannot connect the certificate to a certificate authority it trusts. The certificate may be fine otherwise (right name, in date), but the browser has no reason to believe it. Firefox shows SEC_ERROR_UNKNOWN_ISSUER.

The usual causes

CauseWho fixes it
Self-signed certificate (default certificate of a router, a panel, a fresh server)The site owner: install a certificate from a real authority, such as Let's Encrypt (free).
Missing intermediate certificate: the server sends only its own certificate, not the chainThe site owner: install the full chain ("fullchain.pem"). Some browsers work by luck, others fail.
An antivirus, company proxy or public Wi-Fi inspecting HTTPS with its own certificateThe visitor: try another network, or turn off HTTPS scanning in the antivirus.
An outdated device that does not know newer root certificatesThe visitor: update the operating system or browser.

How to fix it (site owners)

  1. Check the site with the SSL checker above: it shows whether the chain is trusted and complete, and who issued the certificate.
  2. If it is self-signed, get a real certificate (Let's Encrypt with certbot, or from your hosting panel).
  3. If the chain is incomplete, configure the server with the full chain file, then check again.

If the certificate is trusted but has expired, see NET::ERR_CERT_DATE_INVALID.

Related errors

Last updated: