-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TLS with pgpool not working #17
Comments
Thank you for reporting this issue. The Docker image doesn't support |
@pengbo0328 Thanks for your reply.
I though that was under
That would be great, If you need help let me know. With some hints I could try to make a PR. |
I have updated the Docker image to allow the custom TLS certificates and private key: However,
It would be appreciated if you could make a PR. |
@pengbo0328
Or is there something more that I am missing? Thanks |
@pengbo0328 I have added that line to the I have made a PR |
@pengbo0328 Hey, did you have time to take a look at the PR? Thanks |
Hello
I am trying to setup TLS certificates with pgpool and postgres to have a secure connection between client <-> pgpool <-> postgres.
As my understanding when using
verify-ca
the client will provide the root certificate of the CA for verification with the backend; same should happen with pgpool in the middle, my client will provide the root certificate to verify the connection with pgpool, then pgpool will become the client and provide the root certificate viassl_ca_cert
option, to verify with the postgres backend.However pgpool seems to reject my ca, this is the link to the repro repository: https://github.com/MatteoGioioso/tls_issue_pgpool
Following those instructions, everything works by connecting directly to postgres:
Dockerfile:
This config will work with
verify-ca
:However same setup, but with pgpool (you can check it from the repo I have linked) it does not work:
In the logs:
The text was updated successfully, but these errors were encountered: