Win a copy of Classic Computer Science Problems in Swift this week in the iOS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JTDS encryption using SSL  RSS feed

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


  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!