Zum Hauptinhalt springen

How to Configure SCEP for Secure BYOD and 802.1X Network Authentication

Dieser Leitfaden bietet eine umfassende technische Referenz für die Konfiguration von SCEP zur Bereitstellung einer zertifikatsbasierten 802.1X-Netzwerkauthentifizierung. Er behandelt den architektonischen Wandel von gemeinsam genutzten Passwörtern zu EAP-TLS, die Integration von Mobile Device Management und eine strikte Netzwerksegmentierung für den sicheren BYOD-Zugriff in Unternehmensumgebungen.

📖 4 Min. Lesezeit📝 888 Wörter🔧 2 ausgearbeitete Beispiele3 Übungsfragen📚 8 Schlüsseldefinitionen

Diesen Leitfaden anhören

Podcast-Transkript ansehen
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

Executive Summary

Für IT-Manager und Netzwerkarchitekten in Unternehmensumgebungen hat sich die Verwaltung des BYOD-WiFi-Zugangs (Bring Your Own Device) von einer Komfortfunktion zu einer kritischen Sicherheitsnotwendigkeit gewandelt. Sich bei der WiFi-Nutzung von Mitarbeitern auf Pre-Shared Keys oder einfache Captive Portals zu verlassen, stellt ein Sicherheitsrisiko und einen betrieblichen Engpass dar. Moderne Netzwerkarchitekturen erfordern eine 802.1X-Authentifizierung mittels EAP-TLS, um sicherzustellen, dass jedes Gerät kryptografisch verifiziert wird, bevor es auf das Netzwerk zugreift.

Dieser Leitfaden bietet einen pragmatischen, herstellerneutralen Rahmen für die Bereitstellung von sicherem BYOD-WiFi unter Verwendung des Simple Certificate Enrollment Protocol (SCEP). Wir beschreiben die präzisen Konfigurationen, die zur Absicherung des modernen Enterprise Edge erforderlich sind, und konzentrieren uns dabei auf die Implementierung der 802.1X-Authentifizierung, die Nutzung von Mobile Device Management (MDM) für Compliance und die Durchsetzung einer strikten Netzwerksegmentierung. Durch die Verknüpfung dieser technischen Kontrollen mit geschäftlichen Zielen können IT-Verantwortliche Lösungen bereitstellen, die die Datenintegrität schützen und gleichzeitig die betriebliche Effizienz aufrechterhalten.

Technical Deep-Dive: SCEP- und 802.1X-Architektur

Die Grundlage für sicheres BYOD-WiFi liegt im Verzicht auf gemeinsam genutzte Passwörter zugunsten einer identitätsbasierten Zugriffskontrolle.

Der 802.1X-Standard und EAP-TLS

Der Standard IEEE 802.1X ist die unverzichtbare Basis für die WiFi-Sicherheit in Unternehmen. Er bietet eine portbasierte Netzwerkzugriffskontrolle (PNAC) und stellt sicher, dass ein Gerät erst dann im Netzwerk kommunizieren kann, wenn es explizit authentifiziert wurde. Für BYOD-Bereitstellungen ist EAP-TLS (Transport Layer Security) der Goldstandard. EAP-TLS basiert auf clientseitigen X.509-Zertifikaten, wodurch das Risiko von Anmeldedatendiebstahl und Man-in-the-Middle-Angriffen eliminiert wird.

SCEP (Simple Certificate Enrollment Protocol)

Um diese Zertifikate in großem Umfang bereitzustellen, automatisiert SCEP die Ausstellung und Verwaltung von Zertifikaten innerhalb einer Public-Key-Infrastruktur (PKI). In einem SCEP-Workflow weist der MDM-Dienst den Endpunkt an, sein eigenes privates/öffentliches Schlüsselpaar zu generieren. Das Gerät erstellt daraufhin eine Zertifikatsignierungsanforderung (CSR) und sendet diese über einen NDES-Server (Network Device Enrollment Service) an Ihre Zertifizierungsstelle (CA).

Der entscheidende Sicherheitsvorteil von SCEP besteht darin, dass der private Schlüssel das Gerät niemals verlässt. Er wird lokal generiert und in der sicheren Enklave des Geräts gespeichert (z. B. im TPM unter Windows oder in der Secure Enclave unter iOS).

scep_architecture_overview.png

Implementierungsleitfaden: Die Bereitstellungsreihenfolge

Die erfolgreiche Konfiguration von SCEP für 802.1X erfordert die strikte Einhaltung einer bestimmten Bereitstellungsreihenfolge. Die Abhängigkeiten von Intune-Profilen schreiben vor, dass die Vertrauensstellung eingerichtet werden muss, bevor die Authentifizierung konfiguriert werden kann.

Schritt 1: Bereitstellung des vertrauenswürdigen Stammzertifikatsprofils

Bevor ein Gerät ein Client-Zertifikat anfordern oder Ihrem RADIUS-Server vertrauen kann, muss es der ausstellenden Zertifizierungsstelle vertrauen. Exportieren Sie Ihr Root-CA-Zertifikat als .cer-Datei und stellen Sie dieses Profil für Ihre Zielgerätegruppen bereit.

Schritt 2: Konfiguration des SCEP-Zertifikatsprofils

Konfigurieren Sie das SCEP-Profil, um Geräten Anweisungen zum Erhalt ihres Client-Zertifikats zu geben. Verknüpfen Sie dieses Profil mit dem in Schritt 1 erstellten vertrauenswürdigen Stammzertifikatsprofil und geben Sie die externe URL Ihres NDES-Servers an.

Schritt 3: Bereitstellung des 802.1X-WiFi-Profils

Der letzte Schritt besteht darin, die WiFi-Konfiguration bereitzustellen, die die Zertifikate mit der Netzwerk-SSID verknüpft. Stellen Sie den Sicherheitstyp auf WPA2-Enterprise oder WPA3-Enterprise ein, setzen Sie den EAP-Typ auf EAP-TLS und wählen Sie das in Schritt 2 erstellte SCEP-Zertifikatsprofil als Client-Authentifizierungszertifikat aus.

scep_vs_pkcs_comparison.png

Best Practices und Netzwerksegmentierung

Halten Sie sich bei der Implementierung der SCEP-Zertifikatsbereitstellung an die folgenden herstellerneutralen Best Practices, um Compliance und Zuverlässigkeit zu gewährleisten.

Strikte Drei-Zonen-Architektur

Ein flaches Netzwerk ist ein gefährdetes Netzwerk. Implementieren Sie eine strikte Segmentierung:

  1. Corporate-Zone: Verwaltete, firmeneigene Geräte mit vollem Zugriff auf interne Ressourcen.
  2. BYOD-Zone: Im Besitz von Mitarbeitern befindliche Geräte mit Internetzugang und eingeschränktem Zugriff auf bestimmte interne Anwendungen.
  3. Gast-Zone: Besuchergeräte mit reinem Internetzugang und aktivierter Client-Isolierung.

Platzierung des NDES-Servers

Veröffentlichen Sie die NDES-URL über den Microsoft Entra ID-Anwendungsproxy. Dies ermöglicht einen sicheren Remote-Zugriff, ohne eingehende Firewall-Ports zu öffnen, und erlaubt es Ihnen, Richtlinien für bedingten Zugriff auf den Registrierungsablauf anzuwenden.

WPA3-Enterprise und OpenRoaming

Wechseln Sie von WPA2 zu WPA3-Enterprise, um von den obligatorischen Protected Management Frames (PMF) zu profitieren. Für eine nahtlose, sichere Konnektivität an verschiedenen Standorten sollten Sie die Implementierung von OpenRoaming in Betracht ziehen. Purple fungiert unter der Connect-Lizenz als kostenloser Identitätsanbieter für OpenRoaming und vereinfacht den sicheren Zugriff ohne manuelles Onboarding.

Fehlerbehebung & Risikominimierung

Selbst bei sorgfältiger Planung kann es bei der Zertifikatsbereitstellung zu Problemen kommen.

Diskrepanzen bei der Gruppenzuweisung

Wenn das SCEP-Profil einer Benutzergruppe, das WiFi-Profil jedoch einer Gerätegruppe zugewiesen ist, kann das MDM die Abhängigkeit nicht auflösen. Stellen Sie sicher, dass die Profile für vertrauenswürdige Stammzertifikate, SCEP und WiFi alle für die exin derselben Gruppe agieren.

RADIUS- und CRL-Prüfung

Wenn ein Gerätezertifikat gesperrt wird, muss der RADIUS-Server dies sofort erfahren. Konfigurieren Sie Ihren Network Policy Server (NPS) oder RADIUS-Server so, dass eine strenge Prüfung der Zertifikatssperrliste (Certificate Revocation List, CRL) erzwungen wird. Stellen Sie sicher, dass Ihre CRL-Verteilungspunkte (CDPs) hochverfügbar sind.

ROI & geschäftliche Auswirkungen

Der Übergang zur SCEP-802.1X-Zertifikatsbereitstellung liefert messbare Erträge in den Bereichen Sicherheit und Betrieb.

  1. Reduzierung von Helpdesk-Tickets: Passwortbasiertes WiFi verursacht ein erhebliches Aufkommen an Support-Tickets. Die zertifikatsbasierte Authentifizierung ist für den Benutzer unsichtbar und reduziert das WiFi-bezogene Helpdesk-Volumen in der Regel um 70 %.
  2. Verbesserte Sicherheitslage: EAP-TLS eliminiert das Risiko des Diebstahls von Anmeldedaten. Dies ist entscheidend für die Einhaltung von Frameworks wie PCI DSS und GDPR, insbesondere im Gesundheitswesen und im Einzelhandel.
  3. Nahtloses Onboarding: Die Integration von SCEP in bestehende MDM-Workflows sorgt vom ersten Tag an für eine einheitliche, berührungslose Bereitstellung (Zero-Touch-Provisioning).

Weitere Informationen zu verwandten Themen finden Sie unter Guest WiFi , WiFi Analytics und in unserem Leitfaden Enterprise WiFi Security: Ein vollständiger Leitfaden für 2026 .

Schlüsseldefinitionen

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.

Ausgearbeitete Beispiele

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.

Kommentar des Prüfers: 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.

Kommentar des Prüfers: 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.

Übungsfragen

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?

Hinweis: Consider how Intune resolves dependencies between profiles.

Musterlösung anzeigen

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?

Hinweis: Think about where the private key is generated.

Musterlösung anzeigen

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?

Hinweis: What does the client check during mutual authentication?

Musterlösung anzeigen

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.

Weiterlesen in dieser Reihe

Einrichtung eines Captive Portals auf Starlink: Ein Leitfaden für abgelegene und maritime Standorte

Dieser Leitfaden beschreibt detailliert, wie Sie die native Starlink-Hardware umgehen und ein Cloud-gesteuertes Captive Portal mithilfe von Enterprise-Routing-Geräten integrieren. Sie erfahren, wie Sie die CGNAT-Einschränkung überwinden, eine VLAN-Segmentierung erzwingen, Bandbreitenbeschränkungen von Satelliten verwalten und die Einhaltung gesetzlicher Vorschriften sicherstellen.

Leitfaden lesen →

Hotel Guest WiFi Management: Integrating PMS, Portals, and Brand Standards

Dieser technische Leitfaden beschreibt detailliert die Architektur von Hotel-WiFi-Netzwerken der Enterprise-Klasse, mit Schwerpunkt auf VLAN-Segmentierung, PMS-Integration für automatisiertes Sitzungsmanagement und Captive Portal-Optimierung für eine GDPR-konforme Datenerfassung.

Leitfaden lesen →

Captive Portal Best Practices: Designing for High Conversion and Compliance

Dieser technische Leitfaden bietet IT-Managern, Netzwerkarchitekten und Betriebsleitern von Veranstaltungsorten eine vollständige Blaupause für die Bereitstellung von Captive Portals, die Netzwerksicherheit mit hoher User-Conversion in Einklang bringen. Er deckt die gesamte Architektur ab – von der VLAN-Segmentierung und RADIUS-Authentifizierung bis hin zu GDPR-konformem Consent-Design und der Auswahl von Authentifizierungsmethoden. Basierend auf der operativen Erfahrung von Purple in über 80.000 Standorten und 440 Millionen Logins im Jahr 2024 basiert jede Empfehlung auf realen Bereitstellungsdaten.

Leitfaden lesen →