Pular para o conteúdo principal

Guia de Configuração de SCEP Corporativo: Autenticação Wi-Fi Baseada em Certificado para Ensino Superior e Grandes Redes

Este guia fornece um modelo técnico abrangente para implantar a autenticação WiFi baseada em certificado usando SCEP. Ele aborda a transição arquitetônica de chaves pré-compartilhadas para EAP-TLS, sequências de implantação em plataformas MDM e estratégias críticas de mitigação de riscos para redes de grande escala.

📖 5 min de leitura📝 1,151 palavras🔧 2 exemplos práticos3 questões práticas📚 8 definições principais

Ouça este guia

Ver transcrição do podcast
Enterprise SCEP Setup Guide: Certificate-Based WiFi Authentication for Higher Education and Large Networks A Purple Technical Briefing - Podcast Script (approximately 10 minutes) --- INTRODUCTION AND CONTEXT - approximately 1 minute Welcome to the Purple Technical Briefing series. I am talking today about something that lands in a lot of IT inboxes but rarely gets a straight answer: how do you actually deploy certificate-based WiFi authentication at scale, using SCEP, across a large network - whether that is a university campus, a multi-site hotel group, or a large public sector estate? We are going to cover the full picture. What SCEP actually does, how it fits into an 802.1X architecture, the deployment sequence that most teams get wrong, two real-world implementation scenarios, and the pitfalls that will cost you a weekend of your life if you do not plan for them. This is a consultant briefing, not a tutorial. I am assuming you know what a RADIUS server is and you have probably already decided you need to move away from pre-shared keys. What you need now is the implementation map. Let us get into it. --- TECHNICAL DEEP-DIVE - approximately 5 minutes So, first principles. SCEP stands for Simple Certificate Enrollment Protocol. It was formalised by the IETF as RFC 8894 in 2020, though it had been in widespread enterprise use for well over a decade before that. Its job is straightforward: automate the process of getting a digital certificate onto a managed device without requiring a human to touch each machine. In the context of WiFi authentication, SCEP is the delivery mechanism. The actual authentication protocol you are targeting is EAP-TLS - Extensible Authentication Protocol with Transport Layer Security - which sits inside the 802.1X framework. EAP-TLS is widely regarded as the most secure authentication method for enterprise wireless networks because it requires both the client device and the RADIUS server to present valid certificates. Neither side trusts the other without cryptographic proof. That mutual authentication is what protects you against evil twin attacks - where an attacker spins up a rogue access point to harvest credentials. Here is how the full chain works. A managed device - a student laptop, a staff phone, a hotel point-of-sale terminal - needs to join the corporate wireless network. Your MDM platform, which might be Microsoft Intune or Jamf, pushes a SCEP payload to that device. The payload contains two things: the SCEP URL, which points to your NDES server or cloud SCEP gateway, and a challenge password or shared secret. The device generates its own public and private key pair locally. This is critical. The private key never leaves the device. It is generated on-device, stored in the secure enclave or TPM, and is never transmitted across the network. The device then creates a Certificate Signing Request - a CSR - and sends it to the SCEP gateway. The gateway validates the challenge, forwards the CSR to your Certificate Authority, and the CA signs it and returns the public certificate to the device. From that point on, when the device connects to your WiFi SSID, it presents that certificate to the RADIUS server. The RADIUS server validates the certificate against your CA's trust chain, checks the Certificate Revocation List to confirm the cert has not been revoked, and if everything checks out, sends an accept message to the access point. The device is on the network. The whole process is invisible to the user. Now, let us talk about where SCEP sits relative to the alternative, which is PKCS. PKCS - Public Key Cryptography Standards - is the other certificate delivery method supported by platforms like Intune. With PKCS, the CA generates both the public and private key centrally, and the certificate connector pushes the key pair down to the device. That means the private key travels over the network, which introduces a theoretical attack surface. PKCS is fine for use cases like S/MIME email encryption where key escrow is actually desirable. For WiFi authentication, SCEP is the right choice. The private key stays on the device, full stop. Now, the hardware layer. SCEP and EAP-TLS are vendor-neutral standards, which means they work across Cisco Meraki, HPE Aruba, Ruckus, Juniper Mist, Ubiquiti UniFi, Cambium, Extreme, and Fortinet access points. Your RADIUS configuration - whether that is Windows NPS, FreeRADIUS, or a cloud RADIUS service - is where you define the certificate validation policy and, critically, where you configure dynamic VLAN assignment. Dynamic VLANs are how you segment the network by identity. A student device gets VLAN 20 - internet access only. A faculty device gets VLAN 10 - access to internal research systems. A facilities management device gets VLAN 30 - access to building management systems. All of this is driven by the certificate attributes and the RADIUS policy, with no manual intervention per device. For identity provider integration, SCEP certificate attributes - specifically the Subject Alternative Name - can carry the user's principal name from Microsoft Entra ID, Okta, or Google Workspace. That ties the certificate to a specific identity, which means when you disable an account in Entra ID and the MDM unenrols the device, the certificate is revoked and WiFi access is cut automatically. That is the revocation story that pre-shared keys simply cannot tell. --- IMPLEMENTATION RECOMMENDATIONS AND PITFALLS - approximately 2 minutes Right, let us talk about the deployment sequence, because this is where most teams trip up. The sequence is non-negotiable: Trusted Root certificate first, SCEP certificate profile second, WiFi profile third. Intune and Jamf both enforce profile dependencies. If your WiFi profile references a SCEP certificate that has not yet been deployed to the device, the WiFi profile will fail with a cryptic error that looks like a misconfiguration but is actually just a timing issue. The second pitfall is group targeting. All three profiles - Trusted Root, SCEP, and WiFi - must be deployed to the exact same Azure AD or Jamf group. If the SCEP profile targets a user group and the WiFi profile targets a device group, Intune cannot resolve the dependency and the WiFi profile will show as Not Applicable. This catches teams out constantly. Third: NDES server accessibility. Your NDES server needs to be reachable from the internet so that devices can enrol before they arrive on-site. The right way to do this is via Azure AD Application Proxy, not by punching a hole in your firewall. App Proxy gives you secure remote access without inbound ports and lets you apply Conditional Access policies to the enrolment flow. Fourth: CRL availability. Your RADIUS server checks the Certificate Revocation List every time a device authenticates. If your CRL Distribution Point is unavailable - because a server is down, or the URL has changed - authentication fails for every device on the network simultaneously. That is a campus-wide outage. Make your CRL endpoints highly available, and test revocation before you go live. For large networks - anything above 500 devices - consider a cloud SCEP gateway rather than on-premises NDES. Cloud gateways eliminate the NDES single point of failure, scale horizontally, and typically integrate directly with cloud RADIUS services, removing another infrastructure dependency. --- RAPID-FIRE Q AND A - approximately 1 minute Can SCEP handle BYOD devices that are not MDM-enrolled? Not directly. SCEP requires MDM enrolment to push the certificate payload. For unmanaged BYOD, you need a different approach - either a self-service onboarding portal, or a separate SSID using a captive portal with identity verification. Purple's platform handles that guest and BYOD layer cleanly, sitting alongside your certificate-authenticated staff network. What about iOS and Android? Both platforms support SCEP natively. iOS has supported SCEP since iOS 4. Android Enterprise supports SCEP through Intune and other MDMs. The configuration is slightly different per platform but the underlying protocol is identical. Does EAP-TLS work with WPA3? Yes. WPA3-Enterprise mandates 192-bit security mode for sensitive environments, and EAP-TLS is fully compatible. In fact, WPA3-Enterprise with EAP-TLS is the combination recommended by the Wi-Fi Alliance for government and financial networks. --- SUMMARY AND NEXT STEPS - approximately 1 minute To bring this together. SCEP certificate WiFi authentication is the right architecture for any network with more than 50 managed devices. It eliminates shared credentials, gives you per-device identity, enables dynamic VLAN segmentation, and integrates directly with your identity provider for automated revocation. The deployment sequence - Trusted Root, then SCEP profile, then WiFi profile - is fixed. Group targeting must be consistent. CRL availability is not optional. For higher education specifically, the combination of SCEP for staff and faculty devices, alongside a separate guest WiFi layer for students on personal devices, gives you both security and a great user experience without compromise. If you want to go deeper, Purple's guide on enterprise WiFi authentication without Active Directory or an on-premises server covers the cloud-native path. And if you are thinking about what happens when an employee leaves, our guide on revoking WiFi access walks through the full revocation workflow. Thanks for listening. I am from the Purple technical team, and we will see you in the next briefing. --- END OF SCRIPT

header_image.png

Resumo Executivo

Para locais corporativos — seja um campus moderno de ensino superior, uma operação de varejo com várias unidades ou um grande grupo de hospitalidade — depender de chaves pré-compartilhadas para o WiFi de funcionários e operacional introduz vulnerabilidades de segurança inaceitáveis e sobrecarga operacional. A arquitetura de rede moderna exige autenticação 802.1X usando EAP-TLS, garantindo que cada dispositivo seja verificado criptograficamente antes de acessar a rede.

O desafio está na distribuição: implantar certificados de cliente exclusivos para milhares de dispositivos Windows, iOS e Android sem sobrecarregar seu suporte técnico com chamados. O Microsoft Intune, o Jamf e outras plataformas MDM resolvem isso por meio do gerenciamento automatizado do ciclo de vida dos certificados. Ao aproveitar o SCEP (Simple Certificate Enrollment Protocol), as equipes de TI podem enviar certificados raiz e de cliente confiáveis de forma silenciosa para endpoints gerenciados.

Este guia fornece um modelo arquitetônico definitivo e uma estratégia de implementação passo a passo para a implantação de certificados SCEP corporativos. Exploraremos a sequência de implantação necessária para o sucesso, descreveremos estratégias de mitigação de riscos do mundo real e detalharemos como a abordagem de rede baseada em identidade da Purple se alinha a esses requisitos.

Análise Técnica Detalhada: Arquitetura SCEP e 802.1X

Ao projetar uma estratégia de implantação de WiFi baseada em certificado, compreender a interação do protocolo subjacente é fundamental. O SCEP é o mecanismo de entrega; o EAP-TLS é o protocolo de autenticação.

SCEP (Simple Certificate Enrollment Protocol)

O SCEP é o padrão do setor para registro de dispositivos corporativos. Em um fluxo de trabalho SCEP, o serviço MDM instrui o endpoint a gerar seu próprio par de chaves pública e privada. O dispositivo cria uma Solicitação de Assinatura de Certificado (CSR) e a envia por meio de um servidor Network Device Enrollment Service (NDES) ou gateway de nuvem para sua Autoridade Certificadora (CA). A CA assina a solicitação e retorna o certificado público para o dispositivo.

A vantagem crítica de segurança do SCEP é que a chave privada nunca sai do dispositivo. Ela é gerada localmente, armazenada no enclave de hardware seguro do dispositivo e nunca é transmitida pela rede. Isso torna o SCEP a abordagem fortemente recomendada para autenticação 802.1X.

scep_architecture_overview.png

EAP-TLS e Autenticação Mútua

O EAP-TLS (Extensible Authentication Protocol with Transport Layer Security) faz parte da estrutura 802.1X. O EAP-TLS é amplamente considerado o método de autenticação mais seguro para redes sem fio corporativas porque exige autenticação mútua. Tanto o dispositivo cliente quanto o servidor RADIUS devem apresentar certificados válidos. Nenhum dos lados confia no outro sem prova criptográfica. Essa autenticação mútua protege a rede contra pontos de acesso não autorizados e coleta de credenciais.

Quando um dispositivo se conecta ao seu SSID de WiFi, ele apresenta seu certificado ao servidor RADIUS. O servidor RADIUS valida o certificado em relação à sua cadeia de confiança da CA, verifica a Lista de Revogação de Certificados (CRL) para confirmar que o certificado não foi revogado e, se for bem-sucedido, envia uma mensagem de aceitação para o ponto de acesso.

Guia de Implementação: A Sequência de Implantação

A configuração bem-sucedida de um perfil de WiFi MDM para 802.1X requer adesão estrita a uma sequência de implantação específica. As dependências de perfil determinam que a confiança deve ser estabelecida antes que a autenticação possa ser configurada.

Passo 1: Implantar o Perfil de Certificado Raiz Confiável

Antes que qualquer dispositivo possa solicitar um certificado de cliente ou confiar no seu servidor RADIUS, ele deve confiar na Autoridade Certificadora emissora.

  1. Exporte seu certificado de CA Raiz como um arquivo .cer.
  2. No seu MDM (por exemplo, Intune ou Jamf), crie um perfil de Certificado Confiável.
  3. Faça o upload do arquivo .cer e implante este perfil nos seus grupos de dispositivos de destino.

Passo 2: Configurar o Perfil de Certificado SCEP

Assim que a confiança for estabelecida, configure o perfil SCEP para instruir os dispositivos sobre como obter seu certificado de cliente.

  1. Crie um novo perfil de configuração e selecione o certificado SCEP.
  2. Configure o formato do nome do Assunto (Subject name). Para autenticação orientada pelo usuário, use o User Principal Name.
  3. Defina o Uso da chave (Key usage) como Assinatura digital e Criptografia de chave.
  4. Em Uso estendido da chave (Extended key usage), especifique Autenticação de Cliente.
  5. Vincule este perfil ao perfil de certificado Raiz Confiável criado no Passo 1.
  6. Forneça a URL externa do seu servidor NDES ou gateway SCEP.

Passo 3: Implantar o Perfil de WiFi 802.1X

A etapa final é enviar a configuração de WiFi que vincula os certificados ao SSID da rede.

  1. Crie um perfil de configuração de Wi-Fi.
  2. Insira o Nome da rede (SSID) exatamente como transmitido pelos seus pontos de acesso.
  3. Selecione WPA2-Enterprise ou WPA3-Enterprise como o tipo de segurança.
  4. Defina o tipo de EAP como EAP-TLS.
  5. Selecione o perfil de certificado SCEP criado no Passo 2 como o certificado de autenticação do cliente.
  6. Especifique o certificado Raiz Confiável para validação do servidor.

Melhores Práticas e Padrões do Setor

Ao implementar a implantação de certificados SCEP, siga estas melhores práticas independentes de fornecedor para garantir conformidade e confiabilidade.

Posicionamento e Segurança do Servidor NDES

O servidor NDES deve estar acessível a partir da internet para permitir que dispositivos remotos tpara provisionar certificados antes de chegar ao local. No entanto, expor um servidor interno diretamente à internet é um risco de segurança significativo. Publique a URL do NDES usando o Azure AD Application Proxy ou use um gateway SCEP hospedado na nuvem. Isso fornece acesso remoto seguro sem abrir portas de entrada no firewall.

Verificação de RADIUS e CRL

A implantação de certificados é apenas metade da equação de segurança; a revogação é igualmente crítica. Se um funcionário sair, desativar sua conta do Active Directory pode não revogar imediatamente seu acesso WiFi se o certificado do cliente permanecer válido e o servidor RADIUS não estiver verificando rigorosamente a Lista de Revogação de Certificados (CRL). Configure seu servidor RADIUS para impor uma verificação rigorosa de CRL e garanta que seus Pontos de Distribuição de CRL estejam altamente disponíveis.

Implantação Agnóstica de Hardware

O SCEP e o EAP-TLS são padrões neutros em relação ao fornecedor. Sua implantação deve ser agnóstica de hardware, funcionando perfeitamente em infraestruturas Cisco Meraki, HPE Aruba, Ruckus, Juniper Mist, Ubiquiti UniFi, Cambium, Extreme e Fortinet.

Solução de Problemas e Mitigação de Riscos

Mesmo com um planejamento meticuloso, a implantação de certificados pode encontrar problemas.

Problema: Falha ao Aplicar o Perfil de WiFi

Isso quase sempre é causado por uma incompatibilidade no direcionamento de grupo. Se o perfil SCEP for atribuído a um Grupo de Usuários, mas o perfil de WiFi for atribuído a um Grupo de Dispositivos, o MDM não conseguirá resolver a dependência. Certifique-se de que os perfis de Trusted Root, SCEP e WiFi estejam todos implantados exatamente no mesmo grupo.

Problema: Erros NDES 403 Forbidden

Os dispositivos não conseguem recuperar o certificado SCEP. A conta de serviço do Intune Certificate Connector provavelmente não tem as permissões necessárias no modelo de certificado, ou a filtragem de URL no seu firewall está bloqueando os parâmetros específicos de query string usados pelo SCEP.

ROI e Impacto nos Negócios

A transição para a implantação de certificados SCEP 802.1X oferece retornos mensuráveis em segurança e operações.

scep_vs_psk_comparison.png

  1. Redução de Chamados no Helpdesk: O WiFi baseado em senha gera um volume significativo de chamados de suporte. A autenticação baseada em certificado é invisível para o usuário, reduzindo normalmente o volume de helpdesk relacionado ao WiFi em 70%.
  2. Postura de Segurança Aprimorada: O EAP-TLS elimina o risco de roubo de credenciais e ataques Man-in-the-Middle. Isso é fundamental para a conformidade com frameworks como PCI DSS e GDPR.
  3. Integração Perfeita (Onboarding): Para organizações que gerenciam grandes frotas de dispositivos Apple junto com o Windows, a integração com os fluxos de trabalho de MDM existentes garante uma experiência de provisionamento unificada e zero-touch.
  4. Segmentação Dinâmica: Oferece suporte à atribuição dinâmica de VLAN com base na identidade, isolando dispositivos IoT dos dados corporativos sem a necessidade de SSIDs separados.

Para leitura adicional, explore nossos guias relacionados sobre Segurança de WiFi Corporativo: Um Guia Completo para 2026 e Como revogar o acesso ao WiFi quando um funcionário sai .

Definições principais

SCEP (Simple Certificate Enrollment Protocol)

A protocol that automates the request and issuance of digital certificates to managed devices without human intervention.

Used by MDM platforms to securely provision unique identities to devices for network authentication.

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

The most secure 802.1X authentication method, requiring both the client and the RADIUS server to present valid digital certificates.

The target authentication protocol that SCEP certificates are provisioned to support.

802.1X

An IEEE standard for port-based network access control that provides an authentication mechanism to devices wishing to attach to a LAN or WLAN.

The overarching framework that secures enterprise networks against unauthorized access.

RADIUS

A networking protocol that provides centralized Authentication, Authorization, and Accounting management for users who connect and use a network service.

The server component that validates the client certificate and determines which VLAN the device should join.

CSR (Certificate Signing Request)

A block of encoded text given to a Certificate Authority when applying for an SSL/TLS certificate, containing the public key and identity information.

Generated locally on the device during the SCEP enrollment process.

NDES (Network Device Enrollment Service)

A Microsoft Windows Server role that acts as a bridge, allowing devices to obtain certificates via SCEP.

The gateway that receives the CSR from the device and forwards it to the internal Certificate Authority.

CRL (Certificate Revocation List)

A list published by the Certificate Authority containing the serial numbers of certificates that have been revoked and should no longer be trusted.

Checked by the RADIUS server during authentication to ensure a terminated employee's device cannot connect.

VLAN (Virtual Local Area Network)

A logical subnetwork that groups a collection of devices from different physical LANs.

Used in conjunction with RADIUS to dynamically segment network traffic based on the identity presented in the SCEP certificate.

Exemplos práticos

A 400-room hotel needs to deploy secure operational WiFi for 150 staff devices (tablets and laptops) while ensuring strict separation from the Guest WiFi network.

The IT team configures a cloud SCEP gateway integrated with their MDM. They deploy a Trusted Root profile, followed by a SCEP profile targeting the 'Hotel Operations' device group. A WiFi profile for the 'Staff-Secure' SSID is then deployed, configured for WPA3-Enterprise and EAP-TLS. The RADIUS server is configured to assign these authenticated devices to VLAN 40, completely isolating them from the Guest WiFi (VLAN 50).

Comentário do examinador: This approach eliminates the risk of staff sharing a PSK with guests. By using SCEP, the private keys remain secure on the operational devices, and dynamic VLAN assignment ensures proper network segmentation without broadcasting multiple SSIDs.

A large university campus with 25,000 students and 3,000 staff needs to secure its 'Edu-Secure' network. They currently use PEAP with usernames and passwords, resulting in 500+ helpdesk tickets per month due to password expirations.

The university migrates staff and faculty devices to EAP-TLS using Intune and SCEP. They deploy the certificate profiles in the strict sequence (Root -> SCEP -> WiFi) to the staff user groups. For unmanaged student BYOD devices, they deploy a separate onboarding portal that provisions temporary certificates, or utilize Purple's Guest WiFi platform with profile-based authentication for seamless, secure access.

Comentário do examinador: Migrating managed devices to SCEP/EAP-TLS immediately drops the password-related ticket volume. The hybrid approach acknowledges that SCEP requires MDM enrollment, correctly routing unmanaged BYOD traffic to a purpose-built onboarding flow.

Questões práticas

Q1. Your team is deploying a new SCEP certificate profile to a fleet of 500 Windows laptops. The Trusted Root profile was deployed to the 'All Corporate Devices' group. The SCEP profile was deployed to the 'All Corporate Users' group. The WiFi profile is showing as 'Not Applicable' on the laptops. What is the root cause?

Dica: Consider the Intune profile dependency rules and group targeting requirements.

Ver resposta modelo

The root cause is a mismatch in group targeting. Intune requires that dependent profiles (Root, SCEP, WiFi) be deployed to the exact same group type. Because the Root profile targets devices and the SCEP profile targets users, the dependency chain is broken. All three profiles must target either the same Device group or the same User group.

Q2. A hotel operations director wants to secure the staff WiFi network using EAP-TLS. They suggest using PKCS instead of SCEP because it does not require an NDES server. As the network architect, why should you advise against this for WiFi authentication?

Dica: Think about where the private key is generated and how it travels.

Ver resposta modelo

You should advise against PKCS for WiFi authentication because it requires the private key to be generated centrally by the CA and transmitted over the network to the device. SCEP is significantly more secure because the device generates the private key locally and stores it in a secure hardware enclave; the private key never leaves the device.

Q3. During a network audit, you discover that the RADIUS server is configured to ignore CRL (Certificate Revocation List) checking errors. What specific security risk does this introduce when an employee is terminated?

Dica: Consider what happens to the validity of the certificate if the MDM unenrols the device but the RADIUS server cannot verify revocation status.

Ver resposta modelo

If CRL checking is ignored or fails open, a terminated employee whose device has been unenrolled (and certificate revoked by the CA) may still be able to connect to the WiFi network. The RADIUS server will see a cryptographically valid certificate and, without checking the CRL, will grant access, creating a severe security vulnerability.

Continue a ler esta série

Como configurar WiFi de convidados e Captive Portals na Ruijie Networks

Este guia técnico detalha a configuração de WiFi de convidados e Captive Portals em hardware da Ruijie Networks, abrangendo tanto portais em nuvem nativos quanto integrações RADIUS externas. Ele fornece aos gerentes de TI e arquitetos de rede etapas práticas para isolamento de VLAN, configuração de walled garden e integração de plataformas de terceiros para impulsionar análises e receita.

Ler o guia →

PSK por Dispositivo por Fabricante: Comparativo entre iPSK, DPSK, MPSK e PPSK (e Suporte a WPA3)

Uma comparação abrangente das implementações de PSK por dispositivo no Cisco Meraki, HPE Aruba, Ruckus, Juniper Mist, Extreme, Fortinet e Ubiquiti UniFi. Saiba como o WPA3-SAE impacta as estratégias de chaves por dispositivo e quando implantar modos de transição em vez de migrar para o 802.1X.

Ler o guia →

Como reduzir o número de SSIDs de WiFi usando PSK por dispositivo (iPSK, DPSK, MPSK)

Este guia de referência técnica definitivo explica como as equipes de TI podem eliminar a degradação de desempenho do WiFi causada pelo overhead de beacons de SSID, colapsando múltiplas redes dedicadas em um único SSID usando PSK por dispositivo (xPSK). Ele abrange o ecossistema de fornecedores, incluindo Cisco iPSK, HPE Aruba MPSK, Ruckus DPSK, Juniper Mist PPSK e Ubiquiti UniFi PPSK, com orientações práticas de implementação sobre atribuição dinâmica de VLAN, integração de IoT e conformidade com o PCI DSS. Operadores de locais em hotelaria, varejo, estádios e organizações do setor público encontrarão orientações de arquitetura acionáveis e exemplos práticos do mundo real.

Ler o guia →