javax.net.ssl.sslhandshakeexception: no appropriate protocol (protocol is disabled or cipher suites are inappropriate) the following required algorithms might be disabled: sslv3, tlsv1, tlsv1.1, rc4, des, md5withrsa, dh keysize < 1024, ec keysize < 224, 3des_ede_cbc, anon, null, include jdk.disabled.namedcurves. edit the list of disabled algorithms to include required algorithms. you can try to enable tlsv1 or tlsv1.1 first. jdbc driver may have disabled tls 1.1 and its earlier versions.
时间: 2023-06-05 22:47:41 浏览: 517
javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure的一个解决方案-附件资源
这是一个SSL握手异常,可能由于协议被禁用或密码套件不合适而导致。可能已禁用以下必需算法:sslv3、tlsv1、tlsv1.1、rc4、des、md5withrsa、dh keysize <1024、ec keysize <224、3des_ede_cbc、anon、null,包括jdk.disabled.namedcurves。请编辑禁用算法列表以包括所需算法。您可以先尝试启用tlsv1或tlsv1.1。JDBC驱动程序可能已禁用TLS 1.1及其早期版本。
阅读全文