Estoy tratando de conectarme con java 7 a sql server 2014 y obtengo el siguiente 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. The connection has been closed."
el codigo que estoy usando es :
driver ="com.microsoft.sqlserver.jdbc.SQLServerDriver";
url ="jdbc:sqlserver://Ip:port;databasename=xxx";
user = "xxx";
pass = "xxx";
Class.forName(driver);
connection = DriverManager.getConnection(url, user, pass);
Descarque los archivos .jar de Msdn download Msdn Descargas y he usado : sqljdbc.jar, sqljdc4.jar, sqljdbc41.jar and sqljdbc42.jar.
Gracias por adelantado.