how to setup ssl for postgres client ?

hello there,

I’ve been able to install the certificates on a postgres server
I now have to install it on the client xojo app.
what is the best practice ?

  • encrypt them in the client app and copy them in the ~/.postgres folder at first launch ?
  • keep them encrypted in the client, and pass them to the connect class at launch ?
  • don’t encrypt them that’s not necessary, just store them in the app resources folder ?

I’m a little loss with ssl certificates, any advice would be highly appreciated.

thanks.