SSL connect to PostgreSQL

Hi Jon,

At the end of the connection URL, put ?sslmode=require

https://mypostgres.azure.com:5432?sslmode=require

This is the simplist fix and shouldn’t require the CA.

Most URL options that work for the JDBC connection string work on the URL line as part of the query.

Also, be sure to sub the port for 5432 if yours is different.

Hope this helps,

1 Like