跳至主要內容

How to Configure SCEP for Secure Enterprise WiFi and BYOD Provisioning

本技術指南說明如何設定簡單憑證登冊協定 (SCEP) 以自動化安全的 802.1X 企業 WiFi 驗證與 BYOD 裝置配置。本指南為網路架構師與 IT 經理提供了明確的部署順序、來自旅宿業與零售業的實際導入情境,以及消除企業網路中脆弱的預先共用金鑰與 MAC Authentication Bypass 的風險緩釋策略。

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

收聽此指南

查看播客逐字稿
Welcome to this technical briefing from Purple. I am your host, and today we are diving deep into the configuration of SCEP for secure enterprise WiFi and BYOD provisioning. For IT managers, network architects, and CTOs operating in hospitality, retail, and public sectors, managing network access is a constant balancing act between security and operational efficiency. You are dealing with hundreds, sometimes thousands of devices connecting to your network every day. Staff smartphones, contractor laptops, point-of-sale tablets. And the old ways of handling this are simply not good enough anymore. Relying on Pre-Shared Keys, or PSKs, for staff and BYOD WiFi is a security vulnerability waiting to be exploited. A shared password, once compromised, gives anyone access to your network. And MAC Authentication Bypass, or MAB, is no better. Modern smartphones use randomised MAC addresses by default, which breaks MAB entirely, and MAC addresses can be spoofed in seconds. Modern network architecture demands 802.1X authentication using EAP-TLS. This ensures every device is cryptographically verified before it touches the network. But here is the challenge: how do you distribute unique client certificates to thousands of unmanaged devices without overwhelming your helpdesk? The answer is the Simple Certificate Enrollment Protocol, or SCEP. Let us start with the architecture. SCEP is the industry standard for enterprise device enrollment, defined in RFC 8894. It has been around since 1999, originally created by VeriSign, and it has stood the test of time because it solves a genuinely hard problem elegantly. In a SCEP workflow, the device generates its own private and public key pair locally. It creates a Certificate Signing Request, or CSR, and sends it via a Network Device Enrollment Service, known as NDES, to your Certificate Authority, or CA. The CA validates the request and returns the signed public certificate to the device. The critical security advantage here is that the private key never leaves the device. It is generated locally and stored in the device's hardware secure enclave. On a Windows laptop, that is the Trusted Platform Module, or TPM. On an iPhone, it is the Secure Enclave. The private key is never transmitted across the network. This is what makes SCEP vastly superior to alternatives like PKCS for network authentication, where the CA generates the key pair centrally and transmits it to the device. Now, let us talk about BYOD. This is where it gets genuinely interesting from an operational standpoint. You want staff to be able to use their personal devices to access internal tools, but you do not want to force them to enrol in your corporate MDM. That is a privacy concern, and it meets strong resistance from staff. The solution is a self-service onboarding portal. Here is how it works. The user connects their personal device to a dedicated provisioning SSID. This network is a walled garden, restricting access to everything except the onboarding portal and your identity provider. The user authenticates using their corporate credentials, typically via SAML integration with Microsoft Entra ID, Okta, or Google Workspace. Upon successful authentication, the system generates a unique, device-specific client certificate via SCEP. A configuration profile is pushed to the device containing the certificate, the root CA certificate, and the network settings. The device then automatically connects to the secure corporate SSID using EAP-TLS. It is seamless for the user and secure for the enterprise. They do not need to know anything about certificates or 802.1X. They just log in once and they are connected. Now, let us walk through the implementation in detail. The deployment sequence is critical, and getting it wrong is the most common cause of failure. Step one: deploy the Trusted Root Certificate. Before any device can request a client certificate or trust your RADIUS server, it must trust the issuing Certificate Authority. Export your Root CA certificate as a .cer file and deploy it to your target device groups. This step is non-negotiable. Without it, the entire chain fails. Step two: configure the SCEP Certificate Profile. This instructs devices on how to obtain their client certificate. You need to configure the subject name format. For user-driven authentication, the standard is CN equals UserPrincipalName. For device authentication, use CN equals the Azure AD Device ID. Set the key usage to digital signature and key encipherment. Under extended key usage, specify Client Authentication with the OID 1.3.6.1.5.5.7.3.2. Link this profile to the Trusted Root certificate profile from step one. And provide the external URL of your NDES server. Step three: deploy the 802.1X WiFi Profile. This ties the certificates to the network SSID. Enter the network name exactly as it is broadcast by your access points. Set the security type to WPA2-Enterprise or WPA3-Enterprise. Set the EAP type to EAP-TLS. Select the SCEP certificate profile as the client authentication certificate. And specify the Trusted Root certificate for server validation. This sequence is the most important thing to remember from this entire briefing. Trust, then certificate, then WiFi. In that order, every time. Now let me walk you through some best practices that will save you significant pain in production. First, publish your NDES server via Azure AD Application Proxy. The NDES server must be accessible from the internet to allow remote devices to provision certificates before they arrive on-site. But exposing an internal server directly to the internet is a significant security risk. Application Proxy gives you secure remote access without opening inbound firewall ports. Second, implement short-lived certificates for BYOD devices. Instead of a certificate valid for three years, issue certificates valid for 90 days. When the certificate expires, the user must re-authenticate through the onboarding portal. This naturally prunes stale devices from the network. A device that has not been used in 90 days simply drops off. No manual cleanup required. Third, and this is absolutely critical, configure your RADIUS server to enforce strict Certificate Revocation List checking. When an employee leaves the organisation, disabling their Active Directory account may not immediately revoke their WiFi access if their client certificate remains valid. Your RADIUS server must check the CRL before granting access. Ensure your CRL Distribution Points are highly available. If the RADIUS server cannot reach the CRL, authentication fails for everyone. That is a widespread outage. Now let us look at some common failure modes and how to avoid them. The most frequent issue is the WiFi profile failing to apply. The device receives the Trusted Root and SCEP certificates, but the WiFi profile shows as Error in the MDM console. Nine times out of ten, this is a group targeting mismatch. If the SCEP profile is assigned to a User Group, but the WiFi profile is assigned to a Device Group, the MDM cannot resolve the dependency. Audit your assignments. Ensure all three profiles target the exact same group. The second common issue is NDES 403 Forbidden errors. Devices fail to retrieve the SCEP certificate, and the NDES IIS logs show HTTP 403 errors. This is usually caused by the connector service account lacking the necessary permissions on the certificate template, or a firewall blocking the specific query string parameters used by SCEP. Verify that the connector account has Read and Enroll permissions on the CA template. Check your firewall logs to ensure URLs containing the operation equals GetCACaps parameter are not being blocked. Let me give you two real-world scenarios to illustrate how this plays out in practice. Scenario one: a 200-room hotel with 50 housekeeping staff using personal smartphones to access the scheduling app. The IT manager wants to avoid full MDM enrolment to respect staff privacy. The solution is a self-service portal integrated with Microsoft Entra ID. Staff connect to the provisioning SSID, log in with their Entra ID credentials, and download a SCEP profile. The SCEP server issues a 30-day client certificate directly to the device. The device connects to the Staff WiFi SSID using EAP-TLS. The RADIUS server assigns these devices to a restricted VLAN that only allows access to the scheduling app. When a staff member resigns, their Entra ID account is disabled, and the RADIUS server instantly denies network access. Scenario two: a national retail chain with 500 stores deploying secure WiFi for corporate-owned point-of-sale tablets. The network architect needs to ensure that even if a tablet is stolen, the credentials cannot be extracted. The solution is Microsoft Intune deploying certificates via SCEP. Intune pushes the Trusted Root certificate, followed by a SCEP profile that instructs the tablet to generate its own private key in its hardware secure enclave. The tablet submits a CSR to the NDES server, receives the client certificate, and connects to the Retail POS SSID using EAP-TLS. Because the private key is generated locally and never transmitted, a stolen tablet's credentials cannot be used elsewhere. This satisfies PCI DSS compliance requirements. Now, let us talk about the business case. Transitioning to SCEP 802.1X certificate deployment delivers measurable returns across security and operations. Password-based WiFi generates a significant volume of helpdesk tickets. Password expirations, lockouts, typos. Certificate-based authentication is invisible to the user. Devices connect automatically. This typically reduces WiFi-related helpdesk volume by 70%. That is a material reduction in operational cost. EAP-TLS eliminates the risk of credential harvesting and Man-in-the-Middle attacks. This is critical for compliance with PCI DSS in retail environments and GDPR across all sectors. The cost of a data breach far exceeds the cost of deploying a proper PKI infrastructure. And for organisations already running Purple's Guest WiFi and analytics platform, extending secure onboarding to staff BYOD devices provides a unified network management strategy. Purple's hardware-agnostic cloud overlay integrates with Cisco Meraki, HPE Aruba, Ruckus, Juniper Mist, Ubiquiti UniFi, Cambium, Extreme, and Fortinet, so you are not locked into a single hardware vendor. Purple operates across 80,000 live venues and has processed 440 million logins in 2024, holding ISO 27001, GDPR, CCPA, and Cyber Essentials certifications. Let me close with a rapid-fire summary of the key decisions you need to make. Should you use SCEP or PKCS? Use SCEP for WiFi authentication. The private key stays on the device. Use PKCS only for email encryption where key escrow is required. How long should certificates be valid? 90 days for BYOD. One to two years for corporate-managed devices. Should you use user or device targeting in your MDM? Use device targeting for corporate devices that need to connect before user login. Use user targeting for BYOD where the certificate should be tied to the individual. How do you handle Android fragmentation? Use Passpoint, also known as Hotspot 2.0, where possible. It provides a consistent connection experience across Android manufacturers. And finally, what is the single most important thing to get right? CRL checking on your RADIUS server. Without it, a revoked certificate can still grant network access. That is the end of today's briefing. If you want to go deeper on any of these topics, Purple's technical guides on enterprise WiFi security and EAP-TLS certificate authentication are available on the Purple website at purple.ai. Thank you for listening.

header_image.png

執行摘要

對於跨足旅宿、零售和公共部門的企業場域而言,員工和 BYOD WiFi 若依賴預先共用金鑰 (PSK) 或 MAC Authentication Bypass (MAB) 將會帶來安全隱患。現代網路架構要求使用 EAP-TLS (可延伸驗證協定-傳輸層安全) 進行 802.1X 驗證,以確保每個裝置在存取網路前都經過密碼學驗證。營運上的挑戰在於如何將唯一的用戶端憑證發送到數千台未受管理的裝置,同時又不會讓 IT 服務台被支援工單淹沒。

定義於 RFC 8894 的簡單憑證登冊協定 (SCEP),透過自動化的憑證生命週期管理解決了此分發難題。藉由利用 SCEP,IT 團隊可以將信任的根憑證和用戶端憑證推送到端點,確保私鑰永遠不會離開裝置。本指南為 SCEP WiFi 憑證部署提供了明確的架構藍圖與逐步導入策略。我們涵蓋了成功部署所需的關鍵部署順序、來自旅宿業與零售業的實際情境,以及確保您的 Guest WiFi 與企業網路保持安全且高效運作的風險緩釋策略。

技術深究:SCEP 架構

SCEP 是企業裝置登冊的業界標準,由 VeriSign 建立並於 1999 年作為 IETF 網際網路草案發佈。它在公開金鑰基礎建設 (PKI) 環境中自動核發 X.509 憑證,消除了大規模手動管理憑證的需求。

scep_architecture_overview.png

在 SCEP 工作流程中,裝置會在本地端自行產生私鑰與公鑰對。它會建立憑證簽署要求 (CSR),並透過網路裝置登冊服務 (NDES) 伺服器傳送至您的憑證授權單位 (CA)。CA 使用共用秘密驗證該要求,並將簽署的公用憑證傳回給裝置。關鍵的安全優勢在於私鑰永遠不會離開裝置。它是在本地端產生,並儲存在裝置的硬體安全記憶區中——Windows 上的信賴平台模組 (TPM) 或 iOS 上的 Secure Enclave。與由 CA 集中產生金鑰對並透過網路傳輸的 PKCS (公開金鑰加密標準) 相比,這使得 SCEP 成為 802.1X 驗證強烈推薦的方法。

SCEP 憑證登冊的四個步驟如下:第一,裝置連線至由 NDES 伺服器託管的 SCEP 端點 URL。第二,裝置提供 SCEP 共用秘密(靜態密碼或由 MDM 平台產生的動態挑戰),以驗證登冊要求。第三,裝置產生包含其公鑰與識別資訊的 CSR。第四,CA 驗證 CSR 並核發已簽署的 X.509 憑證,然後將其傳回給裝置。

SCEP 與 PKCS:選擇正確的機制

在設計憑證部署策略時,選擇 SCEP 還是 PKCS 會直接影響安全性。下表總結了關鍵差異。

屬性 SCEP PKCS
私鑰產生 在裝置上 (安全記憶區) 在 CA 伺服器上
私鑰傳輸 從不傳輸 透過網路傳輸
基礎建設需求 需要 NDES 伺服器 不需要 NDES
最佳適用場景 WiFi 與 VPN 驗證 S/MIME 郵件加密
802.1X 的安全態勢 推薦 不推薦

針對企業 WiFi 的 SCEP,請務必選擇 SCEP。私鑰保留在裝置上是根本的安全特性,這使得基於憑證的 802.1X 驗證優於任何基於認證資訊的方法。

BYOD 自助式上網引導流程

安全 BYOD 上網引導的基礎是從傳統驗證過渡到 EAP-TLS,而無需進行完整的行動裝置管理 (MDM) 註冊。強迫員工將個人智慧型手機註冊到企業 MDM 會引發合理的隱私疑慮,並面臨強烈阻力。自助式上網引導入口網頁解決了這個問題。

使用者將其個人裝置連線到專用的配置 SSID,該 SSID 作為圍牆花園,僅限制存取引導入口網頁和身分識別提供者。使用者透過與 Microsoft Entra ID、Okta 或 Google Workspace 的 SAML 或 OAuth 整合進行驗證。驗證成功後,系統會透過 SCEP 產生唯一的、裝置專屬的用戶端憑證。設定描述檔(Apple 的 .mobileconfig 檔案或 Android Passpoint 描述檔)會被推送到裝置。接著,裝置會使用 EAP-TLS 自動連線到安全的企業 SSID。使用者完全不需要了解任何關於憑證或 802.1X 的資訊。

導入指南:部署順序

成功為 802.1X 設定 SCEP 需要嚴格遵守特定的部署順序。在設定驗證之前,必須先建立信任關係。偏離此順序是部署失敗最常見的原因。

步驟 1:部署信任的根憑證。 在任何裝置可以要求用戶端憑證或信任您的 RADIUS 伺服器之前,它必須先信任核發的憑證授權單位。匯出您的根 CA 憑證(以及任何 中繼 CA 憑證)為 .cer 檔案。透過您的 MDM 平台將此設定檔部署到您的目標裝置群組。此步驟至關重要,不可省略。

步驟 2:設定 SCEP 憑證設定檔。 這會指示裝置如何取得其用戶端憑證。設定主旨名稱格式 — 對於使用者驅動的驗證,標準格式為 CN={{UserPrincipalName}};對於裝置驗證,請使用 CN={{AAD_Device_ID}}。將金鑰用途設定為 Digital signature(數位簽章)和 Key encipherment(金鑰加密)。在延伸金鑰用途下,指定 Client Authentication(用戶端驗證,OID:1.3.6.1.5.5.7.3.2)。將此設定檔連結到步驟 1 中信任的根憑證設定檔。提供您 NDES 伺服器的外部 URL。

步驟 3:部署 802.1X WiFi 設定檔。 推送將憑證與網路 SSID 綁定的 WiFi 設定。輸入與您的無線基地台廣播完全相同的網路名稱。將安全性類型設定為 WPA2-EnterpriseWPA3-Enterprise。將 EAP 類型設定為 EAP-TLS。選擇 SCEP 憑證設定檔作為用戶端驗證憑證。指定用於伺服器驗證的信任根憑證,以確保裝置僅連線到您合法的 RADIUS 伺服器。

此步驟適用於所有支援的硬體平台:Cisco Meraki、HPE Aruba、Ruckus、Juniper Mist、Ubiquiti UniFi、Cambium、Extreme 和 Fortinet。Purple 與硬體無關的雲端重疊架構可與所有這些平台整合,這意味著您的憑證基礎架構不會被綁定在單一硬體廠商上。

最佳實作

透過 Azure AD 應用程式 Proxy 發佈 NDES。 NDES 伺服器必須可從網際網路存取,以便遠端裝置在抵達現場之前佈署憑證。將內部伺服器直接暴露於網際網路會帶來重大的安全性風險。透過 Azure AD 應用程式 Proxy 發佈可提供安全的遠端存取,而無需開啟輸入防火牆連接埠,並允許您將條件式存取原則套用到註冊流程。

為 BYOD 核發短期憑證。 由於 BYOD 裝置是未受管理的,受駭裝置留在網路上的風險較高。請核發有效期為 90 天而非數年的憑證。當憑證過期時,使用者必須透過註冊入口網站重新進行驗證。這能自然地從網路中清除過期的裝置,而無需手動的 IT 介入。

在 RADIUS 伺服器上強制執行嚴格的 CRL 檢查。 憑證部署僅是安全防護的一半。如果員工離職,即使停用其 Active Directory 帳戶,若其用戶端憑證仍然有效,也可能無法立即撤銷其 WiFi 存取權限。請設定您的 RADIUS 伺服器以強制執行嚴格的憑證撤銷清單 (CRL) 檢查。確保您的 CRL 發佈點 (CDP) 具有高可用性。如果 RADIUS 伺服器無法連線到 CRL,所有使用者的驗證都將失敗,這會導致大規模的斷線故障。

將 BYOD 隔離到專用的 VLAN。 BYOD 裝置是未受管理的。您無法控制其作業系統更新、防毒狀態或已安裝的應用程式。請將 BYOD 裝置放置在專用的 VLAN 上,該 VLAN 僅提供網際網路存取,並限制僅能存取該員工角色所需的特定內部應用程式。切勿將 BYOD 裝置與企業伺服器或受管理裝置放在同一個 VLAN 中。

byod_vs_psk_comparison.png

疑難排解與風險緩釋

WiFi 設定檔套用失敗。 裝置已接收到信任的根憑證和 SCEP 憑證,但 WiFi 設定檔在 MDM 主控台中顯示為「錯誤」。這幾乎總是由於群組目標不匹配所致。如果將 SCEP 設定檔指派給「使用者群組」,但將 WiFi 設定檔指派給「裝置群組」,則 MDM 將無法解析此相依性。請稽核您的指派,並確保信任的根憑證、SCEP 和 WiFi 設定檔都指向完全相同的 Azure AD 群組。

NDES 403 Forbidden 錯誤。 裝置無法擷取 SCEP 憑證,且 NDES IIS 記錄顯示 HTTP 403 錯誤。連接器服務帳戶可能在憑證範本上缺乏必要的權限,或者您的防火牆封鎖了 SCEP 所使用的特定查詢字串參數。請驗證連接器帳戶在 CA 範本上是否具有「讀取」和「註冊」權限。檢查防火牆記錄以確保未封鎖包含 ?operation=GetCACaps 的 URL。

Android 碎片化。 Apple iOS 裝置處理 .mobileconfig 設定檔的方式非常一致。而 Android 則高度碎片化 — 不同的製造商和作業系統版本處理 WiFi 設定檔和憑證安裝的方式各不相同。請在註冊入口網站上提供清晰且針對特定作業系統的說明。使用 Passpoint (Hotspot 2.0) 可透過在不同製造商之間提供一致的連線流程,顯著改善 Android 的使用體驗。

憑證撤銷延遲。 當員工離職時,必須立即撤銷其存取權限。停用其 IdP 帳戶是第一步,但 RADIUS 伺服器也必須驗證憑證的狀態。請將您的 RADIUS 伺服器設定為除了 CRL 檢查之外,還使用線上憑證狀態協定 (OCSP)。OCSP 可提供即時的撤銷狀態,而不是依賴定期更新的清單。

投資報酬率 (ROI) 與業務影響

過渡到 SCEP 802.1X 憑證部署可在安全性和營運方面帶來可衡量的回報。基於密碼的 WiFi 會因為密碼過期、鎖定和輸入錯誤而產生大量的技術支援工單。基於憑證的驗證對使用者而言是無感的 — 裝置會自動連線。這通常能減少 70% 與 WiFi 相關的技術支援工作量,讓 IT 人員能夠專注於策略性工作。

EAP-TLS 消除憑證收集和中間人 (MitM) 攻擊的風險。這對於 零售業 環境中符合 PCI DSS 規範以及跨領域的 GDPR 規範至關重要各個產業。在 餐旅業 ,員工需要處理付款資料與顧客個人資訊,資料外洩的成本遠高於部署完善 PKI 基礎設施的成本。對於 交通運輸 營運商與 醫療保健 場所,同樣適用相同的合規驅動因素。

對於已在使用 Purple 的 訪客 WiFiWiFi 分析 平台的場所,將安全上網引導延伸至員工的 BYOD 裝置,可提供統一且強大的網路管理策略。Purple 的服務遍及 80,000 多個實際場所,並在 2024 年處理了 4.4 億次登入(Purple 內部數據),同時擁有 ISO 27001、GDPR、CCPA 和 Cyber Essentials 認證。我們的 SecurePass 和 Shield 安全附加元件直接與本指南中說明的憑證型驗證架構整合。

若要更廣泛地瞭解企業網路安全,請參閱我們的 企業 WiFi 安全:2026 年完整指南 。針對網路管理員專屬的 GDPR 合規考量,請參閱 網路管理員的 GDPR 與訪客資料隱私合規指南

關鍵定義

SCEP (Simple Certificate Enrollment Protocol)

A protocol defined in RFC 8894 that automates the issuance of X.509 digital certificates to devices within a PKI environment. The device generates its own private key locally, which never leaves the device.

Used to deploy WiFi authentication certificates to corporate and BYOD devices at scale without manual IT intervention. The industry standard for 802.1X certificate provisioning.

802.1X

An IEEE standard (IEEE Std 802.1X-2020) for port-based network access control. It provides an authentication mechanism to devices wishing to attach to a LAN or WLAN before they are granted access to network resources.

The foundation of secure enterprise WiFi, replacing vulnerable pre-shared keys. Requires a RADIUS server, a supplicant on the client device, and an authenticator on the access point.

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

An authentication framework that requires both the server and the client to present valid digital certificates. Provides mutual authentication, ensuring the device trusts the network and the network trusts the device.

The most secure method for 802.1X authentication. Eliminates credential theft and Man-in-the-Middle attacks. The target authentication protocol that SCEP certificate deployment is designed to enable.

NDES (Network Device Enrollment Service)

A Microsoft Windows Server role that acts as a bridge, allowing devices without domain credentials to obtain certificates from an Active Directory Certificate Services CA via SCEP.

A required infrastructure component when implementing SCEP with Microsoft Intune. Should be published via Azure AD Application Proxy to allow secure remote certificate provisioning.

BYOD (Bring Your Own Device)

The practice of allowing employees to use their personal smartphones, tablets, or laptops to access enterprise networks and applications.

Requires careful network segmentation and secure onboarding to prevent unmanaged devices from compromising the corporate network. Full MDM enrolment is often impractical for personal devices due to privacy concerns.

CRL (Certificate Revocation List)

A list published by the Certificate Authority containing the serial numbers of certificates that have been revoked before their expiration date.

Must be checked by the RADIUS server during every authentication attempt to ensure terminated employees or compromised devices cannot access the network. CRL Distribution Points must be highly available.

CSR (Certificate Signing Request)

A message generated by a device and sent to a Certificate Authority to apply for a digital identity certificate. Contains the device's public key and identity information.

Generated by the device during the SCEP process. The private key used to sign the CSR remains on the device and is never transmitted.

RADIUS (Remote Authentication Dial-In User Service)

A networking protocol that provides centralised Authentication, Authorisation, and Accounting (AAA) management for users and devices connecting to a network.

The server that validates the client certificate during 802.1X authentication and grants or denies network access. Must be configured to enforce strict CRL or OCSP checking.

PKCS (Public Key Cryptography Standards)

A set of standards where both the public and private keys are generated by the Certificate Authority and then securely delivered to the endpoint.

Less suitable than SCEP for WiFi authentication because the private key is transmitted over the network. Better suited for S/MIME email encryption where key escrow is required.

OCSP (Online Certificate Status Protocol)

A protocol that provides real-time certificate revocation status, as an alternative to the periodically updated CRL.

Preferred over CRL for high-security environments because it provides instant revocation status rather than relying on a list that may be hours old.

範例

A 200-room hotel needs to provide secure WiFi access for 50 housekeeping staff using their personal smartphones (BYOD) to access the housekeeping scheduling app. The IT manager wants to avoid full MDM enrolment to respect staff privacy, but needs to ensure access is revoked immediately when a staff member resigns.

The hotel deploys a self-service onboarding portal integrated with Microsoft Entra ID. Staff connect to an open provisioning SSID, authenticate with their Entra ID credentials, and download a SCEP profile. The SCEP server issues a 30-day client certificate directly to the device, with the private key generated and stored locally on the smartphone's secure enclave. The device automatically connects to the 'Staff_WiFi' SSID using EAP-TLS. The RADIUS server assigns these devices to a restricted VLAN that permits access only to the scheduling app and the internet. When a staff member resigns, their Entra ID account is disabled. The RADIUS server, configured for strict CRL checking, denies network access at the next authentication attempt. The 30-day certificate validity ensures that even if CRL checking were delayed, access would lapse within a month.

考官評語: This approach balances security with staff privacy. By using SCEP via a captive portal rather than full MDM enrolment, the hotel avoids installing a management profile on personal devices. The 30-day certificate validity and strict CRL checking provide layered access control. The VLAN segmentation ensures that even a compromised BYOD device cannot reach corporate servers or payment systems.

A national retail chain with 500 stores needs to deploy secure WiFi for corporate-owned point-of-sale (POS) tablets running Windows. The network architect must ensure that even if a tablet is stolen, the network credentials cannot be extracted and used to access the corporate network from another device. PCI DSS compliance is mandatory.

The network architect configures Microsoft Intune to deploy certificates via SCEP. Intune pushes the Trusted Root certificate to the 'POS Devices' group, followed by a SCEP profile that instructs each tablet to generate its own private key in the Windows TPM. The tablet submits a CSR to the NDES server, receives the client certificate, and connects to the 'Retail_POS' SSID using WPA3-Enterprise and EAP-TLS. The RADIUS server authenticates the certificate and places the device on the isolated POS VLAN, which only permits traffic to the payment processor and inventory management system. All three Intune profiles - Trusted Root, SCEP, and WiFi - are assigned to the same 'POS Devices' device group to prevent dependency failures. NDES is published via Azure AD Application Proxy to allow certificate renewal without requiring the tablet to be on-site.

考官評語: This is the optimal architecture for corporate devices in a PCI DSS environment. Because SCEP ensures the private key is generated locally in the TPM and never transmitted, a stolen tablet's credentials cannot be extracted and replayed from another device. The WPA3-Enterprise standard provides forward secrecy, ensuring that captured traffic cannot be decrypted retroactively. The VLAN isolation limits the blast radius of any compromised device to the POS network segment only.

練習題

Q1. You are deploying a SCEP profile via Intune to a fleet of Windows laptops. The devices successfully receive the Trusted Root certificate, but the WiFi profile fails to apply and shows as 'Error' in the Intune console. The SCEP profile is assigned to the 'All Users' Azure AD group, while the WiFi profile is assigned to the 'Corporate Laptops' device group. What is the cause of the failure and how do you resolve it?

提示:Consider the dependencies between the profiles and how Intune resolves group targeting when a profile depends on another profile.

查看標準答案

The failure is caused by a group targeting mismatch. Intune cannot resolve the dependency between the SCEP profile and the WiFi profile because they target different group types - one targets users and the other targets devices. To resolve this, audit all three profile assignments and ensure the Trusted Root, SCEP, and WiFi profiles are all deployed to the exact same Azure AD group. Choose either user targeting or device targeting consistently across all profiles.

Q2. A retail venue wants to secure its POS tablets. The IT director suggests using PKCS instead of SCEP because it simplifies infrastructure by removing the need for an NDES server. As the network architect, why should you recommend SCEP for 802.1X WiFi authentication, and under what circumstances would PKCS be the correct choice?

提示:Think about where the private key is generated and stored in both protocols, and consider the security implications for network authentication versus email encryption.

查看標準答案

Recommend SCEP for 802.1X WiFi authentication because the private key is generated locally on the device and stored in its hardware secure enclave. The private key never leaves the device and is never transmitted across the network. If a tablet is stolen, the credentials cannot be extracted and used from another device. With PKCS, the CA generates the key pair centrally and transmits it to the device, introducing a transmission risk that is unacceptable for network authentication. PKCS is the correct choice only for S/MIME email encryption, where key escrow is required to allow encrypted emails to be decrypted if the original device is lost.

Q3. You are designing a BYOD onboarding portal for a 500-bed hospital. Clinical staff will use their personal smartphones to access non-critical internal apps such as the staff rota and internal messaging. You need to minimise the risk of stale devices remaining on the network after staff leave, without requiring manual IT intervention for each departure. What specific certificate configuration should you implement?

提示:Consider the lifecycle of the certificate and how you can force devices to re-authenticate periodically without requiring IT to manually revoke each certificate.

查看標準答案

Implement short-lived certificates with a validity period of 30 to 90 days. When the certificate expires, the BYOD device is forced to re-authenticate through the captive portal using the staff member's corporate IdP credentials. If the staff member has left and their IdP account has been disabled, they cannot complete re-authentication and will not receive a new certificate. This naturally prunes stale devices from the network without requiring IT to manually revoke individual certificates. Combine this with OCSP checking on the RADIUS server to ensure immediate revocation when an account is disabled, providing defence in depth between certificate expiry cycles.

Q4. Your NDES server is returning HTTP 403 Forbidden errors for all SCEP certificate requests. The NDES server is accessible from the internet via Azure AD Application Proxy. What are the two most likely causes of this error and how do you diagnose each one?

提示:Consider both the permissions on the certificate template and the network path between the device and the NDES server.

查看標準答案

The two most likely causes are: first, the Intune Certificate Connector service account lacks the necessary permissions on the CA certificate template. Verify that the service account has 'Read' and 'Enroll' permissions on the template in the CA console. Second, the firewall or Application Proxy is blocking the specific query string parameters used by SCEP. Check firewall and Application Proxy logs for requests containing parameters such as '?operation=GetCACaps' or '?operation=PKIOperation'. These are standard SCEP operations that must be permitted. If the Application Proxy is stripping query strings, adjust the pre-authentication settings to allow pass-through for the NDES URL path.