【发布时间】:2021-07-17 22:31:12
【问题描述】:
我有一台运行 WildFly 21.0.2 的 LXC CentOS 7 主机。应用程序服务器使用双向 TLS 连接(相互身份验证)和 MySQL Connector/J 5.1.47 JDBC 驱动程序连接到 MariaDB 10.4.18 数据库。在昨天发生的从 Java 8u282 升级到 Java 8u292 之前,它一直运行良好。现在连接失败并出现以下错误:
IJ000604: Throwable while attempting to get a new connection: null: javax.resource.ResourceException: IJ031084: Unable to create connection
Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
Caused by: javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
我的第一个想法是 Java 8u292 弃用了 MySQL Connector/J 5.1.47 JDBC 驱动程序用于建立连接的协议或密码套件。
【问题讨论】:
标签: java ssl sslhandshakeexception