Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
API: make psql SSL config more flexible (#338)
This works (verified) for our three main scenarios: - Without SSL, e.g locally: SSL is disabled (`POSTGRESQL_USE_SSL` is false or undefined) - With SSL - no self-signed certificate, e.g Azure: SSL is enabled but no custom CA used (`POSTGRESQL_USE_SSL` is true and `POSTGRESQL_CA_CERT` is undefined) - With SSL - with self-signed certificate, e.g. DigitalOcean: SSL is enabled and custom CA cert can be set using `POSTGRESQL_CA_CERT` (`POSTGRESQL_USE_SSL` is true and `POSTGRESQL_CA_CERT` is set)
- Loading branch information