網站首頁 編程語言 正文
說明:啟動一些微服務后,一直在報下面這個錯誤;
com.microsoft.sqlserver.jdbc.SQLServerException: 驅動程序無法通過使用安全套接字層(SSL)加密與 SQL Server 建立安全連接。錯誤:“The server selected protocol version TLS10 is not accepted by client preferences [TLS12]”。 ClientConnectionId:753383a4-ac2a-4a8c-9a14-bbf2695aab48
Caused by: javax.net.ssl.SSLHandshakeException: The server selected protocol version TLS10 is not accepted by client preferences [TLS12]
解決:找到jdk下的jre\lib\security
目錄,打開java.security
文件,搜索jdk.tls.disabledAlgorithms
,去掉后面的TLSv1, TLSv1.1和3DES_EDE_CBC,注意逗號修改完不要缺失。
應該是jdk8獨有的問題,高版本的jdk沒有出現過;
原文鏈接:https://blog.csdn.net/qq_42108331/article/details/132912940
- 上一篇:沒有了
- 下一篇:沒有了
相關推薦
- 2022-08-23 python畫圖中文不顯示問題的解決方法_python
- 2022-08-15 關于PL/SQL進行更新操作時卡死的解決辦法
- 2023-02-12 python中使用docx模塊處理word文檔_python
- 2022-09-20 redis的string類型及bitmap介紹_Redis
- 2022-03-21 C#?WINFORM自定義異常處理方法_C#教程
- 2022-06-30 C語言從基礎到進階全面講解數組_C 語言
- 2022-04-20 Android實現將View轉化為圖片并保存到本地_Android
- 2023-02-03 python本地降級pip的方法步驟_python
- 欄目分類
-
- 最近更新
-
- window11 系統安裝 yarn
- 超詳細win安裝深度學習環境2025年最新版(
- Linux 中運行的top命令 怎么退出?
- MySQL 中decimal 的用法? 存儲小
- get 、set 、toString 方法的使
- @Resource和 @Autowired注解
- Java基礎操作-- 運算符,流程控制 Flo
- 1. Int 和Integer 的區別,Jav
- spring @retryable不生效的一種
- Spring Security之認證信息的處理
- Spring Security之認證過濾器
- Spring Security概述快速入門
- Spring Security之配置體系
- 【SpringBoot】SpringCache
- Spring Security之基于方法配置權
- redisson分布式鎖中waittime的設
- maven:解決release錯誤:Artif
- restTemplate使用總結
- Spring Security之安全異常處理
- MybatisPlus優雅實現加密?
- Spring ioc容器與Bean的生命周期。
- 【探索SpringCloud】服務發現-Nac
- Spring Security之基于HttpR
- Redis 底層數據結構-簡單動態字符串(SD
- arthas操作spring被代理目標對象命令
- Spring中的單例模式應用詳解
- 聊聊消息隊列,發送消息的4種方式
- bootspring第三方資源配置管理
- GIT同步修改后的遠程分支