Setup Guide for Nile Cloud RADIUS
1. Introduction
1.1 Purpose of This Guide
This guide provides step-by-step instructions for deploying the Nile RADIUS Service to enable secure 802.1X authentication on wired and wireless networks using EAP-TLS and EAP-PEAP.
This guide covers
- Uploading the server certificate (PKCS#12) and trusted CA certificates into the Nile Portal
- Creating Nile RADIUS policies (segment assignment, Palo Alto tags, accept/reject)
- Configuring Windows, macOS, iOS, and Android supplicants for EAP-TLS
- Configuring EAP-PEAP with Active Directory (Section 7)
1.2 Key Terminology
Term | Definition |
|---|---|
Supplicant | Endpoint (laptop, phone, IoT device) running an 802.1X EAP client. |
Authenticator / NAS | Nile APs and switches in the Nile Service Block (NSB). The headend (HE) relays EAP frames as RADIUS to the cloud. |
Authentication Server | Nile RADIUS — the cloud service that performs EAP authentication and returns authorization attributes. |
EAP | Extensible Authentication Protocol, used over 802.1X. |
EAP-TLS | Certificate-based EAP method providing mutual TLS between supplicant and RADIUS server. Only the EAP method is supported by Nile RADIUS today. |
Segment | Nile's Layer 3 construct that replaces VLANs. A segment maps to a subnet and a DHCP pool. |
Nile RADIUS Policy | Authorization rule inside the Nile RADIUS service. Matches on SSID, SCIM group, Intune compliance, certificate attributes, etc., and returns Accept (with segment assignment and/or Palo Alto tag) or Reject. |
SCIM | Standard used to sync user identities and group membership from IdPs (Entra ID, Okta) into Nile in real time. |
Intune Compliance | Device compliance state pulled from Microsoft Intune and usable as a match condition in Nile RADIUS policies. |
1.3 Prerequisites
Before enabling Nile RADIUS, ensure the following are in place:
- Nile Access Service deployed. Sites are onboarded, segments are defined, and each segment is mapped to a DHCP pool.
- Cloud RADIUS feature enabled on the tenant. Engage your Nile CSM/SE to enable the Cloud RADIUS service on your tenant before you start configuration.
- Identity provider integrated. SAML/OIDC IdP (Entra ID, Okta, Authentik) integrated for user SSO, with SCIM provisioning enabled if you plan to use IdP groups in RADIUS policies.
- PKI ready for EAP-TLS. Nile RADIUS expects:
- A server certificate plus its matching private key for the RADIUS server, with the following properties:
- Key type: RSA, 2048 / 3072 / 4096 bits (WPA3-Enterprise mandates ≥ 3072). ECDSA keys are not supported today.
- KeyUsage: digitalSignature and keyEncipherment.
- ExtendedKeyUsage (EKU): serverAuth (TLS Web Server Authentication).
- Subject Alternative Name (SAN): Optional but recommended. Whatever DNS name your supplicants are configured to trust as the RADIUS server name must be present in the SAN.
- The server certificate, its matching private key, and the issuing CA chain (root + any intermediates) packaged into a single PKCS#12 (.p12 / .pfx) bundle, password-protected.
- The CA chain that issued your client certificates as one or more PEM files. If client certificates chain to the same CA as the server cert, the chain in the PKCS#12 is sufficient; if they chain to a different CA, upload that CA separately as a PEM into the Trust Certificates section.
- Optional — Microsoft Intune integration. Required only if you intend to use Intune device-compliance state as a match condition in Nile RADIUS policies.
- Review Technical Documentation: Read the Nile RADIUS Documentation to understand key concepts
2. Getting Ready: Identity, Certificates, and Integrations
2.1 Identity Providers and SCIM
Integrate Nile with your IdP so the user and group context is available to Nile RADIUS for policy evaluation:
- Identity sync via SCIM — Automatically sync user identities and group membership from Entra ID, Okta, or any SCIM-capable IdP into Nile.
- Group-based policy assignment — Reference IdP groups (for example, Employees, Contractors, Sales) directly in Nile RADIUS policies to drive segment assignment, Palo Alto tag assignment, or accept/reject decisions.
- Real-time access revocation — When a user is disabled or removed from a group in the IdP, the SCIM event reaches Nile within seconds, and the next authentication attempt is denied. Existing sessions are terminated via Change-of-Authorization (CoA).
For step-by-step IdP and SCIM integration instructions, refer to the relevant integration guide on Nile Docs.
2.2 Certificate Authority and PKI (for EAP-TLS)
For EAP-TLS, the customer is responsible for the full certificate lifecycle. This includes operating (or leveraging) a CA/PKI, issuing the Nile RADIUS server certificate, and issuing and distributing client certificates to devices — typically via an MDM such as Microsoft Intune.
Server certificate preparation
Generate the RADIUS server certificate using one of the following approaches:
- Option A — External CSR: Generate a CSR on a workstation (OpenSSL, XCA) with the required Subject, SANs, KeyUsage (digitalSignature, keyEncipherment), and EKU (serverAuth), submit it to your CA, then combine the signed certificate, private key, and CA chain into a single PKCS#12 bundle.
- Option B — Issue directly from your CA: Issue the certificate directly from your CA (for example, an AD CS template configured for "Server Authentication") and export it together with the private key as PKCS#12.
Either way, the artifact you upload to Nile is a single password-protected .p12 / .pfx bundle containing:
- The server certificate
- Its matching private key
- The signing CA chain (root and any intermediates)
CA chain for client certificate validation:
If your client certificates are issued by a different CA than the one that signed the Nile RADIUS server certificate, export the root and any intermediates of the client-issuing CA and upload them separately as PEM into the Trust Certificates section of Nile RADIUS. Each PEM file can contain one CA cert or multiple CA certs as concatenated PEM blocks; Nile internally chains them in the correct order regardless of upload order.
Multiple client-issuing CAs are supported — for example, IoT devices issued by one CA and laptops/phones issued by another. Upload each CA's chain, and Nile RADIUS will validate any client cert that terminates at one of the uploaded trust anchors.
Client requirements:
Each client device must:
- Trust the CA chain (root and intermediates) that signed the Nile RADIUS server certificate — install the chain in the device's trust store so the supplicant validates the RADIUS server during the EAP-TLS handshake.
- Present a valid client certificate whose chain terminates at one of the CAs uploaded to Nile RADIUS, with clientAuth EKU and the identity (typically CN=<user-or-device> and/or SAN email / UPN) you plan to match in your policies.
2.3 Intune Integration (Optional)
To enforce RADIUS authentication decisions based on device compliance — such as restricting corporate SSID access to Intune-managed or compliant devices only — integrate Intune with Nile RADIUS by following the steps outlined in the Intune Integration Guide
3. Configure the Nile RADIUS Service
This section configures Nile RADIUS itself and wires it into your segments, SSIDs, and policies.
3.1 Upload the Server Certificate and Trust Certificates
- Navigate to the Nile RADIUS configuration. In the Nile Portal, go to Network Setup → Authentication → Nile RADIUS.


- Select the authentication type. Under Auth Type, choose EAP-TLS (the only production option today).
- Upload the server Certificate (PKCS#12)
- In the Server Certificate section, click Upload and select your .pkcs12 / .pfx bundle.
- Enter the password that protects the bundle. The password may contain letters and digits.
- On success, Nile parses the bundle and displays the server certificate Subject, SAN list, Issuer, and expiration date.

- Upload trusted client CAs (Trust Certificates). In the Trust Certificates section, upload one PEM file per client-issuing CA (or a single PEM containing multiple concatenated CA blocks). Repeat for each independent client CA chain. This step is required unless your client certificates are issued by the same CA that signed your server certificate (in which case, the chain is already present from step 3).

- Optionally, enable Demo Mode for evaluation only. Toggle Demo Mode to have Nile auto-generate:
- One RADIUS server certificate
- Three client certificates with the fixed identities sales, marketing, and hr (different CN/email, so different policies can be matched). The certificates are valid for 7 days and can be regenerated at any time. Demo Mode and production certificates are mutually exclusive — only one mode is active per tenant. Demo client certs are exported as .p12 bundles with no password (you do not set a password on the portal). Demo Mode is for PoC and lab validation only; production deployments must use your own PKI.
- Wired 802.1X: If you are co-existing with a legacy NAC (ISE / ClearPass) on wired ports, enable the Wired Dot1x checkbox to have Nile RADIUS take over wired 802.1X. Leave it unchecked to keep wired authentication on your legacy RADIUS while you cut over wireless first. Wireless authentication always follows the per-segment RADIUS server configuration.
- Click Save. Nile RADIUS is now ready to accept EAP-TLS authentications once segments and SSIDs are pointed at it.
3.2 Wire RADIUS into Segments and SSIDs
Nile RADIUS works alongside segments and SSIDs. There is no hard requirement to map an SSID to multiple segments or to slice users across multiple SCIM groups — a single-segment SSID with a single user group is a perfectly valid (and common) starting point. Use multiple segments or multiple groups only when you actually need differentiated access via RADIUS CoA.
Create or verify segments
- In the Nile Portal, go to Network Setup → Segments and confirm that the segments you need exist. A typical greenfield deployment might start with just one or two:
- A single corporate segment (for example, corp), or
- A small set such as employee-prod, contractor, iot, guest if you already know you want differentiated access.
- Each segment must have:
- DHCP configuration (subnet, pool, lease, DNS).
- Optional mapping to downstream security constructs such as firewall zones.
Segments replace VLANs — each segment is an L3 subnet, and a device's segment assignment determines its IP, default gateway, and which Trust Engine policies apply.
Point segments at Nile RADIUS
- In each segment that requires 802.1X, set the authentication server to Nile RADIUS. (Segments that should continue to use an external RADIUS — ISE / ClearPass — keep their existing setting for hybrid migration.)
- Wireless SSIDs that use these segments will use Nile RADIUS automatically once the SSID security type is Enterprise (see below). Wired 802.1X on Nile switches follows the Wired Dot1x knob in section 3.1.
Configure SSIDs and wired access
- Wireless SSIDs
- Go to Network Setup → Wireless and create or edit your corporate SSID (for example, corp-dot1x).
- Set Security to WPA2-Enterprise (or WPA3-Enterprise where supported by your client fleet; WPA3-Enterprise requires ≥ 3072-bit RSA on the server cert).
- Map the SSID to at least one segment. The segment(s) mapped to an SSID determine the default landing zone for any device that gets an Access-Accept from Nile RADIUS:
- Single-segment SSID — every accepted device lands in that segment. No segment assignment is needed in the RADIUS policy; SCIM groups can still be used as match criteria for accept/reject decisions or Palo Alto tagging without changing the segment.
- Multi-segment SSID — devices land in the default segment configured on the SSID unless a Nile RADIUS policy explicitly overrides the segment as part of its Accept action. This is how you steer different SCIM groups, Intune compliance states, or certificate attributes into different segments behind a single SSID.
- Wired 802.1X
- Wired 802.1X follows the Wired Dot1x knob set in section 3.1 — no per-SSID configuration is needed.
- Each wired port (or port profile) is mapped to a segment that acts as the default for accepted devices. A RADIUS policy can override the segment when multiple segments are eligible, exactly as with wireless.
3.3 Policy Groups vs. RADIUS Policies — Understand the Distinction
This is the most common point of confusion when first configuring Nile RADIUS. Nile has two distinct policy frameworks that operate at different points in the flow:
Framework | Where it runs | What it decides | Typical match criteria | Typical actions |
|---|---|---|---|---|
Nile RADIUS policies | Inside the Nile RADIUS service, during 802.1X authentication | Whether the device is allowed onto the network and which segment / tag it lands in | SSID, SCIM/IDP group, Intune compliance state, certificate CN/OU/SAN, MAC, "active user" flag | Accept + segment assignment, Accept + Palo Alto tag, Reject |
Nile Trust Engine policies | Inside the Nile Service Block, on every packet after the device is on the network | Whether traffic between two endpoints (east-west) or to/from the outside (north-south) is allowed, denied, or forwarded to an upstream firewall | Policy group membership (User / Device / App), source, destination, service profile | Allow, Deny, Forward to firewall / SSE |
You configure both, but they live in different places in the portal. Nile RADIUS policies live under Network Setup → Authentication → Nile RADIUS → Policies. Trust Engine constructs live under Security → Trust Engine.
For the rest of this guide:
- Section 3.4 covers Nile RADIUS policies — required for any RADIUS deployment.
- Section 3.5 explains how RADIUS-assigned segments feed into Trust Engine policy groups, and points you to the full Trust Service setup workflow.
3.4 Create Nile RADIUS Policies
Navigate to Network Setup → Authentication → Nile RADIUS → Policies and create one policy per authorization outcome you need. Policies are evaluated top-down at authentication time; place more specific policies first.
Each policy has:
- Name and description.
- Match expression — combine one or more of: SSID == "<name>", SCIM.Group == "<group>" or SCIM.Group in (...), Active == true, Intune.ComplianceStatus == "Compliant", Certificate.CN == "<value>" or Certificate.CN contains "<substring>", Certificate.OU == "<value>", Calling-Station-Id == "<mac>". Conditions can be combined with && / ||.
- Action — ACCEPT (with optional segment assignment, optional Palo Alto tag) or REJECT.
Example policies for the use cases in the Nile RADIUS docs:
Example A — Employees vs. contractors on the same corporate SSID
Policy 1: corp-employees Match: SSID == "corporate" && Intune.ComplianceStatus == "Compliant" && SCIM.Group == "Employees" && Active == true Action: ACCEPT, segment = employee-prod Policy 2: corp-contractors Match: SSID == "corporate" && Intune.ComplianceStatus == "Compliant" && SCIM.Group == "Contractors" && Active == true Action: ACCEPT, segment = contractor
Policy 3: corp-default-reject Match: SSID == "corporate" Action: REJECT
Example B — Disabled users are denied immediately
Because SCIM updates are pushed in near real time, a single policy that requires Active == true is enough — as soon as the user is disabled in the IdP, the next authentication fails.
Example C — IoT device segmentation by certificate CN
Policy: cameras Match: Certificate.CN contains "camera" Action: ACCEPT, segment = camera Policy: printers Match: Certificate.CN contains "printer" Action: ACCEPT, segment = printer
Example D — Palo Alto tag assignment for upstream firewall enforcement
The tag is delivered to the Palo Alto firewall via the XML API, so existing firewall policies that key on user-id tags work without modification.
3.5 Trust Engine Policy Groups for RADIUS-Authenticated Endpoints (Optional but Recommended)
After Nile RADIUS authorizes a device and assigns it to a segment, the Nile Trust Engine governs what that device can talk to — both east-west inside the Nile Service Block and north-south toward the internet, data center, or upstream firewall. Trust Engine policies are an entirely separate workflow from RADIUS policies and live under Security → Trust Engine.
For most RADIUS-driven deployments, you will want to create:
- User policy groups matched on the same SCIM/IDP groups you use in RADIUS (for example, Employees, Contractors, Admins) — note that RADIUS-derived identity as a direct match criterion is on the roadmap; today the cleanest pattern is to align the segment that RADIUS assigns with a segment-based or IDP-group-based policy group.
- Device policy groups matched on fingerprint or segment (for example, Printers, Cameras) for IoT devices RADIUS placed into IoT segments.
- Service profiles defining the protocols and ports each group is allowed to use (for example, "Printing" = TCP/9100 only, "Internet" = HTTPS only).
- Policy sets binding source group → service profile → destination group with an action (Allow / Deny / Forward to firewall).
Trust Engine setup is its own end-to-end workflow that goes beyond the scope of a RADIUS guide. For the full step-by-step — creating policy groups, service profiles, policy sets, working with the matrix view, and reading policy logs — follow the Setup Guide for Nile Trust Service.
4. Endpoint Configuration — EAP-TLS
This section covers typical supplicant configuration. Cross-check with OS-specific docs for UI changes between releases. The recommended path for any fleet larger than a few devices is to push the Wi-Fi / wired profile and the client certificate together via MDM.
4.1 Windows — Wireless 802.1X (EAP-TLS)
Assuming the client certificate is deployed via Intune (or GPO / AD CS auto-enrollment):
- Confirm the target SSID is configured as WPA2-Enterprise (or WPA3-Enterprise) in Nile.
- On Windows:
- Ensure the WLAN AutoConfig service is running.
- Add or edit the wireless profile:
- Network name: match the SSID configured in Nile.
- Security type: WPA2-Enterprise.
- EAP method: Microsoft: Smart Card or other certificate (this is Windows' name for EAP-TLS).
- In the EAP-TLS settings, select Use a certificate on this computer and ensure the correct client certificate is available (issued by your CA, with clientAuth EKU).
- Enable Verify the server's identity by validating the certificate and select the root/intermediate CA(s) that signed your Nile RADIUS server certificate. Optionally tick Connect to these servers and list the SAN(s) on the Nile RADIUS server certificate.
- Connect and verify in the Nile Portal that:
- The device appears under Devices with auth method EAP-TLS.
- The Nile RADIUS transaction log shows a successful EAP-TLS handshake and the expected policy match.
4.2 Windows — Wired 802.1X (EAP-TLS)
Wired 802.1X can use EAP-TLS, covered in this section, or EAP-PEAP, covered in Section 7.6.2.
- Confirm the target switch port is configured for 802.1X in Nile (covered by the Wired Dot1x knob in section 3.1).
- On Windows:
- Open Network Connections, right-click the Ethernet adapter, and choose Properties.
- If the Authentication tab is missing, start the Wired AutoConfig service (services.msc) and re-open the adapter properties.
- On the Authentication tab:
- Enable IEEE 802.1X authentication.
- Set the network authentication method to Microsoft: Smart Card or other certificate (EAP-TLS).
- In Settings, select the correct client certificate and configure server validation against the CA that signed your Nile RADIUS server certificate.
- In Additional Settings, choose User authentication (or User or computer authentication depending on your cert template).
- Connect the cable and verify the device shows up under Devices in the Nile Portal with a successful EAP-TLS transaction.
4.3 macOS, iOS, Android
Nile RADIUS terminates EAP-TLS using a standard supplicant flow, so any modern supplicant works. General guidance:
- Import the client certificate and private key into the system keychain (.p12 import on macOS / iOS; .pfx on Android).
- Configure the 802.1X profile to use EAP-TLS and select the imported identity.
- Enable server certificate validation against the Nile RADIUS server's CA chain.
- For fleets, push the Wi-Fi profile and the certificate together via MDM (Intune, Jamf, Workspace ONE) — manual configuration does not scale and is error-prone.
5. Validation and Troubleshooting
5.1 Verify 802.1X Activity in Nile
- In the Nile Portal, go to Devices.
- Filter by MAC address or username to see:
- Authentication method (EAP-TLS).
- Segment assignment (matches the policy that fired).
- Recent events and timestamps.
- For the full RADIUS transaction (EAP method, certificate CN, matched policy, policy expression, returned attributes), open the device detail page and switch to the RADIUS tab, or use Infrastructure → Nile RADIUS → Monitoring for a service-wide view.
5.2 Common Issues and Checks
No device entry in Nile for the MAC address. The supplicant is not sending 802.1X at all. Check supplicant services (WLAN AutoConfig / Wired AutoConfig), the wireless/wired profile configuration, and that the SSID or port is 802.1X-enabled in Nile.
The wired device falls into MAB (MAC-auth) flow. This means 802.1X did not start or timed out, so the switch fell back to MAB. The device appears in the MAB pending list — fix the supplicant configuration and retry.
Upload error: "server certificate should have key encipherment enabled." The server certificate was issued without keyEncipherment in KeyUsage. Reissue the certificate with both digitalSignature and keyEncipherment (and EKU serverAuth), rebuild the PKCS#12, and re-upload.
Upload error: "wrong password." Re-type the PKCS#12 password rather than copy-pasting (some non-ASCII or whitespace characters break in the upload field). Verify the password independently with openssl pkcs12 -in <file>.p12 -info or certutil -p <password> -dump <file>.pfx.
Upload error: "This certificate already exists." The same server cert + CA chain has already been uploaded for this tenant (Nile deduplicates by SHA-256). Delete the old keystore before re-uploading, or skip the upload.
Could not verify Client Certificate. The client cert chains to a CA that is not in the Trust Certificates section. Upload the client-issuing CA (root + any intermediates) as PEM under Trust Certificates and retry.
NAK [25] or NAK [25 21] in logs. The supplicant is proposing PEAP (25) or PEAP/TTLS (25, 21) instead of EAP-TLS (13). Re-check the supplicant profile and switch the EAP method to EAP-TLS.
Failed to verify certificate: x509: certificate has expired or is not yet valid. The client (or server) certificate has expired or has a notBefore date in the future. Reissue or correct the system clock.
Server certificate validation fails on the client side. The supplicant does not trust the CA that issued the Nile RADIUS server cert. Install the CA root (and intermediates) into the device's trust store, and — if you ticked "Connect to these servers" — make sure the configured server name matches a SAN on the Nile RADIUS server certificate.
5.3 RADIUS Alerts
Nile automatically generates tenant-level RADIUS failure alerts when the percentage of clients seeing failures in a rolling 15-minute window crosses defined thresholds:
- 5–10% failure rate: low-severity alert
- 10–25% failure rate: medium-severity alert
- 25–100% failure rate: high-severity alert
Server certificate expiration alerts are raised 90, 60, 30, and 10 days before the cert expires. Plan renewal accordingly — Nile does not renew the cert for you.
Clicking an alert takes you directly to the Devices page filtered to the affected clients, simplifying bulk troubleshooting. Alerts auto-close once the failure rate drops below 5%.
6. Day-2 Operations and Monitoring
6.1 Continuous Monitoring
Nile RADIUS is:
- Probed every minute from every site for availability and round-trip latency.
- Backed by cloud-scale HA and auto-scaling infrastructure; failover is automatic and transparent to the NSB.
Use:
- Infrastructure → Nile RADIUS → Monitoring for service health, transaction rates, and latency.
- Device detail → RADIUS for per-session troubleshooting.
- Security → Trust Engine → Policy Logs to confirm which Trust Engine policy is being applied to traffic from a RADIUS-authenticated device once it is on the network.
6.2 What Happens When the Internet Goes Down
Existing authenticated sessions remain active. Devices continue roaming seamlessly with a locally cached PMK. New authentications and re-authentications fail until cloud connectivity is restored — plan supplicant session and reauth timers accordingly for sites with unreliable WAN.
6.3 Policy and Certificate Changes
When changing SCIM mappings, Intune integration, certificate-CN-based policies, or rolling out a new RADIUS server certificate:
- Stage changes on a single test segment or a subset of users/devices first.
- Use the RADIUS transaction logs to confirm the expected policy fires and the expected segment/tag is assigned.
- For new server certs, upload the new PKCS#12 alongside the existing one (where supported) or schedule the switch during a maintenance window — every active EAP-TLS session will need to reauthenticate against the new server cert chain.
- For new client-issuing CAs, upload the new CA's chain to the Trust Certificates section before any client begins presenting certs signed by it.
6.4 Devices that cannot use 802.1X
For devices that cannot run 802.1X, use UPSK and self-registration. Headless devices can be onboarded with a per-device pre-shared key. UPSK can use an external RADIUS server, such as Cisco ISE or Aruba ClearPass, or Nile RADIUS.
7. Configure EAP-PEAP with Active Directory
7.1 Overview
EAP-PEAP (MSCHAPv2) lets users authenticate with their Active Directory (AD) username and password. Nile RADIUS presents a server certificate to prove its identity, so client devices do not need individual certificates.
Nile RADIUS does not store user passwords. When a user connects, the headend (HE) at the site validates the credentials against your AD domain controller and returns the result to Nile RADIUS.
| EAP-TLS | EAP-PEAP |
|---|---|---|
User identity | Client certificate | AD username and password |
Client certificate required | Yes | No |
Typical use | Corporate-managed devices | Employee, BYOD, and other devices where issuing certificates is difficult |
Relative security | Higher. Not exposed to password-based attacks. | Lower than EAP-TLS |
The authentication flow works as follows:
- The client connects to an 802.1X-enabled SSID or wired port and sends its credentials inside an encrypted TLS tunnel to Nile RADIUS.
- Nile RADIUS asks the HE to verify the credentials against AD.
- The HE validates the credentials with the AD domain controller and returns the result.
- Nile RADIUS evaluates your policies, which can match on AD group membership, and returns Accept or Reject with the segment assignment.
7.2 Prerequisites
Before you configure EAP-PEAP, confirm that the following are in place:
- Nile RADIUS is enabled on your tenant, and your sites, segments, and DHCP pools are configured, as described in Section 1.3.
- You have the AD domain name, the domain controller IP address, and an AD administrator username and password.
- The HE at each site has IP connectivity to the domain controller.
- You have the LDAP host, LDAP base DN, administrator User Principal Name (UPN), and password. By default, LDAP uses TCP port 389 and LDAPS uses TCP port 636.
- The domain controller allows NTLM authentication. Nile uses NTLM to verify the MSCHAPv2 credentials that users send.
- You have a RADIUS server certificate packaged as a password-protected PKCS#12 (.pfx or .p12) file. The certificate requirements are the same as for EAP-TLS (see Sections 1.3 and 2.2). Nile does not issue or renew certificates.
- Client devices trust the CA chain that signed the Nile RADIUS server certificate.
- The AD groups that you plan to use in policies exist in your AD.
7.3 Configure EAP-PEAP in the Nile Portal
- In the Nile Portal, go to Network Setup > Authentication > Nile RADIUS.
- On the Authentication tab, in the Auth Type list, select EAP-PEAP. The page displays the AD Domain Information, LDAP Information, and Certificates sections.
- Upload the server certificate. In the Certificates section:
- In Private Key Password, enter the password that protects the PKCS#12 file.
- Select choose file to upload, or drag and drop the file. The supported formats are .pfx and .p12. The maximum file size is 5 MB.
- For evaluation only, you can select GENERATE DEMO CERTIFICATES instead. Demo certificates are for proof-of-concept and lab validation. Production deployments must use your own PKI.
- Join Nile to your AD domain. In the AD Domain Information section, enter the following:
Field | Description |
|---|---|
Domain Name | The AD domain name, for example, example.com. |
Domain Controller IP | The IP address of the domain controller. |
Administrator Username | The AD administrator username. |
Password | The password of the AD administrator account. |
- Select JOIN DOMAIN. Wait for the join to complete. A green status indicates that the join was successful.
- Configure the LDAP connection. In the LDAP Information section, under Primary Server, enter the following:
Field | Description |
|---|---|
LDAP / LDAPS list | Select the protocol that your LDAP server uses. |
LDAP HOST | The IP address of the LDAP server. |
LDAP BASE DN | The base DN used to look up users and groups, for example, cn=users,dc=example,dc=com. |
Administrator UPN | The UPN of the administrator account, for example, [email protected]. |
Password | The password of the administrator account. |
- Select TEST CONNECTION and confirm that the test succeeds.
- (Optional) If you use LDAPS, upload the CA certificate that issued your LDAPS server certificate. Under Upload LDAPS CA certificate (optional), select choose file. The supported format is .pem. The maximum file size is 5 MB.
- Select SAVE.
- Select the sync icon next to LDAP Information to sync the AD groups from your directory. The synced groups become available in Nile RADIUS policies.
Nile RADIUS is now ready to authenticate users with EAP-PEAP after you create a policy and map an SSID or wired port to it.
7.4 Create a Policy Based on AD Groups
A Nile RADIUS policy decides whether an authenticated user is accepted and which segment the user lands in. For EAP-PEAP, you typically match on the user's AD group.
- On the Nile RADIUS Configuration page, select the Policy tab.
- Enter a Policy Name and, optionally, a Description.
- In the Select source list, select AD_LDAP.
- Set the match condition:
- Attribute: Select ADGroups.
- Operator: Select in.
- Select one or more AD groups. The list shows the groups synced from your AD.
- To add another match condition, select ADD RULE.
- In the Then section, set the following:
Field | Description |
|---|---|
Auth Result | Select Accept to allow users who match the condition. |
Segment | The Nile segment that matching users connect to. |
Session timeout (hours) | The session timeout in hours. The default is 12 hours. |
- Turn on Enable Policy.
- Select CREATE.
Nile RADIUS evaluates policies from top to bottom, as described in Section 3.4. Place more specific policies first.
7.5 Map the SSID and Wired Ports
Nile RADIUS applies EAP-PEAP to any SSID or wired port that uses it for authentication. Complete the following:
- Create or edit a corporate SSID under Network Setup > Wireless and set Security to WPA2-Enterprise (or WPA3-Enterprise where your clients support it).
- Map the SSID to a segment that uses Nile RADIUS as its authentication server, as described in Section 3.2.
- For wired 802.1X, follow the Wired Dot1x setting described in Section 3.1.
7.6 Endpoint Configuration for EAP-PEAP
Users sign in with their AD username and password. For fleets larger than a few devices, push the Wi-Fi or wired profile to devices through your MDM.
7.6.1 Windows: Wireless 802.1X (EAP-PEAP)
- Confirm that the target SSID is configured as WPA2-Enterprise (or WPA3-Enterprise) in Nile.
- Confirm that the WLAN AutoConfig service is running.
- Go to Control Panel > Network and Sharing Center > Set up a new connection or network > Manually connect to a wireless network.
- Enter the following:
- Network name: The SSID configured in Nile.
- Security type: WPA2-Enterprise.
- Open the profile Properties and select the Security tab.
- For Choose a network authentication method, select Microsoft: Protected EAP (PEAP), and then select Settings.
- Enable Verify the server's identity by validating the certificate and select the root CA that signed your Nile RADIUS server certificate.
- For Select Authentication Method, select Secured password (EAP-MSCHAPv2).
- Select Advanced settings and set the authentication mode to User authentication.
- Connect to the SSID and enter your AD username and password.
7.6.2 Windows: Wired 802.1X (EAP-PEAP)
- Confirm that the target switch port is configured for 802.1X in Nile (see Section 7.5).
- Open Network Connections, right-click the Ethernet adapter, and select Properties.
- If the Authentication tab is missing, start the Wired AutoConfig service in services.msc and open the adapter properties again.
- On the Authentication tab, enable IEEE 802.1X authentication.
- For the network authentication method, select Microsoft: Protected EAP (PEAP), and then select Settings.
- Validate the server certificate against the CA that signed your Nile RADIUS server certificate, and select Secured password (EAP-MSCHAPv2) as the authentication method.
- In Additional Settings, set the authentication mode to User authentication.
- Connect the cable and enter your AD username and password if prompted.
7.6.3 macOS, iOS, and Android
- Select the EAP-PEAP SSID.
- Enter your AD username and password.
- When prompted, verify the server certificate and select Continue (or the equivalent option on your device).
For managed devices, configure the Wi-Fi profile with PEAP and inner MSCHAPv2, and enable server certificate validation against the CA that signed your Nile RADIUS server certificate.
7.7 Validation and Troubleshooting
7.7.1 Verify EAP-PEAP Authentication
- In the Nile Portal, go to Devices.
- Filter by MAC address or username.
- Confirm that the authentication method is EAP-PEAP, the segment matches the policy you expect, and recent events show a successful authentication.
For the full RADIUS transaction, open the device detail page and select the RADIUS tab.
7.7.2 Common Issues and Checks
Symptom | What to check |
|---|---|
JOIN DOMAIN does not succeed. | Verify the domain name, the domain controller IP address, and the administrator username and password. Confirm that the HE has IP connectivity to the domain controller. |
TEST CONNECTION fails. | Verify the LDAP or LDAPS selection, LDAP host, base DN, administrator UPN, and password. If you use LDAPS, upload the LDAPS CA certificate (.pem). |
AD groups do not appear in the policy. | Confirm that the LDAP configuration is saved and that the AD groups are synced. |
User authentication fails. | Verify the user's credentials against AD. Confirm that the client uses user authentication (not machine authentication) and that the user belongs to an AD group in an enabled policy. |
Client shows a certificate or trust warning. | Install the CA chain that signed the Nile RADIUS server certificate in the device trust store. |
The user is accepted but lands in the wrong segment. | Review the policy order. Nile RADIUS applies the first matching policy from top to bottom. |
7.8 Site-aware AD routing (optional)
If you operate per-site AD servers, enable site-aware AD. Nile RADIUS then routes EAP-PEAP requests to the AD servers bound to the site the request comes from.
Enable this when the deployment is large and distributed, or when different regions use local AD domain controllers.
8. Migration and coexistence with a legacy NAC
You may be moving from Cisco ISE, Aruba ClearPass, or a similar legacy NAC.
8.1 Migration patterns
Wireless
- New sites: map SSIDs directly to Nile RADIUS from day one.
- Existing sites: keep SSIDs mapped to the legacy RADIUS until you are ready, and migrate one site at a time.
Wired
- Use the Wired Dot1x option in Section 3.1 to choose whether the legacy NAC or Nile RADIUS handles wired 802.1X.
8.2 Reusing legacy policies
The Cisco ISE and Aruba ClearPass integration guides show how a legacy NAC returns Nile VSAs, such as netseg, to assign a segment. A BYOD flow can start with EAP-PEAP and move to EAP-TLS after certificates are installed.
When you move to Nile RADIUS, the segment model stays the same. Nile RADIUS becomes the control point that evaluates the policies.