aspose file tools*
The moose likes Tomcat and the fly likes Check SSL Encryption Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Check SSL Encryption" Watch "Check SSL Encryption" New topic
Author

Check SSL Encryption

A Farroll
Greenhorn

Joined: Oct 26, 2012
Posts: 23
Hello,

We have a Java web services application which interrogates a SQL server 2005 database. If I have imported a client SSL certificate from the SQL Server to the java keystore and updated the JNDI connection in Tomcats context.xml file and the connector in the server.xml file, how can I check that the communication is indeed being encypted?

Thanks in advance

Regards

A Farroll
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16139
    
  21

I don't think that's how it's supposed to work. The Tomcat keystore is primarily for holding keys that clients use to communicate with Tomcat, not that Tomcat apps or components use as clients to other servers.

Regardless, you'd have to configure any secure communications between the database connection pooler and the database as part of configuring the connection pooler. That would be done by setting the appropriate JDBC Connection properties for the pool. This should help:

http://msdn.microsoft.com/en-us/library/bb879935.aspx


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Check SSL Encryption