Passer au contenu principal

Comment configurer SCEP pour un BYOD sécurisé et l'authentification réseau 802.1X

Ce guide fournit une référence technique complète pour configurer SCEP afin de déployer une authentification réseau 802.1X basée sur des certificats. Il couvre la transition architecturale des mots de passe partagés vers EAP-TLS, l'intégration de la gestion des appareils mobiles (MDM) et une segmentation réseau stricte pour un accès BYOD sécurisé dans les environnements d'entreprise.

📖 4 min de lecture📝 888 mots🔧 2 exemples concrets3 questions d'entraînement📚 8 définitions clés

Écouter ce guide

Voir la transcription du podcast
Hello, and welcome to this technical briefing from Purple. I'm your host, and today we're getting into the detail on SCEP - the Simple Certificate Enrollment Protocol - and how to configure it correctly for secure BYOD and 802.1X network authentication. If you're an IT manager, a network architect, or a CTO responsible for WiFi infrastructure across a hotel group, a retail estate, a stadium, or a public-sector organisation, this is directly relevant to you. We're not doing theory today. We're doing architecture and decisions. Let's get into it. [SECTION: Introduction and Context - approximately 1 minute] Here's the problem you're likely facing. You have staff devices, contractor laptops, and personal phones all needing network access. You've probably got a mix of managed and unmanaged devices. And somewhere in your infrastructure, there's still a shared WPA2 pre-shared key that twelve people know, three of whom left the company last year. That's not a security posture. That's a liability. The answer is 802.1X - the IEEE standard for port-based network access control. It ensures no device passes traffic until it's been explicitly authenticated. But 802.1X is just the framework. The real question is what authentication method sits inside it. And for BYOD at scale, the answer is EAP-TLS with certificates provisioned via SCEP. That's what we're unpacking today. [SECTION: Technical Deep-Dive - approximately 5 minutes] Let's start with what SCEP actually does. SCEP - Simple Certificate Enrollment Protocol - was originally published as an Internet Draft by the IETF in 1999, created by VeriSign. It was formalised as RFC 8894. Its job is straightforward: automate the process of issuing X.509 digital certificates to devices at scale, without requiring a human to manually generate and install each one. Here's the four-step flow. Step one: the device connects to a SCEP endpoint - a URL hosted either on-premises via a Windows Server role called NDES, the Network Device Enrollment Service, or via a cloud PKI provider. This URL is the gateway to your Certificate Authority. Step two: the device presents a SCEP challenge - a shared secret that proves it's authorised to request a certificate. In an MDM-managed environment like Microsoft Intune, this challenge is delivered dynamically and uniquely per device, which is far more secure than a static password shared across all devices. Step three: the device generates its own private and public key pair locally. It creates a Certificate Signing Request - a CSR - using the public key and sends that to the SCEP server. Here's the critical security point: the private key never leaves the device. It's generated locally, stored in the device's secure enclave - that's the TPM on Windows or the Secure Enclave on iOS - and is never transmitted. This is why SCEP is the right choice for network authentication, not PKCS, where the CA generates the key centrally and has to push it to the device. Step four: the Certificate Authority validates the CSR, signs it with the CA's private key, and returns the signed X.509 certificate to the device. The device now has a unique cryptographic identity. Now, how does that certificate get used for 802.1X authentication? When the device connects to your WiFi SSID, the access point - whether that's Cisco Meraki, HPE Aruba, Ruckus, Juniper Mist, or Ubiquiti UniFi - acts as the authenticator. It doesn't make the authentication decision itself. It forwards the EAP exchange to your RADIUS server. That could be Microsoft NPS, Cisco ISE, or Aruba ClearPass. The RADIUS server initiates an EAP-TLS handshake. The device presents its SCEP-provisioned client certificate. The RADIUS server validates three things: the certificate chain back to the trusted root CA, the certificate expiry date, and whether the certificate has been revoked - checked against a Certificate Revocation List, or CRL, or via OCSP, the Online Certificate Status Protocol. If all three checks pass, the RADIUS server sends an EAP-Success message, and the access point opens the port. The device is on the network. This is mutual authentication. The device also validates the RADIUS server's certificate. If someone sets up a rogue access point, the device will reject it because the server certificate won't validate against the trusted CA. That's your protection against evil twin attacks. Now let's talk about the deployment sequence in Microsoft Intune, because that's the most common MDM platform we see in enterprise environments. You deploy three Intune configuration profiles, in strict order. First, the Trusted Root Certificate profile - this pushes your root CA certificate to every device so they trust your PKI. Second, the SCEP Certificate profile - this tells devices the SCEP URL, the subject name format, the key usage, and the extended key usage for client authentication. The OID for client authentication is 1.3.6.1.5.5.7.3.2. Third, the WiFi profile - this specifies the SSID, sets the security type to WPA2-Enterprise or WPA3-Enterprise, sets the EAP type to EAP-TLS, and links to the SCEP certificate profile. The order matters. The WiFi profile has a dependency on the SCEP profile, which has a dependency on the Trusted Root profile. Deploy them out of sequence and you'll get errors. One architectural decision you need to make is where to host the NDES server. It needs to be reachable from the internet so devices can enrol before they arrive on-site. The secure way to do this is to publish the NDES URL via Microsoft Entra ID Application Proxy. This avoids opening inbound firewall ports and lets you apply Conditional Access policies to the enrolment flow. For organisations that want to eliminate on-premises infrastructure entirely, cloud PKI providers - Microsoft's own Cloud PKI in Intune, or third-party options - remove the NDES dependency completely. [SECTION: Implementation Recommendations and Pitfalls - approximately 2 minutes] Let me give you the three most common failure modes we see. Failure mode one: group targeting mismatch. This is the most frequent cause of WiFi profile deployment failures in Intune. If your Trusted Root profile is assigned to a User group, your SCEP profile to a Device group, and your WiFi profile to a different User group, Intune cannot resolve the dependency chain. All three profiles must target the exact same Azure AD group - either all Users or all Devices. Pick one and be consistent. Failure mode two: CRL availability. Your RADIUS server checks the CRL to verify certificates haven't been revoked. If the CRL Distribution Point - the CDP URL embedded in the certificate - is unreachable, authentication fails for every device. This is a common cause of mass outages after network changes. Ensure your CDPs are highly available, ideally published to both an internal URL and an external URL for remote devices. Consider OCSP as a more resilient alternative to CRL checking. Failure mode three: not enforcing server certificate validation on clients. This is the single most impactful misconfiguration in 802.1X deployments. If your MDM-deployed WiFi profile doesn't specify the trusted CA and the expected RADIUS server name, devices will connect to any server presenting any certificate. That defeats the entire purpose of EAP-TLS. Always configure server validation in your WiFi profile. [SECTION: Rapid-Fire Q and A - approximately 1 minute] Let's do a few quick questions. Question: Do we need WPA3? Yes. Migrate to WPA3-Enterprise. It mandates Protected Management Frames, which blocks deauthentication attacks. All hardware from Cisco Meraki, HPE Aruba, Ruckus, and Juniper Mist supports it. Question: What about devices that can't support 802.1X - like IoT sensors or legacy printers? Use MAC Authentication Bypass as a fallback, but place those devices on a heavily restricted VLAN with no access to corporate resources. Question: How does Purple fit into this? Purple's Guest WiFi platform handles the visitor and guest access layer - the captive portal, the data capture, the analytics. Your 802.1X and SCEP infrastructure handles staff and managed device access. They run on separate SSIDs and separate VLANs. Purple integrates with Cisco Meraki, HPE Aruba, Ruckus, Juniper Mist, Ubiquiti UniFi, Cambium, Extreme, and Fortinet - so your hardware investment is protected. [SECTION: Summary and Next Steps - approximately 1 minute] To wrap up. SCEP automates certificate issuance at scale. The private key stays on the device - that's the security advantage over PKCS. Deploy via MDM in strict sequence: Trusted Root, then SCEP profile, then WiFi profile, all targeting the same group. Publish NDES via Application Proxy or move to cloud PKI. Enforce CRL or OCSP checking on your RADIUS server. And always configure server certificate validation on client supplicants. If you're still running a shared pre-shared key for staff WiFi, that's the change to make this quarter. The certificate infrastructure is more work upfront, but it eliminates an entire class of credential-based attacks and typically reduces WiFi-related helpdesk tickets by 70 to 80 percent once deployed. For the full technical guide, architecture diagrams, and worked examples, visit purple dot ai. Thanks for listening.

header_image.png

Résumé exécutif

Pour les responsables informatiques et les architectes réseau opérant dans des environnements d'entreprise, la gestion de l'accès WiFi BYOD (Bring Your Own Device) est passée d'une fonctionnalité de confort à un impératif de sécurité critique. S'appuyer sur des clés pré-partagées ou des Captive Portals basiques pour le WiFi du personnel constitue une vulnérabilité de sécurité et un goulot d'étranglement opérationnel. L'architecture réseau moderne exige une authentification 802.1X via EAP-TLS, garantissant que chaque appareil est vérifié par cryptographie avant d'accéder au réseau.

Ce guide fournit un cadre pragmatique et indépendant des fournisseurs pour déployer un WiFi BYOD sécurisé à l'aide du protocole SCEP (Simple Certificate Enrollment Protocol). Nous détaillons les configurations précises requises pour sécuriser la périphérie du réseau d'entreprise moderne, en mettant l'accent sur la mise en œuvre de l'authentification 802.1X, l'exploitation de la gestion des appareils mobiles (MDM) pour la conformité et l'application d'une segmentation réseau stricte. En associant ces contrôles techniques aux objectifs commerciaux, les responsables informatiques peuvent déployer des solutions qui protègent l'intégrité des données tout en maintenant l'efficacité opérationnelle.

Analyse technique approfondie : architecture SCEP et 802.1X

Le fondement d'un WiFi BYOD sécurisé repose sur l'abandon des mots de passe partagés au profit d'un contrôle d'accès basé sur l'identité.

La norme 802.1X et EAP-TLS

La norme IEEE 802.1X est la référence non négociable pour la sécurité WiFi des entreprises. Elle fournit un contrôle d'accès réseau basé sur les ports (PNAC), garantissant qu'un appareil ne peut pas communiquer sur le réseau tant qu'il n'a pas été explicitement authentifié. Pour les déploiements BYOD, EAP-TLS (Transport Layer Security) est la référence absolue. EAP-TLS s'appuie sur des certificats X.509 côté client, éliminant ainsi le risque de vol d'identifiants et d'attaques de l'homme du milieu.

SCEP (Simple Certificate Enrollment Protocol)

Pour déployer ces certificats à grande échelle, SCEP automatise l'émission et la gestion des certificats au sein d'une infrastructure à clés publiques (PKI). Dans un flux de travail SCEP, le service MDM demande au terminal de générer sa propre paire de clés privée/publique. L'appareil crée ensuite une demande de signature de certificat (CSR) et l'envoie via un serveur NDES (Network Device Enrollment Service) à votre autorité de certification (CA).

L'avantage de sécurité critique de SCEP est que la clé privée ne quitte jamais l'appareil. Elle est générée localement et stockée dans l'enclave sécurisée de l'appareil (comme le TPM sur Windows ou la Secure Enclave sur iOS).

scep_architecture_overview.png

Guide de mise en œuvre : la séquence de déploiement

La configuration réussie de SCEP pour le 802.1X nécessite le respect strict d'une séquence de déploiement spécifique. Les dépendances de profil Intune imposent que la confiance soit établie avant que l'authentification puisse être configurée.

Étape 1 : Déployer le profil de certificat racine de confiance

Avant qu'un appareil puisse demander un certificat client ou faire confiance à votre serveur RADIUS, il doit faire confiance à l'autorité de certification émettrice. Exportez votre certificat CA racine sous forme de fichier .cer et déployez ce profil sur vos groupes d'appareils cibles.

Étape 2 : Configurer le profil de certificat SCEP

Configurez le profil SCEP pour indiquer aux appareils comment obtenir leur certificat client. Liez ce profil au profil de certificat racine de confiance créé à l'étape 1 et fournissez l'URL externe de votre serveur NDES.

Étape 3 : Déployer le profil WiFi 802.1X

La dernière étape consiste à pousser la configuration WiFi qui lie les certificats au SSID du réseau. Définissez le type de sécurité sur WPA2-Enterprise ou WPA3-Enterprise, définissez le type EAP sur EAP-TLS, et sélectionnez le profil de certificat SCEP créé à l'étape 2 comme certificat d'authentification client.

scep_vs_pkcs_comparison.png

Bonnes pratiques et segmentation réseau

Lors de la mise en œuvre du déploiement de certificats SCEP, respectez les bonnes pratiques indépendantes des fournisseurs suivantes pour garantir la conformité et la fiabilité.

Architecture stricte à trois zones

Un réseau plat est un réseau compromis. Mettez en œuvre une segmentation stricte :

  1. Zone d'entreprise : Appareils gérés appartenant à l'entreprise avec un accès complet aux ressources internes.
  2. Zone BYOD : Appareils appartenant aux employés avec accès Internet et accès restreint à des applications internes spécifiques.
  3. Zone Invités : Appareils des visiteurs avec accès Internet uniquement et isolation des clients activée.

Emplacement du serveur NDES

Publiez l'URL NDES à l'aide du proxy d'application Microsoft Entra ID. Cela fournit un accès à distance sécurisé sans ouvrir de ports de pare-feu entrants et vous permet d'appliquer des politiques d'accès conditionnel au flux d'enregistrement.

WPA3-Enterprise et OpenRoaming

Passez de WPA2 à WPA3-Enterprise pour bénéficier des trames de gestion protégées (PMF) obligatoires. Pour une connectivité fluide et sécurisée sur l'ensemble des sites, envisagez de mettre en œuvre OpenRoaming. Purple agit en tant que fournisseur d'identité gratuit pour OpenRoaming sous la licence Connect, simplifiant l'accès sécurisé sans intégration manuelle.

Dépannage et atténuation des risques

Même avec une planification méticuleuse, le déploiement de certificats peut rencontrer des problèmes.

Incohérences de ciblage de groupe

Si le profil SCEP est attribué à un groupe d'utilisateurs, mais que le profil WiFi est attribué à un groupe d'appareils, le MDM ne peut pas résoudre la dépendance. Assurez-vous que les profils de racine de confiance, SCEP et WiFi sont tous déployés sur l'exagir au sein du même groupe.

Vérification RADIUS et CRL

Si le certificat d'un appareil est révoqué, le serveur RADIUS doit en être informé immédiatement. Configurez votre serveur NPS (Network Policy Server) ou votre serveur RADIUS pour imposer une vérification stricte de la liste de révocation de certificats (CRL). Assurez-vous que vos points de distribution CRL (CDP) sont hautement disponibles.

ROI et impact sur l'activité

La transition vers le déploiement de certificats SCEP 802.1X offre des rendements mesurables en matière de sécurité et d'opérations.

  1. Réduction des tickets d'assistance : Le WiFi basé sur mot de passe génère un volume important de tickets de support. L'authentification par certificat est invisible pour l'utilisateur, réduisant généralement de 70 % le volume de tickets d'assistance liés au WiFi.
  2. Posture de sécurité renforcée : L'EAP-TLS élimine le risque de vol d'identifiants. Cela est essentiel pour la conformité avec des cadres tels que PCI DSS et GDPR, en particulier dans les secteurs de la santé et de la vente au détail.
  3. Intégration fluide : L'intégration de SCEP aux flux de travail MDM existants garantit une expérience de provisionnement unifiée et sans contact (zero-touch) dès le premier jour.

Pour aller plus loin sur des sujets connexes, consultez WiFi invité , Analyses WiFi , et notre guide Sécurité WiFi d'entreprise : un guide complet pour 2026 .

Définitions clés

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.

Exemples concrets

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.

Commentaire de l'examinateur : This approach works because it eliminates the shared password entirely. By using SCEP, the private key remains on the employee's personal device, satisfying privacy concerns while cryptographically verifying identity to the RADIUS server.

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.

Commentaire de l'examinateur : This highlights a critical dependency in certificate-based authentication. While EAP-TLS provides superior security, it requires the underlying PKI infrastructure to be highly available. If the RADIUS server cannot check the CRL, it must fail closed to maintain security.

Questions d'entraînement

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?

Conseil : Consider how Intune resolves dependencies between profiles.

Voir la réponse type

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?

Conseil : Think about where the private key is generated.

Voir la réponse type

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?

Conseil : What does the client check during mutual authentication?

Voir la réponse type

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.

Continuer la lecture de cette série

Mesurer le ROI commercial du WiFi invité et des analyses de localisation

Ce guide fournit un cadre technique et opérationnel pour mesurer le ROI commercial du WiFi invité et des analyses de localisation. Il détaille comment calculer la valeur des investissements matériels grâce à l'augmentation du temps de séjour, à l'efficacité opérationnelle et à la capture de données de première partie dans les secteurs du commerce de détail, de l'hôtellerie et des lieux publics. Les responsables informatiques, les architectes réseau, les CTO et les directeurs d'exploitation de sites y trouveront des cadres de mesure concrets, des études de cas réelles et des conseils de conformité pour justifier et maximiser leur investissement WiFi.

Lire le guide →

Conformité GDPR pour le WiFi : comment collecter en toute sécurité les données des invités via des Captive Portals

Ce guide technique offre aux responsables informatiques, architectes réseau et directeurs d'exploitation de sites un cadre pratique pour assurer la conformité GDPR de leurs déploiements WiFi invités. Il explique comment les captive portals collectent les données personnelles, comment obtenir un consentement explicite et comment mettre en œuvre des politiques automatisées de rétention des données afin de protéger votre organisation contre des amendes réglementaires pouvant atteindre 4 % du chiffre d'affaires mondial. La plateforme WiFi invités de Purple s'aligne directement sur chaque exigence de conformité, de l'enregistrement du consentement à la suppression des données en un clic.

Lire le guide →

Comment configurer SCEP pour un WiFi d'entreprise sécurisé et le provisionnement BYOD

Ce guide technique explique comment configurer le protocole SCEP (Simple Certificate Enrollment Protocol) pour automatiser l'authentification WiFi d'entreprise 802.1X sécurisée et le provisionnement BYOD. Il fournit aux architectes réseau et aux responsables informatiques une séquence de déploiement définitive, des scénarios de mise en œuvre réels issus de l'hôtellerie et du commerce de détail, ainsi que des stratégies d'atténuation des risques pour éliminer les clés pré-partagées vulnérables et le MAC Authentication Bypass des réseaux d'entreprise.

Lire le guide →