Link to home
Start Free TrialLog in
Avatar of Brian
BrianFlag for United States of America

asked on

Error using SSL

Hello Experts,

I have an application that consists of 5 pages. The application uses SSL to protect sensitive data. For some reason every time I try to access any one of the 5 pages I get an SSL popup (please see attached image below named ee-ssl).

 User generated image
Now, it depends on what I choose (yes or no) that gives me different results.

If I choose "No" then all is well and I don't receive an error message at the bottom left of my screen.

If I choose "Yes" then I receive an error at the bottom left of my screen. Please see the error message attached if I where to double click on the error icon bottom left of my screen.

 User generated image
If I go into my code to locate the line message the error is referring to I see the following lines of code below. Now, in order for this code below to work it has to go in the <body> section of the page. I have it right after the <body> tage before the other content.

CODE:
<script type="text/javascript">
    $('#form1').submit(function () { $('btn_SaveAnnualPhysical.ClientID[type=submit]', this).attr('disabled', 'disabled'); });
</script>

Is there any way to prevent this from happening??
Avatar of Sudhindra A N
Sudhindra A N
Flag of India image

looks like some of the components or js libraries you are using in your code is loaded from non secure sites i.e, using just http:// protocol.
You download the javascript libraries or any other files and access from your https:// site.

You can use IEChecker or developer tools of the browsers to see which compoents are being downloaded from which sites.

To avoid the popup download all from the https site..
Avatar of Brian

ASKER

Hi ansudhindra,

Can you be a little more specific on how I can fix this issue? Sorry, I'm just not that knowledgable on how to fix what you are saying.

@leakim971,

Is there another way other than having all my users add that site to the trusted zones?
What i mean is, if you are loading the javascript library files from CDN (like google, or jquery site for example loading js file   <script type='text/javascript' src='http://code.jquery.com/jquery-1.6.3.js'></script>),

Here your server is secured with https, but the js file you are loading is from http site (not secured). Hence download the files to your "https" server and change the code to load the files from your server... (like <script type='text/javascript' src='js/jquery-1.6.3.js'></script>)

BR-Sudhindra-www.clicksperday.com
Avatar of Brian

ASKER

@ ansudhindra,

Ok, I see what you mean now. Below is the javascript library that I load for the pages that I keep getting the error messages on. I currently have jquery-1.6.4.js stored locally, could I just use that or is it required to use the version that I'm using. Not sure if that matters or not.

<script src="http://code.jquery.com/jquery-1.5.js" type="text/javascript"></script>
ASKER CERTIFIED SOLUTION
Avatar of Sudhindra A N
Sudhindra A N
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Brian

ASKER

Thanks.