This week's giveaway is in the Programmer Certification (OCPJP) forum.
We're giving away four copies of Java Mock Exams (software) and have David Mayer on-line!
See this thread for details.
Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JTDS encryption using SSL

A Farroll
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

A java servlet I maintain connected to a SQL server 2005 database and we connected fine using the sqljdbc.jar in Tomcat/lib and was encrypting using SSL. The interrogation occurred using hibernate and JNDI via Tomcat 7. However we had to migrate the database to SQL server 2008 R2 on a new server and the connection would no longer work. I ensured the credentials were fine for the new server by successfully connecting using SQL Server Management Studio. I found I could make a successful connection using JTDS but now the SSL encryption does not work even when I add the "ssl=require" attribute to the JNDI's URL. For example;


I also tried ssl=authenticate, but that also did not work. How do I get SSL encryption to work using JTDS?

Thanks in advance


With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!