[驅(qū)動(dòng)程序無法通過使用安全套接字層(SSL)加密與 SQL Server 建立安全連接。錯(cuò)誤:“The server selected protocol version TLS1
java -verbose
找到文件:
xxxx\jdk1.8.0_291\jre\lib\security\java.security
找到 jdk.tls.disabledAlgorithms 如果有TLSv1、TLSv1.1、3DES_EDE_CBC 刪除即可【使用管理員模式編輯】

image.png