Failed reading certificate file error with freeradius container.

Alan DeKok aland at deployingradius.com
Mon Jan 29 19:32:47 UTC 2024


On Jan 29, 2024, at 12:12 PM, Jonathan Gregoire <jonathan763 at 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.



More information about the Freeradius-Users mailing list