PDA

View Full Version : SSL error in IE


CraigR
02-25-2011, 12:26 PM
i have just set up SSL for my client site and everything is redirecting to https.

now with IE8, i am getting a security warning re non secure content.

what is the best method for diagnosing/debugging ?

Jason Byrnes
02-25-2011, 12:32 PM
this error means that there is code on the page calling content with a full url using the http protocol. could be an image tag, could be a script tag:
<img src="http://mydomain.com/image.jpg" />


look for any content that is being referenced using a full URL. on the page.

CraigR
02-25-2011, 12:35 PM
Hi Jason

Does this include links to fqdn's ?

Jason Byrnes
02-25-2011, 12:48 PM
yes, any link that goes to an HTTP address:

http://www.somesite.com/somepage.htm


will be pulling unsecured data into your SSL secured page and will cause that warning in IE.

CraigR
02-25-2011, 12:52 PM
that could be a bit of a pain, aspecially if there are sponsors & adverts

is the best solution to redirect to https only the pages that need to be secure, and leave the remainder as http: ?

Jason Byrnes
02-25-2011, 12:55 PM
yes, it does get to be bothersome when there is out side content.

yes, only securing the pages that need to be secured is the best solution.

CraigR
02-25-2011, 12:57 PM
thanks jason, i'll get my htaccess book out !!

Jason Byrnes
02-25-2011, 01:07 PM
you're welcome.