"Your connection is not private" and other SSL errors
A browser shows a full-page warning when it can't trust a site's certificate. The code under the warning tells you why. Match your code to the table.
Symptom, cause, fix
| Code in the warning | Meaning | Likely fix |
|---|---|---|
NET::ERR_CERT_DATE_INVALID |
Certificate expired, or your device's clock is wrong | Check your device date. If it's right, the site's certificate expired. Section 1 |
NET::ERR_CERT_COMMON_NAME_INVALID or ERR_CERT_NAME_INVALID or SSL_ERROR_BAD_CERT_DOMAIN |
Certificate is for a different name | Section 2 |
NET::ERR_CERT_AUTHORITY_INVALID or SEC_ERROR_UNKNOWN_ISSUER |
Self-signed or untrusted, or missing chain | Section 3 |
ERR_SSL_PROTOCOL_ERROR or ERR_SSL_VERSION_OR_CIPHER_MISMATCH |
Handshake failed. Old device, or a broken setup | Section 4 |
ERR_CERT_REVOKED or SEC_ERROR_REVOKED_CERTIFICATE |
The authority cancelled it | Reissue. Section 1 |
| Padlock with a warning, "not fully secure" | Mixed content | Fix mixed-content warnings |
| No padlock, "Not secure" | No certificate or no HTTPS redirect | Why your free SSL hasn't been issued |
| Warning can't be bypassed, no "continue" button | HSTS is set, and the certificate is invalid | Fix the certificate. HSTS |
| Error 525 or 526 on Cloudflare | Cloudflare can't verify your server certificate | Cloudflare |
Browsers word these pages differently and change the wording between versions. The error code under the message stays the same, so match on that.
If you're a visitor
- Check your device's date and time. Turn on automatic time.
- Try another browser and a different network. Public Wi-Fi sometimes interferes.
- Don't click through a warning on a site where you enter a password or card number. Tell the site owner.
If it's your site
Quick check
- Open
https://example.caandhttps://www.example.ca. Click the padlock area for certificate details. Look at the Issued to name and the Expires on date. - Go to Account → Hosting → your site → Security → SSL certificates. A red or yellow mark shows a problem.
1. Expired or revoked certificate
- On the SSL certificates page, click Check all now. See Free SSL with AutoSSL.
- If it fails, read Why your free SSL hasn't been issued.
- If you installed a paid certificate, renew it with the seller and install it again. See Install an SSL certificate you bought elsewhere.
2. Name mismatch
The certificate must cover the exact name in the address bar. A certificate for example.ca doesn't cover shop.example.ca unless it lists it.
wwwfails but the bare domain works: addwww.example.caand re-run AutoSSL. Make sure DNS has a record forwww.- A new subdomain fails: add it under Websites → Domains, then click Check all now on the SSL certificates page.
- A domain behind a CDN shows another site's certificate: check where DNS points. See Check your DNS records.
3. Untrusted or chain missing
- A self-signed certificate means no authority signed it. Click Check all now under SSL certificates to get a valid one.
- A paid certificate without its CA bundle works on some devices and fails on others. Install the bundle. See Install an SSL certificate you bought elsewhere.
4. Protocol errors
- Very old browsers and devices can't connect to modern HTTPS. Update the device.
- A security plugin or
.htaccessrule that forces an old protocol can cause this. Remove it. - Check Cloudflare's minimum TLS setting if you use it.
After you fix it
- Test in a private window.
- Make sure
http://goes tohttps://. See Force HTTPS for your site. - Check email apps. If they also warn, the mail certificate may be the cause. See Can't send email.
Still stuck?
Send us the exact code and a screenshot. See What to include when you ask for help.
Still stuck? Ask us and we'll walk you through it.
