Postgres Connecting Issue from IntelliJ
Answered
DB configuration with SSL was working with IntelliJ and suddenly stop working when I updated to IntelliJ 2019.2.1
I have set properties ssl=true, sslmode=require, and sslfactory=org.postgresql.ssl.NonValidatingFactory.
Now it gives me following error:
[08006] SSL error: Received fatal alert: decode_error
javax.net.ssl.SSLHandshakeException: Received fatal alert: decode_error.
Any idea on how to fix this?
Please sign in to leave a comment.
Please report at https://youtrack.jetbrains.com/issues/DBE with the logs attached (https://intellij-support.jetbrains.com/hc/articles/207241085).
Additional logging can be obtained by adding -Djavax.net.debug=ssl in Help | Edit Custom VM Options. Then start IDE from the command line/terminal using idea.bat/idea.sh or `/Applications/IntelliJ\ IDEA.app/Contents/MacOS/idea` depending on the OS. You will see SSL debug log in the console. Attach this log to the YouTrack ticket as well.
Created issue https://youtrack.jetbrains.com/issue/DBE-9051 with logs screenshot.