Troubleshooting
How to Fix SSL Certificate Errors (NET::ERR_CERT_INVALID)
Fix browser SSL warnings and certificate errors that prevent visitors from accessing your website securely.
5 min read
Updated 25 August 2026
Fixing SSL Certificate Errors
SSL errors show a "Your connection is not private" warning in browsers, which drives visitors away. Here is how to diagnose and fix them.
Common SSL Error Messages
| Error | Meaning |
|---|---|
| NET::ERR_CERT_INVALID | Certificate is invalid or self-signed |
| NET::ERR_CERT_DATE_INVALID | Certificate has expired |
| NET::ERR_CERT_COMMON_NAME_INVALID | Certificate domain does not match |
| SSL_ERROR_RX_RECORD_TOO_LONG | Mixed HTTP/HTTPS content |
Fix 1 — Renew an Expired Certificate
Let's Encrypt certificates expire every 90 days but auto-renew. If auto-renewal failed:
- Log into cPanel → Security → SSL/TLS Status
- Find your domain and check the expiry date
- Click Run AutoSSL to force renewal
- Wait 5 minutes and refresh your site
Fix 2 — Certificate Domain Mismatch
If your certificate is for yourdomain.co.ke but visitors access www.yourdomain.co.ke:
- cPanel → SSL/TLS Status
- Ensure both
yourdomain.co.keANDwww.yourdomain.co.keare listed - Run AutoSSL to cover both
Fix 3 — Mixed Content (HTTP resources on HTTPS page)
Your page loads over HTTPS but includes HTTP images, scripts, or stylesheets.
For WordPress:- Install Really Simple SSL plugin
- It automatically fixes mixed content issues
- Open Chrome DevTools (F12) → Console
- Look for "Mixed Content" warnings
- Update the URLs in your HTML/CSS to use
https://
Fix 4 — Force HTTPS in WordPress
- WordPress admin → Settings → General
- Change both URLs from
http://tohttps:// - Save changes
Fix 5 — Clear SSL State in Browser
Windows: Internet Options → Content → Clear SSL State
Or simply clear browser cache and cookies.
Tags:SSL errorcertificateHTTPSNET::ERR_CERT_INVALID
Still need help?
Our Kenyan support team is on WhatsApp — real people, not bots. We respond in under 15 minutes.