使用idea内置database连接数据库报错javax.net.ssl.SSLHandshakeException: No appropriate protocol

        写这个为了记录一下这两天使用idea内置database碰到的一个错误。

错误信息:        

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.                                        

使用idea内置database连接数据库报错javax.net.ssl.SSLHandshakeException: No appropriate protocol_第1张图片

解决方案:

        在URL后添加useSSL=false

使用idea内置database连接数据库报错javax.net.ssl.SSLHandshakeException: No appropriate protocol_第2张图片

你可能感兴趣的:(intellij-idea,数据库)