4.8. Enterprise Authentication with a RADIUS Server
Problem
The previous recipe is a slick hack for giving your wireless clients individual keys, but it's still not a proper Public Key Infrastructure (PKI), which is better for larger deployments, and better for security. You have decided it's worth running a standalone RADIUS server for your wireless authentication because it offers more security and more flexibility. You'll be able to use it for all network authentication if you want to, not just wireless, and you can scale up at your own pace. So, how do you use a RADIUS server for wireless authentication?
Solution
Use FreeRADIUS together with OpenSSL. There are four steps to this:
Install and configure the FreeRADIUS server
Create and distribute OpenSSL server and client certificates
Configure your wireless access point
Configure client supplicants
Your WAP becomes a Network Access Server (NAS) because it passes along the job of user authentication to the FreeRADIUS server.
To ensure the least hair loss and lowest blood pressure, use your distribution's package manager to install FreeRADIUS. If you prefer a source installation, refer to the INSTALL document in the source tarball.
This recipe requires a PKI using Extensible Authentication Protocol-Transport Layer Security (EAP-TLS) authentication, which means the server and client must authenticate to each other with X.509 certificates. So, you'll need:
Your own certificate authority
Server private key and CA-signed certificate
A unique private ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access