NET::ERR_CERT_AUTHORITY_INVALID: causes and fix

The browser cannot link the certificate to a certificate authority it trusts. That is down to the server, a company CA, or something sitting between browser and server.

What the error looks like

All three say the same: the chain from the server certificate leads to no root CA in the device’s certificate store.

The most common causes

  1. Self-signed certificate. Typical for routers, NAS, printers, test servers and freshly installed appliances.
  2. Internal company CA. The certificate comes from an in-house CA that is not distributed to this device, e.g. a private laptop or phone.
  3. Missing intermediate certificate. Chrome on Windows and Android often downloads missing intermediates; Firefox, apps and older devices do not. That is why it works in one browser and not the other.
  4. HTTPS scanning by antivirus or proxy. Products such as Kaspersky, Avast, ESET or a corporate proxy replace the certificate with their own. If their root is missing in the browser, every site shows the error.
  5. A CA that is no longer trusted. Browsers occasionally distrust CAs. Chrome, for example, no longer trusts Entrust certificates issued after 11 November 2024.

Fix for site owners

Check the site in the SSL check. It shows the issuer, the delivered chain and whether an intermediate is missing. On the command line:

openssl s_client -connect www.example.com:443 -servername www.example.com -showcerts </dev/null

Fix for users

Whether your own device trusts a particular root is shown by the browser TLS test, also for internal servers with a company CA.

FAQ

Why does the site work in Chrome but not in Firefox?

Usually an intermediate certificate is missing on the server. Chrome downloads it on many systems, Firefox only if it already knows the certificate. The fix is the complete chain on the server.

Is the error dangerous?

It can be harmless, for example on a test server. But it is exactly what an attacker on the network would trigger. Never ignore it on third-party sites with logins or payments.

How do I install a company CA in the browser?

On Windows and macOS import it into the system certificate store; Chrome, Edge and Safari use it directly. In Firefox under Settings → Privacy & Security → Certificates.

Sources and documentation