cancel
Showing results for 
Search instead for 
Did you mean: 

SSL not secure because of 1 image

SOLVED

SSL not secure because of 1 image

Hi,

Recently moved from bigcommerce to Magento (so far very impressed)

The SSL is setup for the entire website to be under secure on all pages. There is just 1 image that causes the SSL not to stay secure. Tried to locate file but not seeing it? Any ideas please?

Insecure URL: /pub/static/version1505938565/frontend/Infortis/ultimo/en_US/images/tex/1.png
Found in: /asset/dynamic/assets/m/iult/f/cfg.css/

1 ACCEPTED SOLUTION

Accepted Solutions

Re: SSL not secure because of 1 image

Well you have mixed content in your code. You can use hours to search for the error or you can resolve the problem like this:

Go to Content -> Design - > Configuration - > Choose your site and select to Edit it.

Go to HTML head - > Scripts and Style Sheets

Insert this code:

<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">

 

All insecure request will now be "upgraded" to secure on the fly Smiley Happy

If a secure version of the content is not available, it will not be loaded and the page will still be showed as being secure.

View solution in original post

3 REPLIES 3

Re: SSL not secure because of 1 image

What is the CSS statement that's included in /asset/dynamic/assets/m/iult/f/cfg.css/ for this image? It would be strange for it to be but it may be that this is directly referencing https rather than being a relative link. If so, update to be relative, look through css files for how other images are included.

 

If you aren't able to get it working, could you share a link to the live site please?

----
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution" as appropriate. Thanks!

Re: SSL not secure because of 1 image

@luxuriousloook

 

Are you using any theme, that creates that file?

 

If yes then you need to share how they generate that css file.

 

 


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

Re: SSL not secure because of 1 image

Well you have mixed content in your code. You can use hours to search for the error or you can resolve the problem like this:

Go to Content -> Design - > Configuration - > Choose your site and select to Edit it.

Go to HTML head - > Scripts and Style Sheets

Insert this code:

<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">

 

All insecure request will now be "upgraded" to secure on the fly Smiley Happy

If a secure version of the content is not available, it will not be loaded and the page will still be showed as being secure.