PDA

View Full Version : Need some help with SSL



jason102178
08-29-2010, 06:00 PM
Hi if anyone could help i would appreciate it... i have an SSL certificate and i host my domain and everything with Godaddy and i had them check and they said everything is in the SSL certificate its called a turbo SSL

anyways my problem is in relations to internet explorer i have used the ssl certificate in every other browser imaginable and i have no problem but for some reason internet explorer is thinking there is a security issue....
when i go to my site using internet explorer the bar shows up at top saying
" to help protect your security... internet explorer has blocked thid website from displaying content with security certificate errors.. click here for options"

im assuming it doesnt like the code that is being used in order to make ssl work since it uses java script....

here is a look at the code im currently using if anyone has any suggestions on what i could do to fix this problem that would be great.... because godaddy says they will not help with scripting

<SCRIPT LANGUAGE="JavaScript">
if (location.protocol != 'https:'){
window.location= 'https://' + location.host + location.pathname + location.search
}
</SCRIPT>

wildjokerdesign
08-30-2010, 02:58 AM
Use mod-rewrite in a .htaccess file instead of javascript.
http://www.besthostratings.com/articles/force-ssl-htaccess.html
If your current host does not allow .htacess files then switch to WestHost. :)