Chrome shows NET::ERR_CERT_AUTHORITY_INVALID, Firefox SEC_ERROR_UNKNOWN_ISSUER, curl
self-signed certificate in certificate chain. The browser can't trace the certificate back to a root it trusts.
See who issued it
echo | openssl s_client -connect example.com:443 -servername example.com 2>/dev/null \
| openssl x509 -noout -subject -issuer
If subject and issuer are the same, the certificate is self-signed. Otherwise the issuer name tells you which case below applies.
Self-signed or an internal CA
Router admin pages, dev servers and company services often use their own certificates. On a public site, replace it with a certificate from a public CA such as Let's Encrypt. For internal services, install the company's root certificate on the devices that use them.
A Let's Encrypt staging certificate
The issuer contains (STAGING). Certbot was run with --staging or --test-cert, which issues
certificates no browser trusts. Run certbot again without that option and let it replace the certificate.
A missing intermediate
Chrome often fills in the gap, Firefox and apps don't. If only some browsers show the error, check the chain: incomplete certificate chain.
TLS inspection on one machine or network
Antivirus software and company proxies decrypt traffic and re-sign it with their own certificate. The issuer then names the antivirus or proxy, and the error shows up only on that machine or network. The site is fine. The fix is on that machine: turn off HTTPS scanning or install the proxy's root.
Old devices
Devices that stopped getting updates lack newer roots. Android before 7.1.1 doesn't trust ISRG Root X1, the root
of Let's Encrypt, since the old cross-signed chain ended in 2024. Little can be done on the server side for these.
Don't click through
Telling users to accept the warning trains them to accept a real attack. Fix the certificate, then check it from outside with the certificate check.