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

Popular posts from this blog

(Solved) (Fixed )MariaDB Unmet Dependencies on Ubuntu 20.04.

Solution to Moodle Error: Coding error detected, it must be fixed by a programmer: Failed to unserialise data from file. Either failed to read, or failed to write.

ACTION_FAILED:OU_INVALID: Solution for GoogleApps bulk user upload issue, username@domainname.com:ACTION_FAILED:OU_INVALID. This error is because you have not specified the Org Unit Path properly.