【问题标题】:how to fix The server selected protocol version TLS10 is not accepted by client preferences [TLS12]如何修复客户端首选项不接受服务器选择的协议版本 TLS10 [TLS12]
【发布时间】:2021-09-08 14:23:06
【问题描述】:

我想用sql server数据库运行spring boot应用,但是运行时出现如下错误:

com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "The server selected protocol version TLS10 is not accepted by client preferences [TLS12]". ClientConnectionId:73ea4fa4-e772-4fd7-90f5-d617aec091f2
    at com.microsoft.sqlserver.jdbc.SQLServerConnection.terminate(SQLServerConnection.java:2924) ~[mssql-jdbc-7.4.1.jre8.jar:na]
    at com.microsoft.sqlserver.jdbc.TDSChannel.enableSSL(IOBuffer.java:1881) ~[mssql-jdbc-7.4.1.jre8.jar:na]

【问题讨论】:

  • 你能解决这个问题吗?

标签: java sql tls1.2


【解决方案1】:
猜你喜欢
  • 2021-08-22
  • 2023-01-05
  • 1970-01-01
  • 2020-05-29
  • 1970-01-01
  • 2012-10-21
  • 1970-01-01
  • 2015-12-14
  • 1970-01-01
相关资源
最近更新 更多