Reputation: 2065
I am using jTDS to make ssl connection to SQL Server 2008 database in my java application which is running on JRE 1.8.
When I configure ssl=request property in connection URL the connection just hangs in JRE 1.8. However the same thing works perfectly fine in JRE 1.7.
I tried doing same thing using Microsoft jdbc driver with encrypt=true property and it works perfectly fine in both JRE 1.7 and 1.8.
Any idea why this must be happening?
I am not able to understand whether this is a bug with jTDS or Java 8 or SQL Server 2008.
Upvotes: 1
Views: 1790
Reputation: 574
There is a bug in the TdsTlsOutputStream implementation. I've posted a patch for a jtds-1.3.1.
See: https://sourceforge.net/p/jtds/bugs/725
Upvotes: 4