Can't acces to Postgres client-key.pem from container

Hi there :wave:,

I’m tying to connect to a cloud Postegres DB with SSL (docker compose installation).

I added the client-key.pem in a folder /configuration/chirpstack/pg-certs

Owner of the key file is root, group is the current user (the ones who launch the containers). I also tried with docker as group. Perm is 640 (cannot set up 644, it triggers an error).

In the logs, when I’m trying to access to chirpstack, I have “access denied” to the client.key.pem

I see that the user in the docker image is USER nobody:nogroup

What is the owner / group / perms to apply to the key in order to make it work?

Solved: grp must be nogroup.

2 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.