This question has been flagged
3 Replies
8304 Views

Hi all,

I recently switched our odoo site to HTTPS and it works fine.

But there is one issue which I cannot handle yet. For login page and all internal pages after I login, the identity is valid. For all public pages the situation remains the same. In certain pages http is mixing with https.

Any suggestions are greatly appreciated!


EDIT:

there is a problem with resources (images) which are loaded using non secure connection.

So the question now is how to force odoo to use https on that resources too.

EDIT2:
Ok, If I alter Settings -> Parameters -> System parameters   web.base.url to "https://"  save it and then log out-in again, the web.base.url is back to "http://". 


EDIT3:

I found a "solution" for this. I edit website and did a select/save for each picture which was loaded through insecure connection.
The affected pictures was used in slider component of website module. Note that only 4 images was affected by this.

I think this should be fixed in the slider component.

Avatar
Discard

Thanks for sharing, I have to deal with SSL the next days.

Best Answer

The problem was some of resources (images) that are uploaded are situated in website as http (for eg : http://abc.png) . Here we have already set up https in our website and anyone of images uploaded as http, so the conflicts works.

To solve this issue, uploaded that image again and i will works.

Avatar
Discard
Best Answer

If you have set up a website before you installed SSL, you have to check the complete site and edit it in order to get rid of mixed contents. Webdeveloper Tools show the insecure contents.

Avatar
Discard