Browser warnings such as ‘Your connection is not private’ or ‘Not secure’ stop most visitors immediately. They usually come from a handful of causes: an expired certificate, a certificate that does not match the domain, a missing intermediate certificate or pages loading insecure content. Here is how I diagnose and fix each one.
Understanding the warnings
A full-page error such as ‘Your connection is not private’ or NET::ERR_CERT means the browser cannot trust the certificate: it may be expired, issued for a different domain, self-signed or missing parts of its chain. A ‘Not secure’ label in the address bar on a page that loads means the page itself is http or contains insecure content.
Note the exact error code; it points directly to the cause. Clicking the padlock or warning shows certificate details.
Expired certificates
Certificates have expiry dates, and free certificates usually renew automatically every few months. If renewal fails, the certificate expires and every visitor sees a warning. Renewal failures are often caused by DNS changes, firewall rules blocking validation or payment problems for paid certificates.
Check the expiry date in your hosting panel’s SSL section and run the renewal manually. See cPanel basics.
| Error | Likely cause | Fix |
|---|---|---|
| Expired | Renewal failed | Renew, check DNS |
| Name mismatch | Hostname not covered | Reissue with www and subdomains |
| Chain incomplete | Missing intermediate | Install full chain |
| Not secure label | Mixed content | Search and replace http |
| Cloudflare 525 or 526 | Origin certificate | Valid cert, Full (strict) |
Name mismatch errors
A mismatch error means the certificate does not cover the address being visited, for example a certificate for example.com used on www.example.com or a subdomain. The certificate must include every hostname visitors use.
Reissue the certificate to include both the root domain and www, plus any subdomains, or use a wildcard certificate. Make sure redirects send visitors to a covered address.
Incomplete certificate chain
Browsers trust certificates through a chain from your certificate to a trusted root authority via intermediate certificates. If the server does not send the intermediate certificate, some browsers and devices show errors while others work.
SSL checking tools such as SSL Labs show chain problems. Reinstall the certificate with the full chain, which hosts usually handle automatically.
Mixed content
If an https page loads images, scripts or stylesheets over http, browsers may block them or show the page as not fully secure. This often happens after switching to HTTPS, with old URLs in content, theme settings or custom code.
Browser DevTools’ console lists mixed content. Fix URLs with a serialised-safe search and replace. See setting up SSL and forcing HTTPS.
Cloudflare SSL problems
With Cloudflare, errors such as 525 or 526 mean Cloudflare cannot establish a secure connection to your server, usually because the origin certificate is missing, expired or invalid in Full (strict) mode. Redirect loops often come from Flexible mode.
Install a valid certificate on the origin server, or a Cloudflare origin certificate, and use Full (strict) mode. See setting up Cloudflare.
Certificates after DNS or host changes
When you move hosts or change DNS, the new server needs its own certificate. Until it is issued, visitors may see errors. Some hosts can issue certificates before DNS changes using DNS validation.
Plan certificate issuance as part of every migration. See moving WordPress between hosts.
HSTS complications
If your site uses HSTS and the certificate fails, browsers will not let visitors bypass the warning. This makes certificate monitoring even more important for sites with HSTS enabled.
Never enable HSTS until certificates renew reliably. See HTTP security headers.
Device and clock issues
Sometimes the problem is on the visitor’s side: a wrong system clock, outdated operating system or antivirus software intercepting HTTPS. If only one person sees the error, ask them to check their device’s date and time and try another browser or network.
If many visitors see the error, the problem is on the server.
Testing your certificate
Use SSL Labs’ server test or similar tools to check the certificate, chain, supported protocols and configuration. Test every hostname: root domain, www and subdomains. Check from mobile devices as well as desktop browsers.
Run tests after any change to hosting, DNS or CDN settings.
Monitoring expiry
Uptime monitoring tools can alert you before certificates expire, giving time to fix renewal problems. This is especially useful for certificates on subdomains and services that are easy to forget.
See website uptime monitoring.
Email and other services
Certificates also protect mail servers, control panels and other services on your domain. Errors there may affect email clients rather than browsers. Check certificates for every hostname your business uses.
For email, see setting up business email.
Paid vs free certificates
Free certificates from Let’s Encrypt and similar authorities provide the same encryption as paid domain-validated certificates and are trusted by all modern browsers. Paid organisation-validated or extended-validation certificates verify the business behind the domain, but browsers no longer show special indicators for them.
For most small businesses, free automated certificates are the best choice because they renew automatically. Paid certificates make sense where contracts, regulators or legacy systems require them, or where automatic renewal is not possible.
Getting help
If your site is showing security warnings, contact me for a quick fix. SSL setup, renewal monitoring and HTTPS migrations are part of my hosting and migration service.
For full HTTPS setup, read setting up SSL and forcing HTTPS.
Key takeaways
- The error code points to the cause: expiry, mismatch, chain or mixed content.
- Make sure certificates cover both the root domain and www.
- Use Full (strict) with a valid origin certificate on Cloudflare.
- Monitor certificate expiry to catch renewal failures early.
Frequently asked questions
Why does my site say Not secure?
The page uses http or loads insecure content. Force HTTPS and fix mixed content.
How do I renew a free SSL certificate?
Most hosts renew automatically. Run renewal manually in the hosting panel if it fails.
Why does SSL work on one device but not another?
Often a missing intermediate certificate or a device clock problem.
What causes Cloudflare error 526?
An invalid certificate on the origin server in Full (strict) mode.
Do subdomains need their own certificate?
Each must be covered, by its own certificate or a wildcard.
Can SSL errors affect SEO?
Yes. Visitors leave and crawlers may struggle to access pages.
