What version of sqljdbc do I require?

3.2k Views Asked by At

I am running in to an issue with my application where I get the error.

The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "SQL Server returned an incomplete response."

I have looked and the only difference on my new server is version of SQL which leads me to think I have the wrong version of SQLJDBC4.jar

I have been looking for a version that works with Java version 1.6.0_27 and MS SQL Sever 2017

Does anyone have any suggestions of what version of this JAR I require?

1

There are 1 best solutions below

1
2robinsaini On

Please try to add the "sqljdbc42-0.jar" file to your build path. Try the following link if it is maven project, else download the jar from any trusted url. https://mvnrepository.com/artifact/com.microsoft.sqlserver/sqljdbc42/6.0.8112