Ssl not shown on every page on website


#1

Hi,

I just installed the lets encrypt client on my Debian VPS.
I installed a certificate for my domain, and it worked like a sharm.

However, there is one weird thing.
When visiting some pages the lock is not there.
The url still shows https, but the lock just doesn’t show.

Is this normal? is the connection still encrypted?

Thanks,


#2

The most common reason is that you are including images or other content via http - try testing those pages with https://www.whynopadlock.com/


#3

Some of your sites probably still include resources via http://. This is called mixed content, and most browsers won’t show the lock for pages with mixed content. You’ll have to make sure your site (including stylesheets, javascript, etc.) includes all resources via https:// or protocol-relative URLs (e.g. <script src="//example.com/script.js">).


#4

Thanks, it looks like that is the problem!


#5

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