- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Errors, switching to SSL. Insecure endpoint
I am trying to switch to ssl for our website, but i am getting the following error, it is preventing the javascript from working and not adding to cart.
Mixed Content: The page at 'https://www.site.com/product' was loaded over a secure connection, but contains a form which targets an insecure endpoint 'http://www.site.com/checkout/cart/add/uenc/aHR0cDovL3d3dy5oZWFydGhpamFiLmNvbS9wdXJwbGUtbWF4aS1wbGFpb... This endpoint should be made available over a secure connection.
how can i make this a secure url?
i have no idea where to locate any file to edit this.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Errors, switching to SSL. Insecure endpoint
Why don't you make your entire secure
Keep Calm and Clear Cache!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Errors, switching to SSL. Insecure endpoint
This will be caused by elements on the page being called with http:// rather than https:// - You probably have some hardcoded links in your code somewhere.
if you use
Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB);
that will automatically swap between secure and non secure.
Finding what is being served as non secure can be a pain but you can normally find the offending items by using Firebug (Firefox plugin) or try here: https://www.whynopadlock.com/