Wi-Fi and wired 802.1X with certificates
On this page
Goal: RHEL workstations join the corporate Wi-Fi and authenticate on switch ports with certificates from your enterprise CA, checked by NPS, from the same policies as Windows 11.
You need: an enterprise CA (AD CS), NPS as RADIUS server for the access points and switches, GPWarden on the workstations.
1. Certificates for computers and users
In the Certificate Templates console:
- Duplicate Workstation Authentication (computers) and User (users).
- On the copies' Security tab, give Domain Computers (or Domain Users) Read, Enroll and Autoenroll.
- Publish both on the CA (Certificate Templates > New > Certificate Template to Issue).
Then turn on auto-enrollment in a GPO linked to the Linux OU:
- Computer Configuration > Policies > Windows Settings > Security Settings > Public Key Policies > Certificate Services Client - Auto-Enrollment: Enabled, with Renew expired certificates... and Update certificates that use certificate templates.
- The same under User Configuration for user certificates.
Workstations enroll at their next refresh; users at their next sign-in. Renewal happens within the template's renewal period, and at once after Reenroll All Certificate Holders on the template. Renewal requests are signed with the current certificate, so Issuance Requirements > Valid existing certificate approves user renewals without a CA manager, as for Windows.
2. NPS
Create network policies as for Windows clients:
- Computers: Windows Groups = Domain Computers; NAS Port Type = Wireless - IEEE 802.11 (and Ethernet for wired ports); authentication method Microsoft: Smart Card or other certificate.
- Users: Windows Groups = Domain Users; the same port types; Microsoft: Smart Card or other certificate, and Microsoft: Protected EAP (PEAP) if users also sign in with a password.

3. The Wi-Fi policy
Computer Configuration > Policies > Windows Settings > Security Settings > Wireless Network (IEEE 802.11) Policies > Create A New Wireless Network Policy for Windows Vista and Later Releases, add a profile:
- SSID, Connect automatically, Connect even if the network is not broadcasting as needed;
- Security: WPA2-Enterprise or WPA3-Enterprise;
- Network authentication method: Microsoft: Smart Card or other certificate (EAP-TLS); Properties: Use a certificate on this computer (or Use my smart card), Verify the server's identity, Connect to these servers (your NPS servers' names), and your root CA under Trusted Root Certification Authorities;
- Authentication Mode: Computer authentication for a network the computer joins before anyone signs in, User authentication for a network each user joins with their own certificate.


4. Wired ports
Wired Network (IEEE 802.3) Policies > Create A New Wired Network Policy: the same authentication settings. Enforce use of IEEE 802.1X authentication: leave it off while you roll out (a port without 802.1X still works after 15 seconds), turn it on to keep the port closed until authenticated.
What happens on the workstation
- Computer authentication: a system-wide Wi-Fi connection (and the 802.1X
settings on every ethernet connection) with the computer's auto-enrolled
certificate and identity
host/<computer name>, as Windows sends it. - User authentication: at sign-in, a connection for that user only, with their certificate. With Use my smart card, the certificate on the user's smart card is used, and GNOME asks for the PIN when connecting. With PEAP and a password, GNOME asks for the password once and keeps it in the user's keyring.
- The server is validated against Connect to these servers and the trusted root CAs you chose.
- NPS logs the authentication as for Windows clients (events 6272 / 6273, EAP type Microsoft: Smart Card or other certificate).
Also supported
PEAP with Smart Card or other certificate inside (PEAP-TLS) for computers and users. On NPS, edit Microsoft: Protected EAP (PEAP) in the network policy and add Smart Card or other certificate under EAP Types (this is set in the NPS console only); NPS then logs authentication type PEAP with that inner method. In FIPS mode, PEAP with a password (MSCHAPv2) is not possible because FIPS forbids its algorithms: use certificates.
Check
On the workstation, gpwardenctl result lists each network (802.1X wireless:
"CORP" ... User authentication, per user at sign-in). On NPS, the Security event
log shows Network Policy Server granted access to a user with the workstation's
host/ name or the user's name.