Find the cause of Chrome's privacy warning from the code under it
Your connection is not private is Chrome's warning that the certificate a site sent failed one of its checks, and the heading stays the same for most failures. The code printed under it, such as NET::ERR_
What the code under the warning means
| Code | What failed | How to fix it |
|---|---|---|
| NET::ERR_ | The certificate has expired, or isn't valid yet, by the visitor's clock. | Renew it, then reload whatever serves HTTPS so it sends the new one. |
| NET::ERR_ | The certificate doesn't cover the address in the address bar, such as the www version of your domain. | Get a certificate that lists every name visitors use. |
| NET::ERR_ | Chrome can't trace the certificate to an authority it trusts, as with a self-signed certificate or a missing intermediate. | Install a certificate from a public authority and send the full chain. |
| NET::ERR_ | The certificate has been revoked, and Chrome gives visitors no way past this warning. | Replace it with a newly issued certificate. |
| NET::ERR_ | The certificate is signed with a weak signature algorithm. | Replace it with a newly issued certificate. |
| NET::ERR_ | Chrome requires public certificates to come with proof they were publicly logged, and this one didn't meet Chrome's policy. | Replace it with a newly issued certificate, and ask your certificate authority if the error comes back. |
Ask openssl why the certificate fails
# Verify the certificate yoursite.com sends, including the name it covers
echo | openssl s_client -connect yoursite.com:443 -servername yoursite.com \
-verify_hostname yoursite.com 2>/dev/null | grep -E "Verify return code|no peer certificate"
Match the openssl result to Chrome's code
0 (ok)means openssl trusts the certificate and it covers the name, unless the output also saysno peer certificate available: then the handshake failed before any certificate arrived, and the 0 means nothing. Run the command again without2>/dev/nullto see why it failed. A message that the certificate has expired or isn't yet valid matches NET::ERR_CERT_ DATE_ INVALID, hostname mismatchmatches NET::ERR_CERT_ COMMON_ NAME_ INVALID, and self-signed certificate,unable to get local issuer certificateorunable to verify the first certificatematch NET::ERR_CERT_ AUTHORITY_ INVALID. OpenSSL's verification error list explains each message, and its verification options cover -verify_hostname. Each of the three codes has its own guide, linked at the end of this page.If openssl reports
0 (ok)but visitors still see the warning, test each address your domain points to, since a CDN location or a second server can send a different certificate. If those pass too, the cause is on the visitor's side, and the list below sorts it by who sees the warning.
Who sees the warning points to the cause
Every visitor on every network
The certificate your server or CDN sends is the problem. Read the code and fix the certificate.
Only one hostname, such as www
That name is missing from the certificate, or DNS sends it to a server set up for a different site.
One computer or phone
Check that device's date and time; Chrome shows "Your clock is behind" or "Your clock is ahead" when it spots a wrong clock. Then check any antivirus software that scans HTTPS traffic.
One network, such as an office or cafe
A Wi-Fi sign-in page or a proxy that inspects HTTPS is swapping in its own certificate. A work proxy usually shows NET::ERR_
CERT_ AUTHORITY_ INVALID on devices missing its certificate.
Chromium lists each certificate code in net_
Frequently asked questions
Can visitors click past the warning?
Often, yes: Chrome's Advanced button reveals a link to proceed that it marks unsafe. Chrome leaves that link out for a revoked certificate and for a site that uses HSTS, and says the site can't be visited right now instead. Chromium's interstitial strings hold the wording for each case.
Does the warning mean someone is attacking my site?
Not necessarily. Chromium's error list names an attacker and a misconfigured server as possible causes of the same codes, and one connection can't tell them apart. Check the certificate your server sends with openssl before assuming an attack.
Why does Chrome say attackers might steal passwords?
That sentence appears on every version of this warning, whatever the code says. Chrome can't confirm who it's talking to, so it warns that information sent to the site could reach someone else. The code under the heading tells you what actually failed.
How do I get a warning before my SSL certificate expires?
SiteCMD emails you before your SSL certificate runs out, so a renewal that failed reaches you before your visitors do.
Fix the certificate behind the warning
- Domain healthFix the setup mistakes that make browsers warn people away from your site.
- Expired SSL certificateFind out whether the certificate expired or a clock is wrong, then renew it and serve the new one.
- SSL certificate name mismatchFind the address your certificate leaves out, then get one that covers it.
- Untrusted SSL certificateReplace a self-signed certificate or send the missing intermediate so browsers trust it.