我有一个小的spring引导应用程序,它必须连接到Server。当我使用父版本2.6.*运行应用程序时,一切都正常。但是,当我切换到2.7版时,我会得到以下错误:
com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establisha secure connection to SQLServer by using Secure Sockets Layer (SSL) encryption.
当使用2.5.7作为初始父版本时,我可以连接到sql数据库,但是当升级到2.7.0时,会出现以下错误:
com.microsoft.sqlserver.jdbc.SQLServerException:The driver could not establish a secure connection to SQLServer by using Secure Sockets Layer (SSL)(SQLServerConnection.java:3680) ~[mssql-jdbc-1
使用此链接- 2021-03-02 15:01:14.362 INFO 3116 ---at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(SQLServerException.java:190) ~[sqljdbc4-4.0.jar:na]
at com.microsoft.sqlserver.jdbc.TypeInfo$Buil
O SQLserver正在监听端口1433 o SSL加密在Server级别上为FALSEmssql-jdbc-8.2.2.jre8- , mssql-jdbc-8.2.2.jre13.jar.a secure connection to SQLServer by using Secure Sockets Layer
SQLServer by using Secure Sockets Layer (SSL) encryption.Error: "SQLServer did not return a response. The connection has been closed. .SQLServer by using Secure Sockets Layer (SSL) encryption.at com.microsoft.sqlserver.jdbc.SQLSe
我使用的是kafka jdbc接收器连接器,它从主题插入数据到SQLServer数据库。由于mssql中的某些问题,连接器已停止,并出现错误:
Caused by: org.apache.kafka.connect.errors.ConnectException: com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host mssql_ip , port 1433 has