On Jan 29, 2024, at 12:12 PM, Jonathan Gregoire <jonathan763@hotmail.com> wrote:
I'm having an issue when I try to run freeradius in a docker container. In the output that I pasted below, you will notice that I copied the "/etc/freeradius" directory on my host and that I mount the configuration directory $(pwd)/etc/freeradius on the container to make my configuration persistent.
The problem is that no matter the permission I set on the $(pwd)/etc/freeradius/certs/server.pem file, I'm always getting an error when I launch the container: tls: (TLS) Failed reading certificate file "/etc/freeradius/certs/server.pem"
Do you have an idea?
It's OS / docker / file system permissions issues, and has nothing to do with FreeRADIUS. The files are owned by root, and then in the docket image, FreeRADIUS is running as ??? what user? Alan DeKok.