The PostgreSQL JDBC driver was updated in DbVisualizer 11.0 and the new version works different when setting sslfactory = org.postgresql.ssl.NonValidatingFactory.


How sslfactory is applied is controlled by the sslmode driver property which is also used to correct the problem.


How to fix this:

  1. Open the Properties tab for your PostgreSQL connection
  2. and select the Driver Properties category. 
  3. In the list of properties, select sslmode and check the list of choices below the driver properties grid. 
  4. Enter a choice that matches your setup in the Value for the sslmode, press Apply and reconnect and verify if it works.

For more information on SSL and the explanation of the sslmode choices, check the following in the PostgreSQL docs: