Solved

How to use SSL between Appserver and SQL Server

Posted on 2006-06-26
5
865 Views
Last Modified: 2007-12-19
How to use SSL or any other encryption (or any other security) between appserver(i use websphere) and sql server.(2000/2005)

thanks
Sunil
0
Comment
Question by:sunilramu
  • 3
5 Comments
 
LVL 4

Accepted Solution

by:
dukestaTAI earned 500 total points
ID: 16982807
In IIS 6 you can just click on properties for your website then go to:

Directory Security and under Secure Communications click on Edit, here you will find check box that reads Require Secure Channel(SSL)

Check this box.

Now you will have to https: to navigate to your site.
0
 
LVL 2

Expert Comment

by:Mr_Lenehan
ID: 16983292
Look at this: http://www.experts-exchange.com/Web/Application_Servers/Websphere/Q_21892626.html

It is reference to WebSphere/Active Directory but is similar in concept. The stages are:
> set up SSL on SQL Server
> import .cer from SQL Server onto websphere machine (by browsing https://yourserver/anyIISfile.html)
> install .cer to JVM using keylog
> restart websphere machine

The most important step is installing the certificate issued by the SQL server into the JVM, as Websphere will look to the JVM's trusted certificates.

Hope this helps.
0
 

Author Comment

by:sunilramu
ID: 16983669
Mr_Lenehan

Q_21892626.html you have reffered to seems to have been deleted. do you have any information regarding that. In the meanwhile i will try your solution.

thanks
Sunil
0
 
LVL 2

Expert Comment

by:Mr_Lenehan
ID: 16983763
I am attempting to use the following Java to perform password change in active directory:
=======================================================
          //Some JAVA Ldap code which won't be relevant.
=======================================================

On the same server that I have Active Directory I have IIS, using IE browser on my WebSpehere server I exported the .cer issued by that IIS server.  I then added this to my java jre using keystore.

If I use the ldap url: "ldap://9.173.216.83:389" I get the error: "javax.net.ssl.SSLProtocolException: end of file".  

If I use "ldaps://9.173.216.83:389" or "ldaps://9.173.216.83:636" I get the error: "java.net.MalformedURLException: Not an LDAP URL: ldaps://9.173.216.83:636/DC=domain,DC=division,DC=company"

So my problems are above, what are the likely causes of this? When I change directory to %JAVA_HOME% I get directed to the java\bin in my WebSphere installation and not my regular jre (even though my code points to the JRE keystore).... could this have something to do with it... if so how do I fix it?

Any help or pointers would be greatly appreciated.
0
 
LVL 2

Expert Comment

by:Mr_Lenehan
ID: 16983774
It was a question I posted and deleted, sorry. My problem was a network one and not coding/config. So long as you can get your websphere JVM to trust the SSL of you db server you should be laughing.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Angular 2 - Issue in page Layout 2 59
push logos in footer up higher 5 20
tomcat startup error 5 63
specific navigation button disappears on mobile devices 1 11
Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

770 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