Skip to content
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

Not able to run pg_md5 commands on pgpool/pgpool docker image #14

Open
lungosta opened this issue Nov 5, 2021 · 1 comment
Open

Not able to run pg_md5 commands on pgpool/pgpool docker image #14

lungosta opened this issue Nov 5, 2021 · 1 comment

Comments

@lungosta
Copy link

lungosta commented Nov 5, 2021

I was able to make pgpool2 work with clear text password authentication but I would like to secure the communication, when I run pg_md5 inside the docker image I get bash: pg_md5: command not found.

I tried to look for it inside the /usr directory but it's not installed there. Any advise would be highly appreciated.

Additionally, if you can recommend the best authentication method for the following scenario:

Pod (application container -> PgPool container (sidecar)) -> PostgreSQL server

I achieved this scenario using PgBouncer userlist.txt file where you don't need to specify the password on the client's connection string.

@pengbo0328
Copy link
Collaborator

pengbo0328 commented Dec 12, 2021

pg_md5 command is in /opt/pgpool-II/bin/pg_md5.

I recommend that you use scram-sha-256 authentication, because it is the most secure password-based authentication method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants