admin 管理员组文章数量: 1087649
Spring Boot警告:TLSv1 was negotiated.Please update server and client to use TLSv1.2 at minimum
问题描述
Spring Boot 连接 SQL Server 数据库,启动项目后控制台警告如下:
TLSv1 was negotiated. Please update server and client to use TLSv1.2 at minimum.
解决方案
不处理好像也没什么问题
非要解决似乎要从服务器上做调整,没仔细研究,因为我本机的 SQL 2019 是没问题的,服务器可能版本低。
非要解决还有个方法,此次出现警告是使用的 8.4.x 的驱动,降低 MSSQL 驱动版本至 8.2.x 却可解决。
runtimeOnly group: 'com.microsoft.sqlserver', name: 'mssql-jdbc', version: '8.2.2.jre11'
参考资料
🌍/
🌍
本文标签: Spring Boot警告TLSv1 was negotiatedPlease update server and client to use TLSv12 at minimum
版权声明:本文标题:Spring Boot警告:TLSv1 was negotiated.Please update server and client to use TLSv1.2 at minimum 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.roclinux.cn/p/1700299550a386235.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论