Bug #7491
closedfreeradius2 (1.7.8) incorrect ca+crl pem file output format
0%
Description
release 2.4.0.b.20170422.1955
configuring eap-tls ca and crl produce pem file output ( /usr/local/etc/raddb/certs/ca_cert.pem ) like this:
-----BEGIN CERTIFICATE-----
here my ca certificate.......
-----END CERTIFICATE----------BEGIN X509 CRL-----
here my crl certificate......
-----END X509 CRL-----
instead of this that should be:-----BEGIN CERTIFICATE-----
here my ca certificate.......
-----END CERTIFICATE-----
-----BEGIN X509 CRL-----
here my crl certificate......
-----END X509 CRL-----
missing "cr" (carriage return) at the bottom of ca cert
this results in radius service stopping with error:
/usr/local/etc/raddb/sites-enabled/default[263]: Errors parsing authenticate section
and you can't re-start it....
you need to manual edit the ca_cert.pem file, insert the missing "cr" and... radius service can start regularly