Regenerate and configure SSL certificates for Freeradius for Eduroam

 1. Remove the old certificates:
# rm /etc/freeradius/3.0/certs/*

2. Copy the original files # cp /usr/share/doc/freeradius/examples/certs/* /etc/freeradius/3.0/certs/

3. Edit the lines under the certificate_authority section as needed for the following two files:
# vim /etc/freeradius/3.0/certs/ca.cnf # vim /etc/freeradius/3.0/certs/server.cnf

[ CA_default ] . . . default_days = 1825

. . . [server] countryName = BT stateOrProvinceName = Samdrup Jongkhar localityName = Dewathang organizationName = JNEC emailAddress = sj@gmail.com commonName = "ITSU"

. . .

5. Generate the certificate: # cd /etc/freeradius/3.0/certs/ #cd /etc/freeradius/3.0/certs/ # make ca.der # make printca # make dh # make server.pem # chown freerad:freerad *
# service freeradius restart


Comments