Security

Why Is My SSL Certificate Not Working?

Understand common SSL certificate problems, including expiry, mixed content, redirects, wrong domains, DNS issues and browser warnings.

Understand common SSL certificate problems, including expiry, mixed content, redirects, wrong domains, DNS issues and browser warnings.

SSL problems usually come from a small set of causes: an expired certificate, a certificate installed for the wrong domain, mixed content, redirect mistakes, DNS pointing to the wrong place or a mismatch between www and non-www versions.

This guide explains how to work through SSL issues in a sensible order, so you can find the cause before changing redirects, DNS or hosting settings.

If visitors are seeing a browser warning, avoid guessing. Check the certificate, the domain version being loaded and whether every page resource is using HTTPS.

Quick Summary

Start by checking the certificate expiry, domain coverage, www/non-www versions, DNS destination, redirects and mixed content.

  • Expired Certificate
  • Wrong Domain
  • Mixed Content
  • Redirect Loops
  • DNS Mismatch
  • WWW vs Non-WWW
  • Installation Errors
  • Browser Cache
  • Renewal Issues

Why SSL Problems Happen

SSL certificates prove that a website is using HTTPS and that the certificate matches the domain being visited. When something does not match, browsers may show warnings such as "Not Secure", "Your connection is not private" or certificate name errors.

The issue is not always the certificate itself. SSL problems can also be caused by DNS changes, redirects, cached browser data, mixed content, expired renewals or the website loading a different domain version from the one covered by the certificate.

A good troubleshooting order is important. Check the certificate first, then the domain version, DNS records, redirects and page content.

Common SSL Certificate Problems

Most SSL issues fit into a few practical categories. These are the areas to check before reinstalling the certificate or changing hosting settings.

1

Expired Certificate

The certificate has passed its expiry date or automatic renewal has failed.

2

Wrong Domain

The certificate does not cover the exact domain version visitors are using.

3

Mixed Content

The page loads some images, scripts or styles over HTTP instead of HTTPS.

4

Redirect Loops

Incorrect HTTP to HTTPS redirects can trap visitors in a loop.

5

DNS Mismatch

The domain points to a server that does not have the correct certificate installed.

6

WWW vs Non-WWW

The certificate or redirect may work on one version but fail on the other.

What To Check First

Start by checking the exact URL that shows the warning. Test both the www and non-www versions, and check whether the problem appears on every page or only certain pages.

Next, check the certificate expiry date and the names listed on the certificate. The certificate must cover the exact domain being loaded by the browser.

If the certificate looks correct, check DNS and redirects. A domain can point to the wrong server, or a redirect rule can send visitors between HTTP and HTTPS repeatedly.

Problem What It Usually Means What To Check
Expired certificateThe certificate is no longer valid.Check expiry date and renewal status.
Wrong domainThe certificate does not cover the URL being visited.Check www, non-www and subdomain coverage.
Mixed contentThe page loads insecure HTTP resources.Check images, scripts, CSS and embedded content.
Redirect loopHTTP and HTTPS rules conflict.Review redirects, .htaccess, CDN and WordPress settings.
DNS mismatchThe domain points to the wrong hosting server.Check A records, CNAME records and nameservers.
Browser still shows warningCache, mixed content or old redirect data may remain.Test in private browsing and clear cache after fixes.

Mixed Content Is A Common SSL Problem

Mixed content happens when the page itself loads over HTTPS but some resources still use HTTP. This often affects images, fonts, scripts, stylesheets, video embeds or old links inside page builders.

The certificate may be valid, but the browser can still show warnings because the page is not fully secure. Fixing mixed content usually means updating old HTTP URLs to HTTPS and clearing caches afterwards.

WWW And Non-WWW Versions Both Matter

A website can have more than one domain version, such as example.co.uk and www.example.co.uk. SSL should work correctly on the version visitors use and should redirect cleanly to the preferred version.

If one version works and the other fails, check whether the certificate covers both versions and whether redirects are configured correctly.

Can Hosting Cause SSL Problems?

Hosting can be involved when the SSL certificate is installed on the wrong server, renewal fails, DNS points to an old hosting account or the hosting control panel has not issued the certificate correctly.

However, not every SSL warning is a hosting fault. Redirect rules, mixed content, DNS records and WordPress settings can all cause SSL problems even when the certificate itself is valid.

Common SSL Misunderstandings

A common misunderstanding is that SSL is only about installing a certificate. The certificate also needs to match the right domain, renew correctly and work with your redirects and website content.

Another mistake is assuming that a browser warning always means the certificate has expired. Mixed content, DNS changes, redirect loops and wrong domain versions can create warnings even when the certificate is still valid.

It is also important not to force HTTPS too early during a migration. Make sure the certificate is installed and working before adding strict redirects.

How SSL Errors Affect Visitors

SSL warnings can make visitors leave immediately because browsers present them as security risks. Even if the website content is safe, the warning can damage trust.

For business websites, SSL issues can reduce enquiries, break checkout confidence and make forms look unsafe. Fixing SSL quickly is important because it affects both trust and usability.

How To Prevent SSL Problems

Keep domain renewal, DNS records and SSL renewal under control. If your certificate renews automatically, check that the domain still points to the correct hosting account before renewal.

After migrations or redesigns, test the homepage, key pages, contact forms and both www and non-www versions. Also check that old HTTP links have been updated.

Examples Of SSL Problems

Expired certificate

The certificate renewal fails and browsers start showing a security warning.

Mixed content

The page loads over HTTPS, but images or scripts still load over HTTP.

Wrong domain version

SSL works on the non-www version but not on the www version, or the other way around.

Common SSL Mistakes To Avoid

SSL problems are often made worse by changing redirects, DNS and hosting settings at the same time. Work through the checks in order so you know which change fixes the issue.

SSL check

Check the certificate before changing settings

Before editing redirects, DNS or WordPress settings, confirm whether the certificate is valid and whether it covers the exact domain version being loaded.

Check expiry, domain coverage, issuer, redirect behaviour and mixed content before making further changes.

Frequently Asked Questions

Why is my SSL certificate not working?

Common causes include expiry, wrong domain coverage, mixed content, DNS mismatch, redirect loops or installation errors.

How do I check if an SSL certificate has expired?

Use an SSL checker or inspect the certificate details in your browser to confirm the expiry date.

What does wrong domain mean?

It means the certificate does not cover the exact domain or subdomain being visited.

What is mixed content?

Mixed content happens when an HTTPS page loads images, scripts, styles or embeds over HTTP.

Can DNS cause SSL problems?

Yes. If DNS points to the wrong server, visitors may see a certificate that belongs to another hosting account.

Why does SSL work on www but not non-www?

The certificate or redirect rules may not cover both versions of the domain.

Can redirects break SSL?

Yes. Incorrect HTTP to HTTPS redirects can cause loops or send visitors to the wrong version of the site.

Why does my browser still show an SSL warning?

Browser cache, mixed content, redirect issues or an unresolved certificate mismatch may still be present.

Should I force HTTPS immediately?

Only after confirming the certificate is installed correctly and works on the preferred domain version.

How can I prevent SSL issues?

Monitor renewals, keep DNS accurate, test www and non-www versions and fix mixed content after changes.

What To Do If SSL Still Is Not Working

If SSL still is not working, collect the exact browser warning, the affected URL and whether the problem appears on the www, non-www or both versions of the domain.

Then check certificate expiry, domain coverage, DNS records, redirects and mixed content. These checks solve most SSL warnings without needing to rebuild the website.

If the certificate appears valid but browsers still show warnings, contact your hosting provider with the exact URL and error message so they can check the installation and server configuration.