Diagnose and resolve the NET::ERR_CERT_AUTHORITY_INVALID error.
The NET::ERR_CERT_AUTHORITY_INVALID error indicates that the browser doesn't trust the authority that issued the SSL certificate. Every SSL certificate is signed by a Certificate Authority (CA) that guarantees the domain owner's identity. If this CA isn't recognized by the browser, the entire chain of trust is broken.
This error is often more complex to resolve than other SSL errors because it involves the certificate chain. A valid SSL certificate isn't enough: all intermediate certificates up to the root must also be correctly installed and recognized by browsers.
In this guide, we'll explore common causes of this error and give you tools to diagnose and fix it. Whether your certificate is self-signed, the chain is incomplete, or the CA is obsolete, you'll find the right solution.
How this error appears in different browsers:
Several situations can trigger this error:
Follow these steps to identify the cause:
Use this command to see the complete chain:
#!/bin/bash
# Display complete certificate chain
DOMAIN="example.com"
echo "=== Certificate chain for $DOMAIN ==="
openssl s_client -connect $DOMAIN:443 -servername $DOMAIN -showcerts </dev/null 2>/dev/null | awk '
/-----BEGIN CERTIFICATE-----/,/-----END CERTIFICATE-----/ {
if (/-----BEGIN/) { cert++ }
print > "cert" cert ".pem"
}
END { print "Number of certificates in chain: " cert }'
# Display info for each certificate
for cert in cert*.pem; do
echo ""
echo "=== $cert ==="
openssl x509 -in $cert -noout -subject -issuer
rm $cert
done
This command displays all certificates in the chain with their issuers. A complete chain should have 2-3 certificates: yours, the intermediate, and optionally the root.
Avoid this error with these recommendations:
No, self-signed certificates aren't recognized by browsers and will cause errors for all visitors. Use Let's Encrypt which is free.
Your certificate authority provides them when issuing the certificate. For Let's Encrypt, Certbot installs them automatically.
Very likely. Corporate proxies often inspect HTTPS traffic using their own certificate. Contact your IT team.
Yes, some antivirus inspect HTTPS traffic. Temporarily disable SSL inspection in your antivirus settings to test.
Replace your certificate with a new one issued by a recognized CA. For example, Symantec is no longer recognized by Chrome.
MoniTao checks not only certificate validity but also the complete chain. You're alerted if a problem is detected.
The invalid certificate authority error often requires correctly rebuilding the certificate chain. Make sure to use a recognized CA and install all intermediate certificates.
MoniTao monitors the validity of your certificate and its chain. Configure a monitor to be alerted immediately if a problem occurs.
Start free, no credit card required.