troubleshooting 2026-12-02 ⏱ 3 min read

HTTPS Not Working? Fixes for Common Causes

HTTPS Not Working? Fixes for Common Causes

When HTTPS fails, the symptom tells you where to look. A connection error points to the server or firewall. A certificate warning points to the certificate. A page that loads but without a padlock points to mixed content. Start from the symptom and work down the table.

Fix HTTPS not working: symptom to cause

Browser messageLikely causeFirst check
ERR_CONNECTION_REFUSED / timed outPort 443 closed or no HTTPS listenerFirewall, web server config
NET::ERR_CERT_DATE_INVALIDCertificate expired or clock wrongSSL Checker dates, device time
ERR_CERT_COMMON_NAME_INVALIDHostname not in certificateSAN list
ERR_CERT_AUTHORITY_INVALIDMissing intermediate or self-signedChain
ERR_TOO_MANY_REDIRECTSRedirect loopProxy or CMS settings
Not secure on a loaded pageMixed contentBrowser console

1. Check the connection

curl -vI https://example.com
openssl s_client -connect example.com:443 -servername example.com </dev/null

If the connection is refused, confirm the web server listens on 443 and that the firewall or cloud security group allows it.

2. Check the certificate

Use the SSL Checker to see expiry, names and chain. If the certificate expired, renew and install it, then reload the web server. If the name is wrong, reissue with every hostname, including www.

3. Fix a missing chain

Serve the leaf certificate followed by the intermediates, in that order. The most common sign is a site that works in Chrome but fails in curl or on mobile.

cat certificate.crt ca_bundle.crt > fullchain.pem

Fix HTTPS not working: redirect loops

A loop usually appears behind a CDN or load balancer. The proxy talks to your server over HTTP, the server redirects to HTTPS and the cycle repeats. Fix it by using a strict end-to-end mode on the proxy, or by telling the application to trust the X-Forwarded-Proto header. In WordPress, check that the Site URL starts with https://. The Redirect Checker shows each hop.

5. Mixed content

Open the browser console and look for blocked or insecure requests. Update those URLs to https://. For a full walkthrough, see our mixed content guide.

6. DNS and CAA

If a certificate cannot be issued at all, check DNS with the DNS Lookup and CAA records with the CAA Checker. A CAA record that omits your CA blocks issuance.

After the fix

Test the root and www on HTTPS, make sure HTTP redirects to HTTPS in a single step, and add expiry monitoring so the problem does not return.

Practical notes

When several symptoms appear together, fix them in this order: connection first, then certificate, then chain, then redirects, then mixed content. Each step depends on the one before it, so an earlier fix often clears later errors. Write down what you changed and when, because HTTPS problems often return after a renewal or a server update, and a short log makes the second occurrence much quicker to resolve.

Related reading: the certificate error guide, the not secure warning guide and the authority invalid error.

Frequently Asked Questions

Why does HTTPS work for me but not for others?

Your browser may have cached an intermediate certificate that others do not have, or others may reach a different server behind a load balancer.

Can wrong system time cause certificate errors?

Yes. If a device clock is far off, valid certificates appear expired or not yet valid.

Do I need to restart the server after installing a certificate?

Usually a reload is enough, but the server must re-read the files. Without it the old certificate stays in use.

Why is my site Not Secure even with a valid certificate?

Most likely mixed content, a form posting to HTTP, or an old HTTP asset in the page.

Why does HTTPS work on one hostname and fail on another?

The certificate or the virtual host covers one name and not the other. Check the names on the certificate, then confirm the server block that answers for the failing hostname points at the right certificate.

🔒 Test Your Website SSL Certificate Now
Run Free SSL Check →

✅ Post-Installation Verification & SEO Checklist

After applying the steps above, run through this 5-point checklist to prevent browser warnings and protect your Google SEO rankings:

  • Verify full CA chain trust and TLS 1.3 support using our Live SSL Checker.
  • Scan for Mixed Content HTTP links and check HSTS/CSP headers on Security Headers Checker.
  • Enforce a permanent 301 HTTP-to-HTTPS redirect with our HTTPS Redirect Generator.
  • Confirm both root and www versions resolve cleanly to one canonical HTTPS URL.
  • Verify your HTTPS property and sitemap.xml inside Google Search Console and Bing Webmaster Tools.
Technically Reviewed by TryFreeSSL Security Team
Last updated: 2026-12-05
About Us →

Free SSL Certificates, Live SSL Checker & CSR Generator

Issue trusted Let's Encrypt SSL certificates in 60 seconds with zero server setup.

Related Articles

🤖 TryFreeSSL AI Assistant