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

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.

Moodle OAuth 2. This account is pending email confirmation! Solved

[Solved][Proxmox update] Failed to fetch https://enterprise.proxmox.com/debian/pve/dists/buster/InRelease 401 Unauthorized [IP: 51.79.159.216 443]