To change the settings on Dbeaver:
-
Right click your connection, choose "Edit Connection"
-
On the "Connection settings" screen (main screen) click on "Edit Driver Settings"
-
Click on "Connection properties"
-
Right click the "user properties" area and choose "Add new property"
-
Add two properties: "useSSL" and "allowPublicKeyRetrieval"
-
Set their values to "false" and "true" by double clicking on the "value" column