Pular para o conteúdo principal

O Guia Corporativo do SCEP: Implantando o Simple Certificate Enrollment Protocol para Segurança Automatizada de WiFi em Campi

Este guia de referência técnica fornece um modelo de arquitetura definitivo e uma estratégia de implementação passo a passo para a implantação de certificados de WiFi corporativo usando SCEP. Ele aborda as diferenças críticas entre SCEP e PKCS, a sequência exata de implantação necessária para o sucesso e estratégias reais de mitigação de riscos para líderes de TI.

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

Ouça este guia

Ver transcrição do podcast
Good morning. If you're managing WiFi infrastructure across a hotel group, a retail estate, a stadium, or a university campus, this briefing is for you. We're going to cover SCEP - Simple Certificate Enrollment Protocol - and specifically how it solves one of the most persistent headaches in enterprise WiFi: getting certificates onto thousands of devices automatically, without your helpdesk drowning in tickets. [short pause] Let me set the scene. You've decided - correctly - that pre-shared keys are no longer acceptable for staff WiFi. A single compromised password exposes your entire network segment. You've moved, or you're moving, to 802.1X authentication. That's the IEEE standard that requires every device to prove its identity before it gets network access. The most secure flavour of 802.1X is EAP-TLS - Extensible Authentication Protocol with Transport Layer Security - which uses digital certificates rather than passwords. Certificates are cryptographically unique per device, they can't be shared, and they can be revoked instantly if a device is lost or an employee leaves. [short pause] So far, so good. The problem is distribution. How do you get a unique certificate onto every laptop, every phone, every tablet in your estate - across Windows, iOS, Android, macOS - without a technician touching each device? That's precisely what SCEP solves. [medium pause] SCEP was formalised by the Internet Engineering Task Force in RFC 8894 in 2020, though it's been in use in enterprise environments since the early 2000s. It's a protocol that lets a managed device request its own certificate directly from your Certificate Authority, using a pre-configured URL and a challenge password. The critical security point here: the private key is generated on the device itself, stored in the device's secure enclave - that's the TPM chip on Windows devices, or the Secure Enclave on Apple hardware - and it never travels across the network. The device generates a Certificate Signing Request, sends that to the SCEP gateway, the gateway validates the challenge, forwards the request to your Certificate Authority, the CA signs it, and the signed certificate comes back to the device. The whole process is invisible to the end user. [short pause] Now, in a Microsoft environment, the SCEP gateway is typically NDES - Network Device Enrollment Service - a Windows Server role that acts as the intermediary between your MDM platform and your CA. Microsoft Intune pushes the SCEP profile to managed devices, which tells them the NDES URL and the challenge password. Devices do the rest automatically. [medium pause] Let me walk you through what a real deployment looks like. Take a hotel group with 150 properties - think Premier Inn scale. They have a mix of Windows laptops for front-of-house staff, iOS devices for housekeeping supervisors, and Android tablets at the restaurant point-of-sale. Before SCEP, they were running WPA2-Personal with a shared password rotated quarterly. Every rotation generated a wave of helpdesk calls. With SCEP and Intune, they deploy three profiles in sequence. First, the Trusted Root Certificate profile - this tells every device to trust the company's Certificate Authority. Second, the SCEP Certificate profile - this instructs devices to go and collect their unique client certificate. Third, the WiFi profile - this configures the SSID, sets the security type to WPA2-Enterprise or WPA3-Enterprise, and points to the SCEP certificate for authentication. Deploy those three profiles to the same device group in Intune, and every managed device connects to the corporate SSID automatically, with a unique certificate, zero user interaction required. [short pause] The RADIUS server - typically Microsoft NPS or a cloud RADIUS service - receives the EAP-TLS authentication request, validates the certificate against the CA, checks the Certificate Revocation List, and grants or denies access. If an employee is terminated, you revoke their certificate in the CA. Their device loses WiFi access at the next authentication cycle. No password reset required. No waiting for a quarterly rotation. [medium pause] Now, people often ask about the difference between SCEP and PKCS - Public Key Cryptography Standards. Both work with Intune. The key difference is where the private key is generated. With SCEP, it's generated on the device. With PKCS, the CA generates both keys centrally and pushes the private key down to the device. That means the private key travels across the network, which introduces a theoretical interception risk. PKCS has its place - it's better suited for S/MIME email encryption where key escrow matters. For WiFi authentication, SCEP is the right choice. Every time. [short pause] Let me give you a second scenario - a retail estate. Imagine a fashion retailer with 200 stores across the UK, each running Cisco Meraki access points. Their point-of-sale systems are Windows-based, managed through Intune. They need PCI DSS compliance, which means network segmentation and strong authentication for any device handling cardholder data. SCEP-based EAP-TLS gives them device-level authentication on the staff SSID, with VLAN assignment driven by the RADIUS policy. The POS terminals land on the PCI-scoped VLAN automatically. Guest WiFi - handled separately through a platform like Purple - runs on a completely isolated SSID with its own authentication flow. The two networks never touch. Auditors are happy. The security team sleeps better. [medium pause] Right, let's talk about the pitfalls, because there are a few that catch teams out. [short pause] The most common failure mode is group targeting mismatches in Intune. Your Trusted Root profile, your SCEP profile, and your WiFi profile must all target the same Azure AD group. If the SCEP profile targets a User group and the WiFi profile targets a Device group, Intune can't resolve the dependency and the WiFi profile shows as an error. Check your assignments first - it's almost always the culprit. [short pause] Second pitfall: NDES server availability. Your NDES server needs to be reachable from the internet for remote devices to enrol before they arrive on-site. The secure way to do this is via Azure AD Application Proxy, which gives you remote access without opening inbound firewall ports. Don't expose NDES directly to the internet. [short pause] Third: CRL availability. Your RADIUS server checks the Certificate Revocation List every time a device authenticates. If the CRL Distribution Point is unreachable - maybe a server is down, or a firewall rule changed - authentication fails for everyone. Make your CRL endpoints highly available, and test them regularly. [short pause] Fourth: certificate template permissions. If your NDES connector service account doesn't have Read and Enroll permissions on the certificate template, devices get HTTP 403 errors when they try to collect their certificate. It's a simple permissions fix, but it's easy to miss during initial setup. [medium pause] Now for a rapid-fire round. [short pause] Can SCEP work with non-Microsoft MDMs? Yes - Jamf for Apple device fleets, VMware Workspace ONE, and most enterprise MDM platforms support SCEP profiles. The protocol is vendor-neutral. [short pause] Does SCEP work with cloud PKI? Yes. Microsoft's own cloud PKI in Intune Suite eliminates the need for an on-premises NDES server entirely. Third-party cloud PKI providers like SecureW2 and Keyfactor also offer cloud SCEP endpoints. [short pause] What about WPA3-Enterprise? WPA3-Enterprise uses the same 802.1X and EAP-TLS authentication stack. SCEP-issued certificates work identically. The upgrade is at the wireless protocol layer, not the certificate layer. [short pause] How long do certificates last? Typically one year, though you can configure shorter validity periods. Intune handles automatic renewal before expiry, so users never see an interruption. [medium pause] To summarise. SCEP automates certificate distribution at scale, eliminating the manual overhead of PKI deployment across large device fleets. The private key stays on the device - that's the security foundation of EAP-TLS. Deploy in sequence: Trusted Root first, SCEP profile second, WiFi profile third, all targeting the same group. Publish your NDES endpoint securely via Application Proxy. Keep your CRL endpoints highly available. And if you're starting fresh, evaluate cloud PKI to remove the on-premises NDES dependency entirely. [short pause] For guest WiFi - the separate, visitor-facing network - certificate-based authentication isn't the right model. Guests don't have managed devices. That's where a platform like Purple handles the authentication flow: captive portal, social login, email capture, or SMS verification, all feeding into a first-party data layer that your marketing team can actually use. The two approaches complement each other: SCEP for your managed staff estate, Purple for your guest network. Both running on the same hardware, cleanly segmented by VLAN. [short pause] That's your briefing on SCEP enterprise WiFi onboarding. The full written guide, with architecture diagrams, step-by-step Intune configuration, and worked examples, is available on the Purple website. Thanks for listening.

header_image.png

Resumo Executivo

Para locais corporativos, seja um ambiente dinâmico de hotelaria, uma operação de varejo com várias unidades ou um campus corporativo moderno, depender de chaves pré-compartilhadas ou de Captive Portal básico para o WiFi da equipe é uma vulnerabilidade de segurança e um gargalo 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: como implantar certificados de cliente exclusivos em milhares de dispositivos Windows, iOS e Android sem sobrecarregar seu helpdesk com chamados de suporte? O Microsoft Intune e outras plataformas MDM resolvem isso por meio do gerenciamento automatizado do ciclo de vida dos certificados. Ao implantar perfis do Simple Certificate Enrollment Protocol (SCEP), as equipes de TI enviam certificados raiz e de cliente confiáveis de forma silenciosa para endpoints gerenciados.

Este guia fornece um modelo de arquitetura definitivo e uma estratégia de implementação passo a passo para a implantação de certificados de WiFi corporativo. Exploramos as diferenças críticas entre SCEP e PKCS, detalhamos a sequência exata de implantação necessária para o sucesso e apresentamos estratégias reais de mitigação de riscos para garantir que seu WiFi de Visitantes e suas redes corporativas permaneçam seguros e eficientes.

Ouça o Briefing

Análise Técnica Detalhada: Arquitetura SCEP

Ao projetar sua estratégia de implantação de certificados de WiFi corporativo, a primeira decisão arquitetônica é selecionar o mecanismo de entrega de certificados. As plataformas de gerenciamento de dispositivos móveis suportam tanto SCEP quanto PKCS, mas operam de maneira fundamentalmente diferente.

Simple Certificate Enrollment Protocol (SCEP)

O SCEP é o padrão do setor para o registro de dispositivos corporativos. Em um fluxo de trabalho SCEP, o serviço de gerenciamento 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) 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 seguro do dispositivo (como o TPM no Windows ou o Secure Enclave no iOS) e nunca é transmitida pela rede. Isso torna o SCEP a abordagem altamente recomendada para autenticação 802.1X.

scep_architecture_overview.png

Public Key Cryptography Standards (PKCS)

Por outro lado, com o PKCS, a Autoridade Certificadora gera as chaves pública e privada de forma centralizada. O conector de certificado exporta esse par de chaves de forma segura e o envia para o dispositivo de destino.

Embora o PKCS elimine a necessidade de implantar e manter um servidor NDES, simplificando a infraestrutura, ele introduz um risco teórico de segurança porque a chave privada é transmitida pela rede. O PKCS geralmente é mais adequado para casos de uso em que a custódia de chaves (key escrow) é necessária, como a criptografia de e-mail S/MIME, em vez de autenticação de rede.

scep_vs_pkcs_comparison.png

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

A configuração bem-sucedida de um perfil de WiFi gerenciado para 802.1X exige a 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 CA Raiz e quaisquer certificados CA Intermediários como arquivos .cer.
  2. No console do seu MDM, crie um novo perfil de configuração.
  3. Selecione a plataforma de destino e escolha o tipo de perfil de certificado confiável.
  4. 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 baseada no usuário, CN={{UserPrincipalName}} é o padrão. Para autenticação de dispositivo, use CN={{AAD_Device_ID}}.
  3. Defina o uso da chave para assinatura digital e criptografia de chave (key encipherment).
  4. Em uso estendido de chave (extended key usage), especifique a autenticação do cliente (OID: 1.3.6.1.5.5.7.3.2).
  5. Vincule este perfil ao perfil de certificado raiz confiável criado no Passo 1.
  6. Forneça a URL externa do seu gateway SCEP ou servidor NDES.

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 WiFi.
  2. Insira o nome da rede exatamente como ele é transmitido pelos seus pontos de acesso sem fio.
  3. Selecione WPA2-Enterprise ou WPA3-Enterprise como o tipo de segurança.
  4. Defina o tipo de EAP como EAP-TLS.
  5. Nas configurações de autenticaçãogs, selecione o perfil de certificado SCEP criado na Etapa 2 como o certificado de autenticação do cliente.
  6. Especifique o certificado raiz confiável para validação do servidor para garantir que o dispositivo se conecte apenas ao seu servidor RADIUS legítimo.

Melhores Práticas e Padrões do Setor

Ao implementar a implantação de certificados SCEP, siga as seguintes melhores práticas neutras em relação a fornecedores para garantir conformidade e confiabilidade.

Posicionamento e Segurança do Gateway SCEP

O gateway SCEP deve estar acessível pela internet para permitir que dispositivos remotos provisionem certificados antes de chegarem ao local. Expor um servidor interno diretamente à internet é um risco de segurança significativo. Publique a URL do SCEP usando um proxy de aplicativo ou proxy reverso. Isso fornece acesso remoto seguro sem abrir portas de firewall de entrada e permite aplicar políticas de acesso condicional ao fluxo de registro.

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 for desligado, desativar sua conta de diretório 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. Certifique-se de que seus pontos de distribuição de CRL estejam altamente disponíveis; se o servidor RADIUS não conseguir alcançar a CRL, a autenticação falhará, causando uma interrupção generalizada.

Para considerações mais amplas sobre conectividade moderna, revise nossas orientações em Gerenciamento de Largura de Banda: Um Guia Prático para 2026 .

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

Mesmo com um planejamento meticuloso, a implantação de certificados pode encontrar problemas. Aqui estão os modos de falha comuns e as estratégias de mitigação.

Falha ao Aplicar o Perfil WiFi

O dispositivo recebe os certificados raiz confiável e SCEP, mas o perfil WiFi é exibido com erro ou como não aplicável no console MDM. 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 WiFi for atribuído a um grupo de dispositivos, o MDM não conseguirá resolver a dependência. Audite suas atribuições. Certifique-se de que os perfis de raiz confiável, SCEP e WiFi sejam todos implantados exatamente no mesmo grupo.

Erros 403 Forbidden no Gateway

Os dispositivos não conseguem recuperar o certificado SCEP, e os logs do gateway mostram erros HTTP 403. A conta de serviço do conector não possui 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. Verifique se a conta do conector tem permissões de leitura e registro (enroll) no modelo de AC. Verifique os logs do firewall para garantir que as URLs contendo ?operation=GetCACaps não estejam sendo bloqueadas.

ROI e Impacto nos Negócios

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

  1. Redução de Chamados no Helpdesk: O WiFi baseado em senha gera um volume significativo de chamados de suporte relacionados a expiração de senhas, bloqueios e erros de digitação. 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 coleta de credenciais e ataques Man-in-the-Middle. Isso é fundamental para a conformidade com frameworks como PCI DSS e GDPR, especialmente em ambientes de Varejo e Saúde .
  3. Onboarding Perfeito: A integração da implantação de certificados com os fluxos de trabalho de MDM existentes garante uma experiência de provisionamento unificada e zero-touch desde o primeiro dia.

Embora o SCEP proteja seus dispositivos corporativos gerenciados, as redes de convidados e visitantes exigem uma abordagem diferente. Para dispositivos não gerenciados, um captive portal com login social ou verificação por SMS alimenta uma camada de dados primários (first-party data), oferecendo insights acionáveis. Explore nossa plataforma de WiFi Analytics para ver como esses dados geram receita.

Definições principais

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 across enterprise fleets.

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 authentication due to the network transmission of the private key.

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 SCEP certificate deployment with on-premises Microsoft PKI.

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 MDM WiFi and certificate profiles are designed to enable, eliminating password-based access.

CRL (Certificate Revocation List)

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

RADIUS servers must check the CRL during authentication to ensure terminated employees cannot access the network using a previously valid certificate.

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 by the managed device during the SCEP flow to request its unique identity credential.

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 foundational framework that enforces the requirement for EAP-TLS certificate validation before granting network access.

RADIUS (Remote Authentication Dial-In User Service)

A networking protocol that provides centralized authentication, authorization, and accounting management for users who connect and use a network service.

The server that evaluates the client certificate against the CA and CRL to make the final allow or deny decision for WiFi access.

Exemplos práticos

A 150-property hotel group needs to secure their staff network across a mix of Windows laptops for front-of-house, iOS devices for housekeeping, and Android tablets for restaurant point-of-sale. They currently use WPA2-Personal with a shared password rotated quarterly, generating massive helpdesk volume.

The hotel group deploys three Intune profiles in sequence to a unified device group. First, a Trusted Root Certificate profile establishes trust with the corporate CA. Second, a SCEP Certificate profile instructs devices to request a unique client certificate. Third, a WiFi profile configures the corporate SSID with WPA3-Enterprise and EAP-TLS, pointing to the SCEP certificate for authentication. The RADIUS server enforces strict CRL checking to revoke access instantly upon employee termination.

Comentário do examinador: This approach eliminates the quarterly password rotation overhead and secures the network against credential sharing. SCEP is chosen over PKCS to ensure the private key never leaves the individual devices, maintaining a zero-trust posture across diverse hardware.

A fashion retailer with 200 stores requires PCI DSS compliance for their Windows-based point-of-sale systems managed through Intune. They must ensure strong authentication and strict network segmentation for any device handling cardholder data.

The retailer implements SCEP-based EAP-TLS for device-level authentication on the staff SSID. The RADIUS policy drives VLAN assignment, placing authenticated POS terminals onto a strictly isolated, PCI-scoped VLAN automatically. Guest WiFi is handled on a completely separate SSID with its own captive portal authentication flow, ensuring the two networks never intersect.

Comentário do examinador: By tying network segmentation directly to certificate-based authentication, the retailer satisfies PCI DSS requirements without manual network configuration per store. The physical separation of the guest network using a platform like Purple prevents scope creep for the PCI audit.

Questões práticas

Q1. Your Intune deployment shows the Trusted Root and SCEP profiles successfully applied to a user's laptop, but the WiFi profile shows an 'Error' state. The user cannot connect to the corporate SSID. What is the most likely architectural cause?

Dica: Consider how MDM platforms resolve dependencies between related configuration profiles.

Ver resposta modelo

A group targeting mismatch. The SCEP profile is likely assigned to a User group, while the WiFi profile is assigned to a Device group (or vice versa). Intune cannot resolve the dependency across different group types, causing the WiFi profile deployment to fail. Audit the assignments and ensure all three profiles target the exact same Azure AD group.

Q2. A newly acquired subsidiary requires 802.1X authentication for their staff devices. Their security team mandates that private keys must never traverse the network and must be generated within the hardware TPM of the endpoint. Which certificate deployment method must you use?

Dica: Compare where the private key is generated in the SCEP workflow versus the PKCS workflow.

Ver resposta modelo

You must use SCEP (Simple Certificate Enrollment Protocol). In a SCEP workflow, the device generates its own private and public key pair locally within its secure enclave (TPM) and only sends a Certificate Signing Request (CSR) across the network. PKCS generates the private key centrally on the CA and transmits it over the network, which violates the security team's mandate.

Q3. An employee is terminated and their Active Directory account is disabled. However, their laptop remains connected to the corporate WiFi network for several hours before losing access. How do you resolve this security gap?

Dica: Disabling an account does not invalidate an existing certificate. What mechanism does the RADIUS server use to check certificate validity?

Ver resposta modelo

You must configure the RADIUS server to enforce strict Certificate Revocation List (CRL) checking. When an employee is terminated, their certificate must be explicitly revoked in the Certificate Authority. The RADIUS server will then check the CRL during the next authentication cycle and immediately deny access, regardless of the Active Directory account status.

Continue a ler esta série

Integrando a Autenticação do WeChat com Captive Portals de WiFi para Convidados

Este guia explica como integrar a autenticação WeChat OAuth 2.0 em Captive Portals de WiFi corporativos para convidados. Ele aborda os requisitos de registro em dupla plataforma, a seleção de escopo para captura de dados primários, a imposição de rede via RADIUS Change of Authorization e a conformidade com o GDPR e a PIPL da China. Operadores de locais nos setores de hotelaria, varejo e eventos encontrarão etapas concretas de implementação, estudos de caso reais e orientações de reforço de segurança para implantar o login do WeChat em WiFi para convidados em escala.

Ler o guia →

Entendendo o Cisco SUDI: Identidade de Dispositivo Baseada em Hardware no Controle de Acesso à Rede

Este guia detalha a arquitetura técnica do Cisco SUDI, explicando como a identidade ancorada em hardware protege o controle de acesso à rede. Ele fornece etapas práticas de implementação para líderes de TI implantarem a autenticação 802.1X EAP-TLS e automatizarem o Zero Touch Provisioning em locais corporativos.

Ler o guia →

Como Configurar SCEP para BYOD Seguro e Autenticação de Rede 802.1X

Este guia fornece uma referência técnica abrangente para configurar o SCEP para implantar autenticação de rede 802.1X baseada em certificados. Ele aborda a transição arquitetônica de senhas compartilhadas para EAP-TLS, integração com Gerenciamento de Dispositivos Móveis (MDM) e segmentação estrita de rede para acesso BYOD seguro em ambientes corporativos.

Ler o guia →