Repository navigation
the right way to update the image and enable SSL (including cert/key file and pg_hba.conf) #1083
andreaaizza
started this conversation in
General
Replies: 3 comments
|
Hi Andrea |
0 replies
|
Hi @ImreSamu, thanks. I think that covers parms of Regards, |
0 replies
|
I've spent a considerable amount of time hacking around this issue, so if that helps anyone (and possibly could be provided in the docs), the solution is below. The trick is to use a command line argument pointing to the alternative The following entries enforce using SSL on clients: |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi,
any doc describing what in subject?
It should basically boil down to:
postgresql.conf:ssl=on... set cert and key file namescertandkeyfiles in the imagepg_hba.confwithhostssl ...But, where in the image filesystem should I put
postgresql.confandpg_hba.conf? What ever iss in/var/lib/postgresql/data/is ovewritten. I can set arguments todocker run...but I need to run this on kubernetes and would like to have that in a custom image. Also, some customisation can be done viaPOSTGRES_HOST_AUTH_METHOD, but I cannot use that for SSL.Therefore the question in subject. Can anybody help?
Cheers,
Andrea
All reactions