Question : Magento and SSL

ive just installed an SSL cert for magento.

but when I enter the https://www.mydomain.com the following warning appears in both IE 8 and Firefox.

this webpage contains content that will not be delivered using a secure HTTPS connection, which could compromise the security of the entire page.

Ive installed many ssl on the same system so I know Ive done it correclty.

Any ideas.

Answer : Magento and SSL

If I connect using https it gets reverted to http and when accessing a cart it doesn't switch to https.

Looking a a page: (all products I see:
---8<---
</script>
<script type="text/javascript" src="http://www.jkhampers.com.au/js/index.php?c=auto&amp;f=,prototype/prototype.js,prototype/validation.js,scriptaculous/builder.js,scriptaculous/effects.js,scriptaculous/dragdrop.js,scriptaculous/controls.js,scriptaculous/slider.js,varien/js.js,varien/form.js,varien/menu.js,mage/translate.js,mage/cookies.js" ></script>
<link rel="stylesheet" type="text/css" href="http://www.jkhampers.com.au/skin/frontend/blank/themejk/css/reset.css" media="all" />
<link rel="stylesheet" type="text/css" href="http://www.jkhampers.com.au/skin/frontend/blank/themejk/css/styles.css" media="all" />
<link rel="stylesheet" type="text/css" href="http://www.jkhampers.com.au/skin/frontend/blank/themejk/css/clears.css" media="all" />
<link rel="stylesheet" type="text/css" href="http://www.jkhampers.com.au/skin/frontend/blank/themejk/css/print.css" media="print" />
---8<---

The bold entries are the cause of the messages that non SSL data is referenced on an SSL connected page.

Try to convert these (and all others to use the entries WITHOUT 'http://www.jkhampers.com.au'  That is a part that the browser fills in when absent (so called relative URL's).

---8<---
</script>
<script type="text/javascript" src="js/index.php?c=auto&amp;f=,prototype/prototype.js,prototype/validation.js,scriptaculous/builder.js,scriptaculous/effects.js,scriptaculous/dragdrop.js,scriptaculous/controls.js,scriptaculous/slider.js,varien/js.js,varien/form.js,varien/menu.js,mage/translate.js,mage/cookies.js" ></script>
<link rel="stylesheet" type="text/css" href="/skin/frontend/blank/themejk/css/reset.css" media="all" />
<link rel="stylesheet" type="text/css" href="/skin/frontend/blank/themejk/css/styles.css" media="all" />
<link rel="stylesheet" type="text/css" href="/skin/frontend/blank/themejk/css/clears.css" media="all" />
<link rel="stylesheet" type="text/css" href="/skin/frontend/blank/themejk/css/print.css" media="print" />
---8<---

That would cause the stylesheet etc. to also get loaded using https://www.jkhampers.com.au/ by default.



Random Solutions  
 
programming4us programming4us