如何設定 SCEP 以實現安全的 BYOD 與 802.1X 網路驗證
本指南提供設定 SCEP 以部署憑證型 802.1X 網路驗證的完整技術參考。內容涵蓋從共享密碼到 EAP-TLS 的架構轉變、行動裝置管理(MDM)整合,以及在企業環境中實現安全 BYOD 存取的嚴格網路分段。
收聽此指南
查看播客逐字稿

執行摘要
對於在企業環境中運作的 IT 經理和網路架構師而言,管理 BYOD(攜帶自有裝置)WiFi 存取已從一項便利功能轉變為關鍵的安全必要條件。依賴預共用金鑰或基本的 Captive Portal 來提供員工 WiFi,既是安全漏洞,也是營運瓶頸。現代網路架構要求使用 EAP-TLS 進行 802.1X 驗證,以確保每個裝置在存取網路之前都經過密碼學驗證。
本指南提供了一個實用且不限廠商的框架,用於使用簡單憑證註冊協定(SCEP)部署安全的 BYOD WiFi。我們詳細介紹了保護現代企業邊緣所需的精確設定,重點在於實作 802.1X 驗證、利用行動裝置管理(MDM)確保合規性,以及執行嚴格的網路分段。藉由將這些技術控制措施與業務成果相結合,IT 主管可以部署在維護營運效率的同時保護資料完整性的解決方案。
技術深探:SCEP 與 802.1X 架構
安全 BYOD WiFi 的基礎在於捨棄共享密碼,改用基於身分的存取控制。
802.1X 標準與 EAP-TLS
IEEE 802.1X 標準是企業 WiFi 安全不容妥協的基準。它提供基於連接埠的網路存取控制(PNAC),確保裝置在獲得明確驗證之前無法在網路上進行通訊。對於 BYOD 部署,EAP-TLS(傳輸層安全性協定)是黃金標準。EAP-TLS 依賴用戶端 X.509 憑證,從而消除了認證資訊遭竊和中間人攻擊的風險。
SCEP(簡單憑證註冊協定)
為了大規模部署這些憑證,SCEP 在公開金鑰基礎建設(PKI)中自動執行憑證的核發與管理。在 SCEP 工作流程中,MDM 服務會指示端點產生自己的私鑰/公鑰對。接著,裝置會建立憑證簽署要求(CSR),並透過網路裝置註冊服務(NDES)伺服器將其傳送至您的憑證授權單位(CA)。
SCEP 的關鍵安全優勢在於私鑰永遠不會離開裝置。它在本機產生,並儲存在裝置的安全隔離區中(例如 Windows 上的 TPM 或 iOS 上的 Secure Enclave)。

實作指南:部署順序
成功為 802.1X 設定 SCEP 需要嚴格遵守特定的部署順序。Intune 設定檔的相依性規定,在設定驗證之前必須先建立信任關係。
步驟 1:部署受信任的根憑證設定檔
在任何裝置可以要求用戶端憑證或信任您的 RADIUS 伺服器之前,它必須先信任核發的憑證授權單位。將您的根 CA 憑證匯出為 .cer 檔案,並將此設定檔部署到您的目標裝置群組。
步驟 2:設定 SCEP 憑證設定檔
設定 SCEP 設定檔以指示裝置如何取得其用戶端憑證。將此設定檔連結到步驟 1 中建立的受信任根憑證設定檔,並提供您 NDES 伺服器的外部 URL。
步驟 3:部署 802.1X WiFi 設定檔
最後一步是推送將憑證與網路 SSID 綁定的 WiFi 設定。將安全性類型設定為 WPA2-Enterprise 或 WPA3-Enterprise,將 EAP 類型設定為 EAP-TLS,然後選擇在步驟 2 中建立的 SCEP 憑證設定檔作為用戶端驗證憑證。

最佳實踐與網路分段
實作 SCEP 憑證部署時,請遵循以下不限廠商的最佳實踐,以確保合規性與可靠性。
嚴格的三區架構
單一平面網路是容易受到攻擊的網路。請實施嚴格的分段:
- 企業區域:受管理且公司擁有的裝置,具有內部資源的完整存取權限。
- BYOD 區域:員工擁有的裝置,具有網際網路存取權限,且對特定內部應用程式的存取受限。
- 訪客區域:僅具備網際網路存取權限且已啟用用戶端隔離的訪客裝置。
NDES 伺服器配置
使用 Microsoft Entra ID 應用程式 Proxy 發佈 NDES URL。這可在不開啟輸入防火牆連接埠的情況下提供安全的遠端存取,並允許您將條件式存取原則套用至註冊流程。
WPA3-Enterprise 與 OpenRoaming
從 WPA2 過渡到 WPA3-Enterprise,以受益於強制性的保護管理框架(PMF)。為了在不同場域之間實現無縫、安全的連線,請考慮實作 OpenRoaming。Purple 在 Connect 授權下可作為 OpenRoaming 的免費身分識別提供者,無需手動上線即可簡化安全存取。
疑難排解與風險緩釋
即使經過精心規劃,憑證部署仍可能會遇到問題。
群組目標設定不匹配
如果 SCEP 設定檔指派給使用者群組,但 WiFi 設定檔指派給裝置群組,則 MDM 將無法解析該相依性。確保受信任的根憑證、SCEP 和 WiFi 設定檔都部署到 ex在同一個群組中運作。
RADIUS 與 CRL 檢查
如果裝置憑證遭撤銷,RADIUS 伺服器必須立即得知。請設定您的網路原則伺服器 (NPS) 或 RADIUS 伺服器,以強制執行嚴格的憑證撤銷清單 (CRL) 檢查。確保您的 CRL 發佈點 (CDP) 具備高可用性。
ROI 與企業影響
過渡到 SCEP 802.1X 憑證部署,可在安全性和營運方面帶來可衡量的回報。
- 減少技術支援工單:使用密碼的 WiFi 會產生大量的支援工單。基於憑證的驗證對使用者而言是無感的,通常可減少 70% 與 WiFi 相關的技術支援工單量。
- 強化安全態勢:EAP-TLS 消除了憑證竊取的風險。這對於符合 PCI DSS 和 GDPR 等框架至關重要,特別是在醫療保健和零售環境中。
- 無縫上網引導:將 SCEP 與現有的 MDM 工作流程整合,可確保從第一天起就提供統一、零接觸的配置體驗。
如需閱讀相關主題的更多資訊,請參閱 訪客 WiFi 、 WiFi 分析 以及我們的 企業 WiFi 安全:2026 年完整指南 。
關鍵定義
SCEP (Simple Certificate Enrollment Protocol)
A protocol that allows devices to request digital certificates from a Certificate Authority, where the private key is generated and stored securely on the device itself.
The recommended method for deploying WiFi authentication certificates due to its high security and scalability.
EAP-TLS (Extensible Authentication Protocol - Transport Layer Security)
The most secure 802.1X authentication method, requiring both the server and the client to present valid digital certificates.
The target authentication protocol that the MDM WiFi and certificate profiles are designed to enable.
802.1X
An IEEE standard for port-based Network Access Control (PNAC) that provides an authentication mechanism to devices wishing to attach to a LAN or WLAN.
The foundational framework that prevents unauthenticated devices from passing traffic on the enterprise network.
NDES (Network Device Enrollment Service)
A Microsoft Windows Server role that acts as a bridge, allowing devices without domain credentials to obtain certificates via SCEP.
A required infrastructure component when implementing on-premises SCEP certificate deployment.
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.
Often used for S/MIME email encryption, but less ideal for WiFi due to the network transmission of the private key.
CRL (Certificate Revocation List)
A list published by the Certificate Authority containing the serial numbers of certificates that have been revoked prior to their scheduled expiration date.
RADIUS servers must check this list to ensure compromised or lost devices are denied network access.
RADIUS (Remote Authentication Dial-In User Service)
A networking protocol that provides centralized Authentication, Authorization, and Accounting (AAA) management for users who connect and use a network service.
The server that validates the client certificate during the EAP-TLS handshake.
VLAN (Virtual Local Area Network)
A logical subnetwork that groups a collection of devices from different physical LANs.
Used to enforce strict network segmentation between Corporate, BYOD, and Guest devices.
範例
A 400-room hotel needs to secure its staff WiFi network for 150 employees bringing their own smartphones, replacing an old WPA2-PSK network.
The hotel deploys a cloud-based MDM (like Microsoft Intune). They broadcast a provisioning SSID that directs users to a captive portal. The portal prompts users to enroll their device in the MDM. Once enrolled, the MDM pushes a Trusted Root profile, a SCEP profile, and an 802.1X WiFi profile. The device silently generates a key pair, requests a certificate via the SCEP URL, and connects to the secure BYOD SSID using EAP-TLS. The provisioning SSID is then forgotten.
A retail chain with 50 locations is experiencing mass authentication failures after migrating from PEAP to EAP-TLS using SCEP.
The IT team audits the RADIUS server logs and discovers that the CRL Distribution Point (CDP) is unreachable from the RADIUS server. Because strict CRL checking is enabled, the RADIUS server rejects all connection attempts when it cannot verify the revocation status. The team resolves this by publishing the CRL to a highly available internal web server and updating the CDP extension in the CA template.
練習題
Q1. You are deploying Intune WiFi profiles for 802.1X. The devices receive the SCEP certificate successfully, but the WiFi profile fails to apply. What is the most likely cause?
提示:Consider how Intune resolves dependencies between profiles.
查看標準答案
The most likely cause is a group targeting mismatch. The Trusted Root, SCEP, and WiFi profiles must all be assigned to the exact same Azure AD group (either all Users or all Devices). If assignments differ, Intune cannot resolve the dependency chain.
Q2. A hospital IT director wants to use PKCS instead of SCEP for their BYOD WiFi deployment because it requires less on-premises infrastructure. What security risk should you highlight?
提示:Think about where the private key is generated.
查看標準答案
You should highlight that with PKCS, the private key is generated centrally by the CA and transmitted over the network to the device. For network authentication, SCEP is strongly recommended because the private key is generated locally on the device and never leaves the secure enclave.
Q3. During an EAP-TLS handshake, the client device rejects the connection to the RADIUS server, preventing a potential evil twin attack. Which configuration setting enables this protection?
提示:What does the client check during mutual authentication?
查看標準答案
Enforcing server certificate validation on the client supplicant enables this protection. The MDM-deployed WiFi profile must specify the trusted CA and the expected RADIUS server name, ensuring the device only connects to the legitimate corporate RADIUS server.
繼續閱讀本系列
在企業級網路控制器上設定 Captive Portal 重新導向
本權威指南詳細介紹了在企業級網路控制器上實作 Captive Portal 重新導向所需的技術架構與特定廠商設定步驟。它為 IT 團隊提供了關於設定圍牆花園(walled gardens)、整合 RADIUS 驗證以及確保符合 GDPR 和 PCI DSS 規範的實用指導。
企業級訪客 WiFi 設定指南:VLAN 區隔、安全性與 Captive Portals
本指南為企業級訪客 WiFi 部署提供技術藍圖,重點關注 VLAN 區隔、安全協定和 Captive Portal 架構。其中詳細介紹了如何在複雜的場域中安全地隔離流量、強制執行加密標準並收集第一方數據。
整合 WeChat WiFi 登入:透過社群 Captive Portals 捕捉互動參與
本指南詳細介紹如何將 WeChat WiFi 驗證整合至企業級 Captive Portals 中,內容涵蓋 OAuth 2.0 架構、RADIUS 整合,以及在 Cisco Meraki、HPE Aruba 和 Juniper Mist 硬體上的逐步部署步驟。它為 IT 經理和網路架構師提供了一個實用框架,在吸引 WeChat 13 億用戶的同時捕捉第一方數據,並透過關注公眾號和登入後重新導向來推動互動參與。