docker-freeradius icon indicating copy to clipboard operation
docker-freeradius copied to clipboard

Generate certificates on first run

Open darkdragon-001 opened this issue 4 years ago • 0 comments

  1. It is not a good idea to store keys in the container
  2. Certificats expire, so it is very likely that certificates are unusable when one wants to try out the container

As noted in /etc/raddb/certs/README, bootstrap scripts is run on first start automatically. So I suggest to not run the bootstrap part in the Dockerfile but instead let it handle freeradius automatically. In addition, I suggest to add a volume mount for certs folder which would be populated when first starting docker compose.

darkdragon-001 avatar Oct 15 '21 11:10 darkdragon-001