Freeradius: Configure freeradius to work with EAP-TLS authentication
When using WPA2-Enterprise with 802.1X authentication EAP-TLS can be specified as an authentication method. When EAP-TLS is the chosen authentication method both the wireless client and the RADIUS server use certificates to verify their identities to each other and perform mutual authentication. Below are the steps for configuring EAP-TLS in freeradius.
Edit /etc/freeradius/eap.conf with the following changes
- Change default_eap_type to “tls”
- Comment out all the authentication methods sections except for tls
- Comment out “private_key_password” with #
- Change private_key_file to ${certdir}/radius.key
- Change certificate_file to ${certdir}/radius.crt
- Change CA_file to ${cadir}/ca.crt
Below is a configuration file after the changes have made.