当前位置:   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博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/繁依Fanyi0/article/detail/815623
推荐阅读
相关标签
  

闽ICP备14008679号