- Sign-in to the Aruba Administration console usually available at https://instant.arubanetworks.com:4343.
- Navigate to Network -> Edit and open configuration settings of a network that should be protected with a Captive Portal with RADIUS authentication - aruba qa in our example.
- Configure Client IP & VLAN Assignment. In our example, we keep the default settings.
Navigate to the Security tab and configure Security Level:
Splash page type: External
Captive portal profile: qa in our example
Auth server 1: qa in our example
Accounting: Use authentication servers
Provide us (email@example.com) with the public IP of your UniFi controller. The RADIUS servers need to be able to directly connect to your Controller (SW, Cloud Key) to authorise connecting devices. Controller URL is usually in format like this https://your_public_static_ip:8443. Make sure it is the PUBLIC IP address and it's reachable through the Internet (not internal address like 192.168.*.*, 172.16.*.*, or 10.*.*.*). You might need to configure port forwarding on your Internet router and firewall. If you are not sure, please consult with your ISP provider.
Click on the Edit button next to the Captive portal profile and enter values from the IronWifi console:
Type: Radius Authentication
IP or hostname: http://XYZ.spaces.nexudus.com/ (XYZ is the subdomain of your account as found in System > Spaces > your space name > Web Address.)
Use https: Enabled
Captive Portal failure: Deny internet
Automatic URL Whitelisting: Enabled
Redirect URL: empty
Enable the Assign pre-authentication role and select create role. Click on the Finish button to apply new settings.
To fix the SSL error, you will need to replace default invalid certificate.
You can generate a valid SSL certificate for free on this URL - https://www.sslforfree.com/. You can let the page generate a certificate signing request for you, or visit the following page for detailed instructions on how to generate a request manually - https://community.arubanetworks.com/t5/Controller-less-WLANs/How-to-Create-a-Certificate-for-Instant-Captive-Portal-using/ta-p/277025. Don't use a wildcard SSL certificate.
Copy content of downloaded files certificate.crt, ca_bundle.crt and private.key to a single file (aruba.pem).
Upload this file to your Aruba IAP - click on Maintenance -> Certificates.
Certificate type: Captive portal server certificate
Certificate format: PAM
Click on the Upload Certificate button to apply new settings.