graal-web-app-example icon indicating copy to clipboard operation
graal-web-app-example copied to clipboard

ssl mode for port 5432

Open JoePython1 opened this issue 5 years ago • 1 comments

How would you use ssl mode to connect to the postgres port #5432?

JoePython1 avatar May 26 '19 15:05 JoePython1

If Postgres is configured with SSL support, you should be able to either add :ssl true flag, or use the :connection-uri option to connect with ssl=true set, e.g: jdbc:postgresql://localhost/test?user=fred&password=secret&ssl=true". I haven't tested this myself though.

yogthos avatar May 26 '19 18:05 yogthos