跳至主要内容

将 RADIUS 即服务与云目录(Azure AD 和 Google Workspace)进行集成

本技术参考指南详细介绍了如何将 RADIUS 即服务与云目录(Microsoft Entra ID 和 Google Workspace)进行集成,以实现企业级 WiFi 身份验证。内容涵盖了从本地 NPS 到云原生 RADIUS 的架构转变、基于证书的 EAP-TLS 身份验证的部署,以及在酒店、零售和公共部门环境中保障无线接入安全的运营最佳实践。对于已经采用云身份识别的 IT 经理和网络架构师,本指南弥合了目录管理与物理网络安全之间的鸿沟。

📖 10 分钟阅读📝 2,373 🔧 2 应用实例4 练习题📚 10 关键定义

收听本指南

查看播客转录
欢迎收听 Purple 技术简报。今天,我们将探讨一个处于云身份管理与物理网络安全交汇点的话题:将 RADIUS 即服务与云目录(特别是 Microsoft Entra ID 和 Google Workspace)进行集成。 如果您正在管理酒店、零售物业、体育场馆或公共部门场所的企业级 WiFi,本期简报将直接关系到您的下一个基础设施决策。 让我们先从背景说起。在过去的二十年里,企业环境中的 WiFi 身份验证依赖于一个相当可预测的技术栈。您拥有本地 Active Directory、充当 RADIUS 服务器的 Windows 网络策略服务器(NPS),以及接入点上的 WPA2-Enterprise。它确实有效。但它需要本地服务器、手动证书管理以及一个拥有专业知识的团队来维持其运行。 问题在于,大多数组织不再以本地为先。他们是云优先的。Microsoft Entra ID 和 Google Workspace 现在是数百万个组织的官方目录。而差距就在这里:您的无线接入点仍然使用 RADIUS 协议。它们不懂 SAML。它们不懂 OAuth。它们只懂 RADIUS,而且永远如此。 因此,问题是:如何将您的云身份平台与物理网络基础设施连接起来,而又无需将本地服务器重新引入其中? 答案就是 RADIUS 即服务。一个云托管的 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 部署证书。使用您的根 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 以颁发证书,将根 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 依赖精确的时间保持来进行证书验证。如果设备的系统时钟严重不同步,证书验证就会失败。确保在所有设备和基础设施上正确配置了 NTP。 第四个是特定于 PEAP 部署的,即未能对客户端设备强制执行严格的服务器证书验证。否则,设备将接受声称是您的接入点出示的任何证书。这一个配置决定就是安全的部署与易受攻击的部署之间的区别。 现在进行快速问答。 我可以使用 Cloud RADIUS 同时用于员工和访客 WiFi 吗?员工 WiFi 可以,使用 EAP-TLS。访客 WiFi 应使用单独的 Captive Portal。在单个 SSID 上混合使用这两者会带来不必要的复杂性和安全风险。 这适用于 WPA3 吗?是的。WPA3-Enterprise 得到完全支持,并推荐用于所有新部署。 合规性如何?结合 Cloud RADIUS 的 EAP-TLS 支持持卡人数据网络上强身份验证的 PCI DSS 要求。它还通过在员工离职时启用精确的访问日志记录和即时撤销来支持 GDPR 义务。 这如何影响我们的分析能力?有积极影响。通过将网络访问与经过验证的云身份绑定,像 Purple 的 WiFi Analytics 这样的平台可以提供更丰富的空间利用率数据。您从匿名的 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 方案消除了对本地活动目录证书服务 (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 根 CA 创建“信任的证书”配置文件,并将其部署到“所有公司设备”组。步骤 3:创建使用者名称为 CN={{UserPrincipalName}} 的 SCEP 证书配置文件,并部署到同一组。步骤 4:配置 Cloud RADIUS 身份验证策略:如果证书由 [Trusted CA] 颁发,且用户是 [Hotel-Staff-WiFi] Entra ID 组的成员,且设备符合 Intune 合规性要求,则允许访问。步骤 5:在 Cisco Meraki 控制面板中,将 Cloud RADIUS 主 IP 和备 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 管理控制台中,导航至“设备”,然后选择“网络”,再选择“证书”,并上传根 CA。配置证书颁发配置文件并将其应用到 Store-Associates 组织单位(OU)。步骤 4:在 Google 管理控制台中,为门店运营 SSID 创建 WPA3-Enterprise WiFi 配置文件。设置 EAP-TLS,关联根 CA,并应用到 Store-Associates OU。Chromebook 将在下一次管理控制台同步时接收证书和 WiFi 配置文件。步骤 5:在 HPE Aruba Central 中,使用 WPA3-Enterprise 配置门店运营 SSID,并添加 Cloud RADIUS 主 IP 和备 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 台笔记本电脑部署“信任的证书”配置文件(根 CA)和 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 身份验证策略不再匹配其组会员资格。检查 Entra ID 中的用户组会员资格是否与 RADIUS 策略一致。

Q3. 您是一家拥有 80 家门店的零售连锁店的 IT 经理。您使用 Google Workspace 并通过 Google 管理控制台管理 400 台 Chromebook。您希望将门店运营网络上当前共享的 WPA2 PSK 替换为 802.1X 身份验证。您在任何门店位置都没有本地服务器。您会部署什么架构?与当前的 PSK 方法相比,其主要安全优势是什么?

提示:考虑在每种身份验证模型下,当 Chromebook 丢失或被盗时会发生什么。

查看标准答案

部署集成 Google Secure LDAP 的 Cloud RADIUS 服务。配置云 PKI 以向 Chromebook 颁发证书。在 Google 管理控制台中,向 Store-Associates 组织单位部署根 CA 和 SCEP 客户端证书配置文件。创建一个指定 EAP-TLSWPA3-Enterprise WiFi 配置文件,并部署到相同的 OU。配置每家门店的 HPE Aruba(或同等)接入点以指向 Cloud RADIUS 服务。主要安全优势:在当前共享 PSK 的情况下,丢失或被盗的 Chromebook 将保留 WiFi 访问权限,直到所有 80 家门店的 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 秒);以及 Meraki SSID配置中是否正确输入了 Cloud RADIUS 服务器 IP。