How to connect to PostgreSQL over SSL using self signed certificate

In the connection wizard, when configuring the PostgreSQL database, select the "Configure" button in the Connection Properties field. This will launch a new window. For the ssl value, select "true". For the sslfactory value, select org.postgresql.ssl.NonValidatingFactory.

These two properties are JDBC URL properties for the PostgreSQL JDBC driver that tell the driver to use ssl and also to use special non-validating code to bypass the ssl certificiate verification step.

These values can also be set manually by appending them to the JDBC URL.