跳至主要內容

將 RADIUS as a Service 與雲端目錄(Azure AD 和 Google Workspace)整合

本技術參考指南詳細介紹了如何將 RADIUS as a Service 與雲端目錄(Microsoft Entra ID 和 Google Workspace)整合,以進行企業級 WiFi 驗證。內容涵蓋從地端 NPS 到雲端原生 RADIUS 的架構轉變、基於憑證的 EAP-TLS 驗證部署,以及在旅宿業、零售業和公共部門環境中保障無線存取安全的營運最佳實踐。對於已投入雲端身分識別的 IT 經理和網路架構師,本指南彌合了目錄管理與實體網路安全之間的鴻溝。

📖 10 分鐘閱讀📝 2,373 字數🔧 2 範例4 練習題📚 10 關鍵定義

收聽此指南

查看播客逐字稿
歡迎收聽 Purple 技術簡報。今天,我們將探討一個處於雲端身分識別管理與實體網路安全交匯點的主題:將 RADIUS as a Service 與雲端目錄(特別是 Microsoft Entra ID 和 Google Workspace)進行整合。 如果您正在管理飯店、零售物業、體育場或公共部門物業的企業級 WiFi,此簡報將與您的下一個基礎設施決策直接相關。 讓我們首先了解背景。在過去的二十年裡,企業環境中的 WiFi 驗證依賴於一個相當可預測的技術堆疊。您擁有地端 Active Directory、充當 RADIUS 伺服器的 Windows 網路原則伺服器(NPS),以及存取點上的 WPA2-Enterprise。它運作良好,但需要地端伺服器、手動憑證管理,以及具備專業知識的團隊來維持其運作。 問題在於,大多數組織不再以地端為先,而是雲端優先。Microsoft Entra ID 和 Google Workspace 現在是數百萬家組織的記錄目錄。而這裡存在一個差距:您的無線存取點仍然使用 RADIUS 語言。它們不懂 SAML,也不懂 OAuth。它們使用 RADIUS,而且永遠都會如此。 因此問題是:您如何在不將地端伺服器重新拉回架構中的情況下,將雲端身分識別平台與實體網路基礎設施連接起來? 答案就是 RADIUS as a Service。這是一個雲端託管的 RADIUS 伺服器,可直接與您的雲端目錄整合,即時驗證驗證請求,並將存取決策傳回給您的存取點。無需地端伺服器,無需修補程式,也沒有凌晨 2 點的憑證更新緊急狀況。 其基礎是 IEEE 802.1X。當裝置嘗試連線到 WPA2-Enterprise 或 WPA3-Enterprise 網路時,存取點會充當驗證器。它會攔截連線嘗試並將 EAP 封包轉發給 RADIUS 伺服器。RADIUS 伺服器驗證身分並傳回 Access-Accept 或 Access-Reject。只有在那個時候,存取點才會授予網路存取權限。 現在,整個部署中最具影響力的技術決策是您對 EAP 方法的選擇。 PEAP-MSCHAPv2 是舊方法。它使用使用者名稱和密碼。這聽起來很安全,但事實並非如此。如果裝置未嚴格驗證 RADIUS 伺服器憑證,攻擊者就可以使用您的 SSID 建立惡意存取點,攔截交握並擷取認證資訊。這被稱為邪惡雙生(Evil Twin)攻擊,而且正在發生。 EAP-TLS 是正確的答案。它在伺服器和用戶端裝置上皆使用數位憑證進行雙向驗證。這不涉及密碼。裝置出示其憑證,RADIUS 伺服器即時對照您的雲端目錄進行驗證。無法竊取認證資訊,沒有網路釣魚媒介,當有人變更密碼時也不會產生技術支援工單。 讓我們逐步了解 Microsoft Entra ID 部署。 步驟一:授權和 PKI。您需要 Microsoft 365 E3 或 E5 才能存取 Intune 和條件式存取。使用您的 Cloud RADIUS 廠商的託管 PKI 或 Microsoft 自己的 Cloud PKI 建立雲端 PKI。 步驟二:透過 Intune 部署憑證。建立包含根憑證授權單位(Root CA)的信任的憑證設定檔,並將其部署到裝置群組。然後建立 SCEP 憑證設定檔。對於基於使用者的驗證,主體名稱使用 User Principal Name。 步驟三:Cloud RADIUS 設定。授予 RADIUS 服務 Microsoft Graph API 權限:User.Read.All 和 GroupMember.Read.All。定義您的驗證原則:如果憑證是由我們信任的 CA 發行、使用者是 Entra ID 中 Corporate-WiFi-Users 群組的成員,且裝置在 Intune 中被標記為合規,則允許存取。 步驟四:無線基礎設施。在您的控制器中(無論是 Cisco Meraki、HPE Aruba、Ruckus 還是 Juniper Mist),新增 Cloud RADIUS IP 位址和共用金鑰。將 RADIUS 逾時設定為至少五秒。建立您的 WPA3-Enterprise SSID。 步驟五:WiFi 設定檔部署。在 Intune 中建立 WiFi 設定檔。設定 SSID、選擇 WPA3-Enterprise、選擇 EAP-TLS,並連結 SCEP 憑證設定檔。裝置在下一次同步時會靜默接收憑證和 WiFi 設定檔。它們會自動連線,無需使用者互動。 現在讓我們來看看 Google Workspace 途徑,因為它在一個重要方面存在架構上的差異。 Google 不提供原生 RADIUS 服務。沒有與 Windows NPS 對等的 Google 服務。因此,您始終需要一個中介:一個透過 Google Secure LDAP 或透過 SAML 和 OAuth 整合連線到 Google Workspace 的 Cloud RADIUS 供應商。 Google Secure LDAP 適用於 Cloud Identity Premium 和 Google Workspace Enterprise 版本。它為您的雲端目錄提供傳統的 LDAP 介面。您的 Cloud RADIUS 伺服器使用 Google 為您產生的用戶端憑證,透過連接埠 636 連線至 ldap.google.com。從那時起,RADIUS 伺服器就可以查詢 Google 的目錄以驗證認證資訊或群組成員資格。 對於受管理的 Chromebook,部署途徑使用 Google 管理主控台。您設定雲端 PKI 以發行憑證,將根憑證授權單位(Root CA)和用戶端憑證推送到 Chromebook,並部署指定 EAP-TLS 的 WiFi 設定檔。Chromebook 會靜默連線。對於 BYOD 裝置和訪客存取,您可以使用與 Google 單一登入(SSO)綁定的 Captive Portal。這是正確的分離方式:受管裝置使用 EAP-TLS,其他所有裝置使用 Captive Portal。 讓我們談談陷阱,因為這是部署最容易出錯的地方。 第一個也是最常見的是防火牆連接埠被封鎖。RADIUS 驗證使用 UDP 連接埠 1812。RADIUS 計費使用 UDP 連接埠 1813。如果這些連接埠未從您的無線基礎設施向 Cloud RADIUS 服務開放輸出,則一切都無法運作。每次都請先檢查這一點。 第二個陷阱是憑證過期。如果您的 RADIUS 伺服器憑證過期,網路上的每台裝置都會同時失去連線。請在到期前 90 天、30 天和 7 天設定監控警報。盡可能自動化更新。 第三個是時鐘偏差。EAP-TLS 依賴精確的時間記錄來進行憑證驗證。如果裝置的系統時鐘嚴重不同步,憑證驗證就會失敗。確保在所有裝置 and 基礎設施中正確設定 NTP。 第四個是針對 PEAP 部署,即未能對用戶端裝置強制執行嚴格的伺服器憑證驗證。否則,裝置將接受任何聲稱是您的存取點所出示的任何憑證。這是區分安全部署與脆弱部署的單一設定決定。 現在進行快速問答。 我可以將 Cloud RADIUS 同時用於員工和訪客 WiFi 嗎?員工 WiFi 可以,使用 EAP-TLS。訪客 WiFi 應使用獨立的 Captive Portal。在單一 SSID 上混合使用這兩者會產生不必要的複雜性和安全風險。 這適用於 WPA3 嗎?是的。WPA3-Enterprise 已完全支援,並推薦用於所有新部署。 合規性如何?搭配 Cloud RADIUS 的 EAP-TLS 支援 PCI DSS 對持卡人資料網路上強式驗證的要求。它還透過啟用精確的存取記錄以及在員工離職時立即撤銷,來支援 GDPR 義務。 這如何影響我們的分析能力?有正面影響。透過將網路存取與已驗證的雲端身分識別綁定,像 Purple 的 WiFi 分析這樣的平台可以提供更豐富的空間利用數據。您從匿名的 MAC 位址轉變為已驗證的具名使用者,這改變了您洞察的品質。 總結關鍵要點: 第一:Cloud RADIUS 消除了地端伺服器依賴。您的存取點會對照與 Entra ID 或 Google Workspace 直接整合的雲端託管服務進行驗證。 第二:EAP-TLS 是正確的驗證方法。憑證取代了密碼。沒有網路釣魚媒介,沒有認證資訊遭竊,也沒有因重設密碼而產生的技術支援開銷。 第三:Microsoft Intune 和 Google 管理主控台自動化憑證部署。裝置在無使用者互動的情況下靜默接收憑證和 WiFi 設定檔。 第四:透過 RADIUS 屬性進行動態 VLAN 分配,可根據目錄群組成員資格實現精細的網路分段。這限制了橫向移動並支援合規性。 第五:始終驗證連接埠 1812 和 1813 是否開放,監控憑證到期,並強制執行嚴格的伺服器憑證驗證。 如果您計劃在本季度進行部署,請先從 20 到 50 台裝置的試點群組開始。在全域推廣之前,驗證憑證部署、RADIUS 驗證和 VLAN 分配。做好這項工作的投資將在減少技術支援開銷、增強安全防護,以及將網路數據用於真正的商業智慧方面帶來回報。 感謝您收聽 Purple 技術簡報。如需詳細的部署步驟、設定範例和實際案例,請參閱 purple.ai 上的完整技術參考指南。

header_image.png

Executive summary

For modern enterprises invested in cloud identity ecosystems, bridging cloud directories with physical wireless networks is a critical security imperative. Historically, WiFi authentication relied on on-premise Active Directory Domain Services and Windows Network Policy Server (NPS). As organisations migrate to Microsoft Entra ID and Google Workspace, that on-premise authentication stack becomes a liability - costly to maintain, difficult to scale, and incompatible with zero-trust security models.

RADIUS as a Service (RADIUSaaS) changes the equation. A cloud-hosted RADIUS server integrates directly with your cloud directory, validates authentication requests in real time, and returns access decisions to your access points - with no on-premise servers, no patching cycles, and no single point of failure. Combined with EAP-TLS certificate-based authentication, this architecture eliminates credential theft, supports PCI DSS and GDPR compliance, and delivers a seamless experience for staff across every site.

This guide covers the architectural decision between on-premise NPS and cloud-native RADIUS, the deployment of EAP-TLS via Microsoft Intune and Google Admin Console, and the operational best practices for securing wireless access across hotels, retail estates, stadiums, and public-sector venues. For a broader introduction to network access control, see A Guide to Your Network Access Control System .


Technical deep-dive: architecture and standards

The role of RADIUS and IEEE 802.1X

The foundation of secure enterprise WiFi is the IEEE 802.1X standard, which provides port-based network access control. When a client device (the supplicant) attempts to connect to a WPA2-Enterprise or WPA3-Enterprise network, the Wireless Access Point (the authenticator) blocks all traffic except EAP (Extensible Authentication Protocol) packets. The AP forwards these packets to a RADIUS server. The RADIUS server validates the identity against a directory service and returns an Access-Accept or Access-Reject message. Only then does the AP grant network access.

This three-party model - supplicant, authenticator, authentication server - is the cornerstone of enterprise wireless security and is defined in IEEE 802.1X. It has not fundamentally changed since its introduction. What has changed is where the RADIUS server lives and how it communicates with your directory.

architecture_overview.png

Cloud-native RADIUS architecture

A cloud-native RADIUS architecture eliminates the need for on-premise NPS or FreeRADIUS servers. A third-party Cloud RADIUS provider integrates directly with Microsoft Entra ID via Microsoft Graph API, or with Google Workspace via Google Secure LDAP or SAML/OAuth. Authentication happens entirely in the cloud. This aligns with zero-trust network access principles and significantly reduces operational overhead.

The table below compares the two primary architectural approaches:

Dimension Hybrid on-premise (NPS) Cloud-native (RADIUSaaS)
Infrastructure Windows Server VM or bare metal required No on-premise servers
Identity source AD DS via LDAP/Kerberos Entra ID or Google Workspace via API
Certificate authority ADCS on-premise + Intune Connector Cloud PKI from vendor or Microsoft
High availability Manual HA and load balancing Auto-scaled by provider
Setup time Days to weeks Hours
Best for Hybrid AD, legacy devices Cloud-first, MDM-managed organisations
Operational complexity Higher initial and ongoing Lower operational overhead

comparison_chart.png

EAP-TLS vs. PEAP-MSCHAPv2: the critical choice

The choice of EAP method is the single most consequential security decision in this deployment. PEAP-MSCHAPv2 relies on users entering their domain credentials. This is vulnerable to credential theft and man-in-the-middle attacks. If a client device does not strictly validate the RADIUS server certificate - and many do not by default - an attacker can deploy a rogue access point with your SSID, intercept the EAP handshake, and capture credentials. This is an Evil Twin attack, and it is well-documented.

EAP-TLS (Transport Layer Security) uses digital certificates installed on the client device for mutual authentication. Both the client and the server prove their identity cryptographically. There are no passwords to type or steal. In a Microsoft environment, certificates deploy silently via Microsoft Intune using SCEP (Simple Certificate Enrollment Protocol) or PKCS profiles. This is the recommended path for all new deployments and is essential for compliance with PCI DSS v4.0 (Requirement 8.3 on strong authentication) and GDPR data protection obligations.

Google Workspace: the architectural difference

Microsoft Entra ID and Google Workspace differ in one important way for RADIUS integration. Microsoft NPS integrates natively with Active Directory, and Cloud RADIUS providers connect to Entra ID via Microsoft Graph API. Google, however, does not offer a native RADIUS service. You always need an intermediary.

Google Secure LDAP is the primary integration path. Available on Cloud Identity Premium and Google Workspace Enterprise editions, it provides a traditional LDAP interface to your cloud directory. Your Cloud RADIUS server connects to ldap.google.com on port 636 using client certificates that Google generates for you. From that point, the RADIUS server queries Google's directory to validate credentials or group memberships, just as it would query an on-premise Active Directory.

An alternative path uses SAML-based integration, where the Cloud RADIUS provider registers as a SAML application in Google Admin Console and performs an OAuth lookup at authentication time to verify the user's identity and group memberships in real time.


Implementation guide

Implementing RADIUSaaS with EAP-TLS requires coordinating identity, device management, and network infrastructure. The following five-phase approach applies to both Microsoft Entra ID and Google Workspace environments.

Phase 1: prepare identity and device management infrastructure

For Microsoft Entra ID: verify that your tenant has Microsoft 365 E3/E5 or Enterprise Mobility + Security (EMS) E3/E5 licensing. This includes Microsoft Intune and Conditional Access. Without Intune, automated certificate deployment is not possible.

For Google Workspace: confirm you have Cloud Identity Premium or Google Workspace Enterprise to access Google Secure LDAP. If you plan to use EAP-TLS on managed Chromebooks, ensure the Google Admin Console is configured to manage device certificates.

Establish your Public Key Infrastructure (PKI). For new deployments, a cloud-native PKI provided by your Cloud RADIUS vendor is strongly recommended. Alternatives include Microsoft Cloud PKI (available with Intune Suite licensing) or an existing on-premise ADCS deployment connected via the Microsoft Intune Certificate Connector.

Phase 2: configure certificate deployment

Microsoft Intune path: in the Intune admin centre, create a Trusted Certificate configuration profile. Upload the Root CA certificate and deploy it to your target device groups. This ensures client devices trust the certificate presented by the RADIUS server during the TLS handshake. Next, create a SCEP Certificate profile. For user-based authentication, set the Subject Name to CN={{UserPrincipalName}}. For device-based authentication, use CN={{DeviceName}}. Set the Subject Alternative Name to include the User Principal Name or device ID.

Google Admin Console path: navigate to Devices, then Networks, then Certificates. Upload your Root CA. Configure a certificate issuance mechanism - either a cloud PKI that supports SCEP integration with Google Workspace, or the Google Cloud Certificate Connector which proxies requests to an on-premise Microsoft Certificate Authority. Deploy the Root CA and client certificate profiles to the appropriate Organisational Units.

Phase 3: configure Cloud RADIUS integration

Grant your Cloud RADIUS provider the necessary API permissions in your directory tenant. For Entra ID, this requires at minimum User.Read.All and GroupMember.Read.All via Microsoft Graph API. Some providers also require Device.Read.All for device compliance checks. For Google Workspace via Secure LDAP, download the client certificate and key from Google Admin Console and install them on the RADIUS service.

Define your authentication policies within the Cloud RADIUS management portal. A well-structured policy for a corporate environment: "Allow access if the certificate is issued by [Trusted CA] AND the user is a member of the [Corporate-WiFi-Users] group AND the device is marked Compliant in Intune." This enforces identity, group membership, and device health simultaneously.

Phase 4: configure wireless infrastructure

In your wireless LAN controller or cloud management dashboard - Cisco Meraki, HPE Aruba, Ruckus, Juniper Mist, Ubiquiti UniFi, Cambium, Extreme, or Fortinet - add the Cloud RADIUS server IP addresses and shared secrets as RADIUS authentication servers. Configure primary and secondary servers for redundancy. Set the RADIUS timeout to a minimum of five seconds to accommodate cloud round-trip latency.

Create a new SSID configured for WPA2-Enterprise or WPA3-Enterprise. For Hospitality deployments, ensure the corporate SSID is on a separate VLAN from any Guest WiFi network. For Retail environments, consider deploying the corporate SSID only in back-of-house areas.

Phase 5: deploy WiFi profile via MDM

Microsoft Intune: create a WiFi configuration profile. Set the SSID to match your infrastructure configuration exactly. Select WPA2-Enterprise or WPA3-Enterprise. Under EAP settings, select EAP-TLS. Link the SCEP certificate profile as the client certificate and specify the Trusted Root CA profile. Assign this WiFi profile to the same device groups that received the certificate profiles. Devices silently receive the certificate and the WiFi configuration during their next Intune sync.

Google Admin Console: navigate to Devices, then Networks, then Wi-Fi. Create a new WiFi network profile. Set the SSID, select WPA3-Enterprise, choose EAP-TLS, and push the trusted Root CA certificate to the devices. Apply this profile to your Organisational Units. Chromebooks connect silently and securely.


Best practices

Mandate EAP-TLS across all new deployments. Do not deploy new networks using PEAP-MSCHAPv2. The security risks are well-documented and the migration path is straightforward with modern MDM tooling.

Enforce strict server certificate validation. If you must use PEAP for legacy devices, configure the devices to validate the RADIUS server's certificate. In the Intune WiFi profile and in the Google Admin Console WiFi profile, there is a field to specify the trusted CA for server validation. Do not leave this blank. This single configuration decision is the difference between a secure deployment and a vulnerable one.

Segment your network with dynamic VLAN assignment. Use your RADIUS server to inspect the user's group membership in Entra ID or Google Workspace and dynamically assign them to different VLANs. The RADIUS server returns the Tunnel-Private-Group-Id attribute to the access point, which places the client on the correct VLAN. This limits lateral movement in the event of a compromise and supports PCI DSS network segmentation requirements.

Separate corporate and guest authentication. Use EAP-TLS for corporate-managed devices. Use a captive portal with SSO for BYOD and guest devices. Trying to manually configure EAP-TLS on unmanaged devices creates excessive support overhead. Purple's Guest WiFi platform handles guest onboarding separately, maintaining a clean separation between staff and visitor traffic.

Monitor certificate expiry proactively. Set up monitoring and alerting at 90 days, 30 days, and seven days before certificate expiry. If your RADIUS server certificate expires, all devices lose connectivity simultaneously. Automate renewal where your PKI supports it.

Test RADIUS timeout settings. Cloud RADIUS introduces network round-trip latency that on-premise NPS does not. Set the RADIUS timeout on your access points to at least five seconds. A timeout of two seconds - common in default configurations - will cause intermittent authentication failures.


Troubleshooting and risk mitigation

Blocked firewall ports are the leading cause of initial deployment failure. RADIUS authentication requires UDP port 1812 outbound from your wireless infrastructure to the Cloud RADIUS service. RADIUS accounting requires UDP port 1813. Verify these are open before any other troubleshooting.

Certificate validation failures present as authentication rejections with no obvious cause. Check the following in order: certificate expiry on both the client and the RADIUS server; clock skew between the client device and the RADIUS server (EAP-TLS relies on accurate timekeeping); and whether the Root CA certificate has been successfully deployed to the device via MDM.

Group membership not enforcing is a common issue when RADIUS policies reference Entra ID or Google Workspace groups. Verify that the Cloud RADIUS provider has the correct API permissions to read group memberships. In Entra ID, confirm the service principal has GroupMember.Read.All. In Google Workspace, confirm the Secure LDAP client has permission to read group information.

VLAN assignment not working typically indicates a mismatch between the RADIUS attribute values and the VLAN IDs configured on the wireless infrastructure. Confirm that Tunnel-Type is set to VLAN (value 13), Tunnel-Medium-Type is set to 802 (value 6), and Tunnel-Private-Group-Id matches the VLAN ID configured on the switch or controller.

BYOD devices failing EAP-TLS usually indicates the client certificate was not successfully deployed. For Intune-managed devices, check the device's certificate store in the Intune admin centre. For Google-managed Chromebooks, verify the certificate profile is assigned to the correct Organisational Unit and that the device has synced recently.


ROI and business impact

Moving to Cloud RADIUS delivers measurable operational savings. On-premise RADIUS requires at minimum two servers for high availability, ongoing OS patching, certificate management, and specialist engineering time. A single engineer's time spent on RADIUS maintenance over a year typically exceeds the annual cost of a Cloud RADIUS subscription.

The business case extends beyond cost reduction. By tying network access to verified cloud identities, you gain:

Instant offboarding. Disabling a user in Entra ID or Google Workspace immediately revokes their network access at all sites. There is no lag, no manual process, and no risk of a former employee retaining WiFi access. This directly supports GDPR obligations around data access rights.

Richer analytics. Platforms like Purple's WiFi Analytics provide richer data on space utilisation and visitor journeys when network access is tied to authenticated identities. You move from anonymous MAC addresses to named, authenticated users, which transforms the quality of insight available to operations and marketing teams.

Compliance evidence. EAP-TLS authentication generates detailed access logs - who connected, from which device, at which location, and at what time. This audit trail supports PCI DSS Requirement 10 (logging and monitoring) and GDPR accountability obligations.

Multi-site consistency. A single Cloud RADIUS service authenticates all your sites with consistent policies, managed from one dashboard. Adding a new hotel, store, or venue means adding its access points to the RADIUS configuration - not shipping and configuring another server. For organisations managing large estates, this is a significant operational advantage.

For Transport operators and Healthcare venues where network uptime is operationally critical, Cloud RADIUS providers typically offer 99.999% uptime SLAs with multi-region failover built in. Purple operates at 99.999% uptime across 80,000+ live venues, with 440 million logins processed in 2024 (Purple internal data, 2024).

For further reading on related topics, see WAN Computer Definition: A Practical Guide for 2026 and World WiFi Day 2026: How Your Venue Can Help Bridge the Digital Divide .

關鍵定義

RADIUS (Remote Authentication Dial-In User Service)

RFC 2865 中定義的一種網路協定,為連線到網路服務的使用者提供集中式驗證、授權和計費(AAA)管理。RADIUS 伺服器充當存取點與身分識別目錄之間的決策引擎。

每個企業級 WPA2-Enterprise 或 WPA3-Enterprise WiFi 網路都依賴 RADIUS 伺服器。沒有它,IEEE 802.1X 驗證就無法運作。

RADIUS as a Service (RADIUSaaS)

以託管服務形式提供的雲端託管 RADIUS 實作。供應商負責維護基礎設施、修補程式、高可用性以及身分識別供應商整合。您只需設定驗證原則,並將存取點指向雲端 RADIUS IP。

RADIUSaaS 消除了對地端 NPS 或 FreeRADIUS 伺服器的需求,從而免除了相關的硬體、作業系統修補和專業維護開銷。

IEEE 802.1X

一項用於基於連接埠之網路存取控制的 IEEE 標準。它定義了三方驗證模型:申請者(用戶端裝置)、驗證器(存取點或交換器)和驗證伺服器(RADIUS 伺服器)。驗證器會封鎖所有流量,直到 RADIUS 伺服器授予存取權限為止。

企業級 WiFi 驗證的基礎標準。WPA2-Enterprise 和 WPA3-Enterprise 皆依賴 802.1X。

EAP-TLS (Extensible Authentication Protocol - Transport Layer Security)

RFC 5216 中定義的一種驗證方法,在 RADIUS 伺服器和用戶端裝置上皆使用數位憑證進行雙向驗證。雙方都不會傳送密碼。用戶端出示其憑證;伺服器即時對照目錄進行驗證。

企業級 WiFi 安全的黃金標準。消除憑證遭竊、網路釣魚以及與密碼相關的技術支援開銷。持卡人資料網路符合 PCI DSS 合規性所必需。

PEAP-MSCHAPv2 (Protected EAP - Microsoft Challenge Handshake Authentication Protocol v2)

一種先建立加密 TLS 通道,然後透過該通道傳送使用者名稱和密碼的驗證方法。如果用戶端未嚴格驗證 RADIUS 伺服器憑證,則容易受到邪惡雙生(Evil Twin)攻擊。

企業級 WiFi 的舊版預設設定。目前仍廣泛部署,但在所有全新和現有的部署中,應盡可能遷移至 EAP-TLS。

Microsoft Entra ID

Microsoft 的雲端身分識別與存取管理服務,前身為 Azure Active Directory (Azure AD)。用於管理使用者身分識別、群組成員資格、裝置合規性以及條件式存取原則。

以 Microsoft 為中心之環境中 Cloud RADIUS 的主要身分識別來源。Cloud RADIUS 供應商透過 Microsoft Graph API 連線至 Entra ID。

Google Secure LDAP

Cloud Identity Premium 和 Google Workspace Enterprise 版本中提供的一項託管服務,為 Google 的雲端目錄提供傳統的 LDAP 介面。RADIUS 伺服器使用用戶端憑證,透過連接埠 636 連線至 ldap.google.com。

將 Cloud RADIUS 伺服器連線至 Google Workspace 的主要整合途徑。Google 不提供原生 RADIUS 服務,因此 Secure LDAP 充當橋樑。

PKI (Public Key Infrastructure)

建立、管理、發行、使用、儲存和撤銷數位憑證所需的一整套角色、原則、硬體、軟體和程序。發行 EAP-TLS 驗證中使用的用戶端和伺服器憑證需要 PKI。

來自 RADIUS 廠商或 Microsoft (Cloud PKI) 的雲端原生 PKI 選項,消除了對地端 Active Directory 憑證服務 (ADCS) 的需求。

SCEP (Simple Certificate Enrollment Protocol)

一種使裝置能夠自動向憑證授權單位請求並接收數位憑證的協定。Microsoft Intune 和 Google 管理主控台使用此協定將用戶端憑證部署到受管理的裝置,無需使用者互動。

Intune 中的 SCEP 設定檔是公司裝置靜默接收 EAP-TLS 驗證所需用戶端憑證的機制。

Dynamic VLAN assignment

一種 RADIUS 功能,可根據已驗證使用者的目錄群組成員資格,將 VLAN 分配屬性(Tunnel-Type、Tunnel-Medium-Type、Tunnel-Private-Group-Id)傳回給存取點。AP 會自動將用戶端置於指定的 VLAN 中。

實現精細的網路分段,而無需為每台裝置手動設定 VLAN。不同角色或部門的員工會進入不同的網路區段,從而限制橫向移動並支援 PCI DSS 分段要求。

範例

一家擁有 200 間客房的飯店正將其後勤員工網路從老舊的地端 NPS 伺服器遷移到雲端原生解決方案。該飯店最近已移至 Microsoft Entra ID 和 Microsoft 365 E5。員工裝置是由 Intune 管理的 Windows 筆記型電腦。無線基礎設施為 Cisco Meraki。飯店需要員工在不彈出密碼提示的情況下自動連線,並在員工離職時能立即撤銷其存取權限。

部署整合 Entra ID 的 Cloud RADIUS 解決方案。步驟 1:在 Entra ID 租戶中授予 Cloud RADIUS 供應商 Microsoft Graph API 權限(User.Read.All、GroupMember.Read.All、Device.Read.All)。步驟 2:在 Intune 中,使用 Cloud RADIUS 根憑證授權單位(Root CA)建立「信任的憑證」設定檔,並將其部署到「所有公司裝置」群組。步驟 3:建立主體名稱為 CN={{UserPrincipalName}} 的 SCEP 憑證設定檔,並部署到同一個群組。步驟 4:設定 Cloud RADIUS 驗證原則:若憑證由 [信任的 CA] 發行,且使用者為 [Hotel-Staff-WiFi] Entra ID 群組的成員,且裝置符合 Intune 合規性,則允許存取。步驟 5:在 Cisco Meraki 儀表板中,將 Cloud RADIUS 的主要和次要 IP 新增為後勤 SSID 的 RADIUS 伺服器。將 RADIUS 逾時設定為 5 秒。步驟 6:在 Intune 中,為後勤 SSID 建立 WPA3-Enterprise WiFi 設定檔,指定 EAP-TLS 並連結 SCEP 憑證設定檔。部署到「所有公司裝置」群組。裝置在下一次 Intune 同步時會靜默接收憑證和 WiFi 設定檔並自動連線。當員工離職時,停用其 Entra ID 帳戶將立即撤銷其在所有站點的網路存取權限。

考官評語: 此方法完全消除了對地端 NPS 的依賴。EAP-TLS 消除了基於認證資訊驗證的網路釣魚媒介。Intune 自動化了憑證生命週期管理,消除了導致先前 NPS 部署在憑證更新上落後的繁瑣手動作業。Entra ID 群組原則意味著當人資停用帳戶時,網路存取權限會即時撤銷,無需手動更新 RADIUS 原則。Cisco Meraki 的整合非常簡單:Cloud RADIUS 與硬體無關,可與任何支援 802.1X 的基礎設施協同工作。

一家擁有 50 家門市的零售連鎖店使用 Google Workspace,並管理著 500 台 Chromebook,供門市員工進行庫存和 POS(銷售點)操作。他們目前在門市營運網路中使用共用的 WPA2 PSK,這在裝置遺失或被盜時會帶來安全風險。他們希望在不於每家門市部署本地伺服器的情況下,遷移到 802.1X 驗證。他們的無線基礎設施是 HPE Aruba。

部署透過 Google Secure LDAP 與 Google Workspace 整合的 Cloud RADIUS 解決方案。步驟 1:在 Google 管理主控台中,導覽至「應用程式」,然後選擇「LDAP」,並為 Cloud RADIUS 服務新增一個 LDAP 用戶端。設定使用者資訊和群組成員資格的讀取權限。下載產生的用戶端憑證和金鑰。步驟 2:使用 Google Secure LDAP 認證資訊設定 Cloud RADIUS 服務。步驟 3:設定雲端 PKI 以向 Chromebook 發行憑證。在 Google 管理主控台中,導覽至「裝置」,然後選擇「網路」,再選擇「憑證」,並上傳根憑證授權單位(Root CA)。設定憑證發行設定檔,並將其套用至 Store-Associates 組織單位(OU)。步驟 4:在 Google 管理主控台中,為門市營運 SSID 建立 WPA3-Enterprise WiFi 設定檔。設定 EAP-TLS、連結根憑證授權單位(Root CA),並套用至 Store-Associates OU。Chromebook 會在下一次管理主控台同步時接收憑證和 WiFi 設定檔。步驟 5:在 HPE Aruba Central 中,使用 WPA3-Enterprise 設定門市營運 SSID,並新增 Cloud RADIUS 的主要和次要 IP。將 RADIUS 逾時設定為 5 秒。設定動態 VLAN 分配,根據門市員工的 Google Workspace 群組成員資格將其分配至 VLAN 20(門市營運)。當 Chromebook 遺失或被盜時,將其從 Store-Associates OU 中移除會立即撤銷其網路存取權限。

考官評語: 此部署消除了共用 PSK 的風險。在使用共用 PSK 的情況下,遺失或被盜的 Chromebook 會讓攻擊者擁有持續的網路存取權限,直到所有 50 家門市的 PSK 都進行輪替。使用 EAP-TLS,可以立即撤銷遺失裝置上的憑證。Google Secure LDAP 整合是 Google Workspace 環境的正確途徑——它提供了一個穩定的、基於標準的介面,Cloud RADIUS 服務可以對其進行查詢,而無需自訂 API 整合。動態 VLAN 分配可確保門市員工進入正確的網路區段,從而支援零售環境的 PCI DSS 網路分段要求。

練習題

Q1. 您的組織正在從地端 Active Directory 遷移到 Microsoft Entra ID。您目前在由 Intune 管理的 300 台公司筆記型電腦上使用 PEAP-MSCHAPv2 進行 WiFi 驗證。您擁有 Microsoft 365 E5 授權。將 WiFi 驗證遷移到雲端原生架構最安全且最具營運效率的途徑是什麼?

提示:考量基於認證資訊驗證的漏洞、Microsoft Intune 部署憑證的能力,以及避免依賴地端基礎設施的需求。

查看標準答案

部署整合 Entra ID 的 Cloud RADIUS 解決方案。使用 Microsoft Intune 向 300 台筆記型電腦部署信任的憑證設定檔(根憑證授權單位)和 SCEP 憑證設定檔。設定 Cloud RADIUS 驗證原則,要求提供來自信任 CA 的有效憑證,且必須是 Corporate-WiFi-Users Entra ID 群組的成員。在 Intune 中建立指定 EAP-TLSWPA3-Enterprise WiFi 設定檔,並連結 SCEP 憑證設定檔。裝置在下一次 Intune 同步時會靜默接收憑證和 WiFi 設定。這消除了 PEAP-MSCHAPv2 認證資訊遭竊的風險,移除了對地端 NPS 的依賴,並在停用 Entra ID 帳戶時提供立即撤銷功能。

Q2. 您飯店的一名使用者反映,在休假兩週回來後,無法連線到後勤員工 WiFi。其他員工連線正常。該網路使用 EAP-TLS,並透過 Intune 部署憑證。按可能性大小排序,最可能的三個原因是什麼?

提示:EAP-TLS 依賴具時效性的密碼編譯資產和即時目錄查詢。

查看標準答案
  1. 使用者的用戶端憑證已過期。憑證有定義的有效期,如果裝置在更新視窗期間處於離線狀態,SCEP 設定檔可能未能將其更新。請檢查 Intune 裝置憑證存放區中的憑證到期日。2. 裝置的系統時鐘嚴重不同步(時鐘偏差),導致憑證驗證失敗。EAP-TLS 會驗證憑證時間戳記;時鐘偏差超過五分鐘將導致驗證失敗。3. 使用者在休假期間其 Entra ID 帳戶被歸入不同的群組(例如,從在職員工移至不同的 OU),且 RADIUS 驗證原則不再與其群組成員資格相符。請對照 RADIUS 原則檢查使用者在 Entra ID 中的群組成員資格。

Q3. 您是一家擁有 80 家門市的零售連鎖店的 IT 經理。您使用 Google Workspace,並透過 Google 管理主控台管理 400 台 Chromebook。您希望將門市營運網路上目前的共用 WPA2 PSK 替換為 802.1X 驗證。您在任何門市地點都沒有地端伺服器。您會部署什麼架構?與目前的 PSK 方法相比,其主要安全優勢是什麼?

提示:考量在每種驗證模型下,當 Chromebook 遺失或被盜時會發生什麼情況。

查看標準答案

部署整合 Google Secure LDAP 的 Cloud RADIUS 服務。設定雲端 PKI 以向 Chromebook 發行憑證。在 Google 管理主控台中,向 Store-Associates 組織單位(OU)部署根憑證授權單位(Root CA)和 SCEP 用戶端憑證設定檔。建立指定 EAP-TLSWPA3-Enterprise WiFi 設定檔,並將其部署到同一個 OU。將每家門市的 HPE Aruba(或同等)存取點設定為指向 Cloud RADIUS 服務。主要安全優勢:在目前的共用 PSK 機制下,遺失或被盜的 Chromebook 會一直保有 WiFi 存取權限,直到所有 80 家門市 of PSK 都進行輪替(這是一個具破壞性且耗時的過程)。使用 EAP-TLS,在 Google 管理主控台中將裝置從 Store-Associates OU 中移除會立即撤銷其憑證和網路存取權限,而不會對任何其他裝置產生影響。

Q4. 在 Cloud RADIUS 部署期間,您在 Cisco Meraki 存取點上設定了 SSID,並將 Intune WiFi 設定檔部署到包含 20 台裝置的試點群組。所有裝置都無法連線。Intune 裝置狀態顯示憑證和 WiFi 設定檔已成功部署。您首先要檢查什麼?

提示:初始部署失敗最常見的原因並非 RADIUS 原則或憑證中的設定錯誤。

查看標準答案

檢查從 Cisco Meraki 存取點(或 Meraki 雲端基礎設施)到 Cloud RADIUS 伺服器 IP 位址的輸出 UDP 連接埠 1812 和 1813 是否已開放。防火牆連接埠被封鎖是初始部署失敗的首要原因。憑證和 WiFi 設定檔已成功部署的事實排除了 Intune 設定問題。接下來要檢查的是:Meraki 與 Cloud RADIUS 服務之間的 RADIUS 共用金鑰是否不相符;RADIUS 逾時設定是否過低(增加至至少 5 秒);以及 Cloud RADIUS 伺服器 IP 是否已正確輸入到 Meraki SSID 設定中。