(SSL) Site is showing up as both "Not secure" AND "Certificate is valid"

Hi. I am not sure what’s going on. I have several dozen sites on Cloudflare DNS, all set up in the same way but one of them is having issues.

The affected domain is ‘trainerdave.ca’.

It shows a valid R3/Let’s Encrypt but also has the /!\ Not secure warning in my Chrome address bar.

The same is the case for ‘tidalperformance.ca’, which redirects (301) to 'trainerdave.ca.

However, it is NOT the case for ‘sookekickboxing.ca’ which redirects (301) to ‘trainerdave.ca/kickboxing’, and I am seeing the lock.

Any pointers on how to trouble-shoot this?? Thank you so much.

The most common cause of this is Mixed Content. That is, the page itself is loaded over https/encrypted, the cert is valid, but it’s loading some resources unencrypted/over http.

You have a few http links to this same image, looks like they’re part of the carousel meta:
http://trainerdave.ca/wp-content/uploads/2020/06/TidalPerformance_top-1.png

Newer versions of Chrome/Firefox will auto-upgrade these requests, but not all browsers do, or if you have an older version.

If you open up dev console (ctrl+shift+i, or right click → inspect), and then click on the “Console” tab, look for log messages that start with “Mixed content”, and note down the URLs.

You can change them in the source of your website to simply load over https (change http:// to https://), or you can try enabling Automatic HTTPS Rewrites. You can find Automatic HTTP Rewrites under your website in the dashboard, and then SSL/TLS → Edge Certificates → scroll down to Automatic HTTPS Rewrites and enable, or via this Magic Link: https://dash.cloudflare.com/?to=/:account/:zone/ssl-tls/edge-certificates
Automatic HTTP Rewrites won’t get everything though.

1 Like

Thank you so much!

Https rewrites was already on - but I did have a bunch of old links in there. Manually going through these fixed it. I’ll hunt down the rest with better search replace.

Another thing learned (because I’m sure I’ll run into this again with other older sites)!

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.