Intellij idea. javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)

Viewed 4996

After the IntelliJ idea update, I got the exception when trying to connect to DB.

javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate).
2 Answers

The solution is simple.

Database tab → Data Source Properties

enter image description here

→ select DB → Advanced → enabledTLSProtocols set TLSv1.2. enter image description here

step1

enter image description here

step2

enter image description here

database tab -> properties -> select db -> try Test Connection

edit VM options: delete SSLv3, TLSv1, TLSv1.1,

Related