UniFi
Last updated
Last updated
RADIUS over TLS (RADSEC) has been added to UniFi Network 8.4 and newer versions. Please have your controller and network devices up-to-date before following this guide.
Customers have reported delays between activating the RadSec feature on the Meraki Dashboard and becoming functional.
To establish a valid RadSec connection, your Access Points must trust the RADIUS Server Certificate and your RADIUS server must trust your RadSec Client Certificate. To achieve this,
Download the root certificate of the CA that has issued your active RADIUS Server Certificate as described here. In this example SCEPman is used as Root CA and has issued the RADIUS server certificate. So, we download the root CA certificate from SCEPman portal: Afterwards, please convert your certificate to Base-64. This can be easily done via Windows Certificate Export Wizard, OpenSSL or other tools:
Create a RadSec Client Certificate for your access points. If you are using SCEPman Certificate Master, the process is described here. In this example we generate a certificate in the format "PEM". Please note down the password, as we need this later.
Split the generated certificate into the private key (named "priv.key" in this example) and the certificate (named "clientcert.cer"). This can be easily done via a text editor:
Add the root certificate of the CA that has issued the RadSec Client Certificate to your RADIUS instance as described here and select RadSec under Use for. In case the RadSec Client Certificate has been issued by SCEPman (this example) and you already trust the SCEPman Root CA for client authentication, simply edit the trusted SCEPman Root CA certificate and select Both under Use for:
Below settings are the necessary settings to establish a functional RadSec connection with our service. Configure any other settings at your discretion.
Navigate to your Unifi Network controller and open Settings > Profiles > RADIUS.
Create a new profile or update an existing one:
Fill in the required information:
RADIUS Assigned VLAN Support: optional / if needed
RADIUS Settings:
TLS: Enable the checkbox.
Authentication Servers:
- Server IP Address/es: Provide the IP address of your RadSec service endpoint.
- Port: 2083.
- Shared Secret: radsec
.
Client Certificate: Upload the RadSec Client Certificate (obtained from step 3 here).
Private Key: Upload the private key of your RadSec Client Certificate (obtained from step 3 here).
Private Key Password: as noted down.
CA Certificate: Upload the Root certificate of the CA that has issued your RADIUS Server Certificate (obtained from step 1 here).
Accounting: Enable the checkbox.
RADIUS Accounting Server:
- Server IP Address/es: Provide the IP address of your RadSec service endpoint.
- Port: 2083
- Shared Secret: radsec
Interim Update Interval: optional / if needed
Assign this profile to the desired WiFi profile:
Give your Access Points some time to apply the new configuration: