how to prevent the security warning in Internet Explorer?

前端 未结 1 2011
清酒与你
清酒与你 2021-01-26 11:07

I have a ruby on rails website with a security certificate installed for SSL. I don\'t get any kind of security warnings in other browsers such as Chrome or Firefox, but I get t

1条回答
  •  伪装坚强ぢ
    2021-01-26 11:49

    Somewhere in your page, you are specifying a file with a URL that starts http://, where the URL for the main page starts with https://.

    https is intended for secure sites, but having any non https content on the same page compromises that security. This is what IE is warning you about.

    You need to ensure that all elements in the page are downloaded via a https:// URL.

    If you're not sure which files are being downloaded with the wrong protocol, you could use IE's Dev Tools window to view the page traffic. Open the Dev Tools by pressing F12, then load the page (answer 'Yes' to the security question so you can be sure everything is downloaded). You should be able to see all the files that were loaded to open the page, and should be able to see from that which one(s) are loaded via http:// instead of https://. Those are the ones you need to fix.

    Hope that helps

    0 讨论(0)
提交回复
热议问题