Skip to content
Discussion options

You must be logged in to vote

Thanks for the request! It's in the next release: TREK_DB_URL takes libpq's sslcert and sslkey next to sslrootcert, for example postgres://trek@db/trek?sslmode=verify-full&sslrootcert=/certs/ca.crt&sslcert=/certs/client.crt&sslkey=/certs/client.key. Both are needed together and only with a verifying sslmode, and they're used for the app's connection as well as for backups and restores. The Postgres page in the wiki shows how to mount the files, and that the key file must be 0600 (or root-owned and at most 0640), otherwise pg_dump refuses it.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by aclerici38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants