On Oct 8, 2023, at 4:37 PM, Bill Schoolfield <bill@billmax.com> wrote:
We package freeradius with our application and the combined package is ultimately put under source control on the installed host.
When building everything on the build host, the default build creates the certificate files. Basically:
It creates the certs when building from source. When building packages, the build system sets the PACKAGE=y variable, and the certs aren't created. The certs are therefore not included in the package. The file debian/freeradius-config.postinst has a "make" rule to build the certs. But even that build process only creates the certs if they don't already exist. If you want to skip that step, just delete the debian/freeradius-config.postinst file before you build the debian packages. That way those rules don't be run, and there won't be any certs generated. Alan DeKok.