当前位置:   article > 正文

记录-Getting `TLSv1 was negotiated. Please update server and client to use TLSv1.2 at minimum` while .

tlsv1 was negotiated. please update server and client to use tlsv1.2 at mini
  1. <dependency>
  2. <groupId>com.microsoft.sqlserver</groupId>
  3. <artifactId>mssql-jdbc</artifactId>
  4. <version>8.2.1.jre8</version>
  5. </dependency>

springboot连接数据库时报错:TLSv1 was negotiated. Please update server and client to use TLSv1.2 at minimum` while trying to connect to MS SQL server

解决:在Maven项目中,到pom.xml修改成以上。

声明:本文内容由网友自发贡献,转载请注明出处:【wpsshop博客】
推荐阅读
相关标签
  

闽ICP备14008679号