Solved

Error using SSL

Posted on 2011-09-15
8
256 Views
Last Modified: 2012-06-21
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).

 ee-ssl
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.

 ee-error
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??
0
Comment
Question by:asp_net2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 2
8 Comments
 
LVL 13

Expert Comment

by:ansudhindra
ID: 36544583
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..
0
 
LVL 82

Expert Comment

by:leakim971
ID: 36545358
0
 
LVL 4

Author Comment

by:asp_net2
ID: 36582644
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?
0
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 
LVL 13

Expert Comment

by:ansudhindra
ID: 36582704
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
0
 
LVL 4

Author Comment

by:asp_net2
ID: 36583120
@ 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>
0
 
LVL 82

Expert Comment

by:leakim971
ID: 36583817
0
 
LVL 13

Accepted Solution

by:
ansudhindra earned 500 total points
ID: 36584910
If you have doenloaded the latest jquery library to your https server, then you can use. if you are looking for specific version download that version and load that version. File names does not matter, you dont need to explicitly specify js/jquery-1.5.js.
you can store it just as js/jquery.js and access it. There will be no difference.

place your javascript inside the https server...
BR-Sudhindra-www.clicksperday.com
0
 
LVL 4

Author Closing Comment

by:asp_net2
ID: 36718773
Thanks.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

#SSL #TLS #Citrix #HTTPS #PKI #Compliance #Certificate #Encryption #StoreFront #Web Interface #Citrix XenApp
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question