【问题标题】:Intellij idea. javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)Intellij 的想法。 javax.net.ssl.SSLHandshakeException:没有合适的协议(协议被禁用或密码套件不合适)
【发布时间】:2021-08-26 06:21:00
【问题描述】:
在 IntelliJ IDEA 更新后,尝试连接数据库时出现异常。
javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate).
【问题讨论】:
标签:
intellij-idea
database-connection
sslhandshakeexception
【解决方案1】:
第一步
第二步
数据库选项卡->属性->选择数据库->尝试Test Connection
编辑 VM 选项:删除 SSLv3、TLSv1、TLSv1.1、
【解决方案2】:
解决方法很简单。
数据库选项卡 → 数据源属性
→选择DB→高级→启用TLSProtocols设置TLSv1.2。