Note: The agencies have not disclosed which algorithms are affected or how. I will post updates as more details become available.
What the Joint Statement Says
The joint statement is brief and deliberately vague. It says AI companies have responsibly disclosed discoveries that impact the security of some cryptography currently in use, but it does not name the affected algorithms or describe the findings. After consulting with those companies, the agencies assess that the advances do not present an immediate and widespread threat. However, they stress that these capabilities are evolving quickly, and they call on government and industry to upgrade digital infrastructure without delay. The statement ties this effort to Executive Order 14412, which already set federal PQC deadlines of December 31, 2030, for key establishment and December 31, 2031, for digital signatures on high value assets and high impact systems.
What the NSA Advisory Says
The NSA advisory, Immediate Actions to Push Toward Post-Quantum (PP-26-4956), is written for National Security Systems, the Department of War, and the Defense Industrial Base, but it is cleared for broad sharing and applies to any organization that relies on public-key cryptography. It lists six actions, ordered to deliver the broadest gains first, including the following.
Inventory cryptography. Identify where TLS, IPsec, SSH, certificates, code signing, Wi-Fi, and identity credentials are used, along with the algorithms, products, patch levels, and owners of each.
Move to TLS 1.3. Enable post-quantum settings where available, otherwise use the strongest approved classical options, and configure any hybrid key exchange according to RFC 10024. Remove weaker elliptic-curve and Diffie-Hellman options. TLS 1.2 is acceptable only where TLS 1.3 is not possible.
Stand up PQC certificate authorities and roots of trust. When updating infrastructure, verify that roots use RSA 3072-bit or P-384 as the base size, with RSA 2048-bit only where legacy support requires it. Organizations that don’t manage their own CAs should engage their provider.
Replace certificates, PKI, and code signing. Reissue certificates that rely on deprecated algorithms, moving to PQC algorithms as new hardware allows, re-sign software and firmware with the new algorithms, and remove references to old trust anchors.
Update products. Apply vendor updates that enable PQC, then restrict products to approved algorithms rather than leaving classical defaults in place.
Contain what cannot be upgraded. Create a mitigation plan for each remaining system, isolate it where practical, and monitor for weak cryptography still in use.
Reading Between the Lines
Because the agencies named no algorithms, the security community has been reading the advisory closely for clues. Cryptographer Filippo Valsorda reads it as a warning that 256-bit elliptic curves, including P-256, X25519, and Ed25519, are likely broken or significantly weaker than previously thought, while RSA and P-384 may be acceptable as a stopgap. That is an interpretation, not a confirmed finding, and the NSA has not said which algorithms are affected. Valsorda also notes that ML-DSA and ML-KEM still appear sound, and that a recent theoretical result against structured lattices is not a practical concern for their parameter sets. In other words, the destination hasn’t changed. Only the urgency has.
What This Means for AD CS
In my experience, most AD CS hierarchies still use RSA 2048-bit keys, so the advisory applies directly. Administrators should consider the following steps now.
Inventory your CA hierarchy. Record the key algorithm and size of every root and issuing CA, along with the algorithms configured in each certificate template. Flag anything using P-256, other ECDSA curves smaller than P-384, or RSA below 3072 bits.
Strengthen classical roots you must keep. If a classical root has to remain in service during the transition, it should be RSA 3072-bit or larger, or P-384. Do not build new P-256 or RSA-2048 roots.
Enable hybrid TLS key exchange. Windows 11 24H2 and 25H2 support hybrid post-quantum key exchange for TLS 1.3, which protects data in transit from harvest now, decrypt later attacks today.
Ask your vendors.VPN, hardware security module (HSM), and network appliance vendors need to support PQC before you can complete the migration. Ask for their roadmaps now.
Summary
The December 2 announcements change the timeline for PQC, not the plan. Classical public-key cryptography may weaken before a quantum computer arrives, and the NIST deprecation dates of 2030 and 2035 should now be treated as outer limits rather than a schedule. For AD CS administrators, that means inventorying CA hierarchies, building an ML-DSA root now, raising any classical roots to RSA 3072-bit or P-384 in the meantime, and planning to retire the classical root entirely. The organizations that started their PQC planning early will be glad they did.
Not sure how the NSA guidance applies to your environment? I help organizations inventory their PKI, assess PQC readiness, and plan ML-DSA hierarchies in AD CS. Fill out the form below, and I’ll follow up, typically within one business day.
With the Module-Lattice-Based Digital Signature Algorithm (ML-DSA) now generally available in Active Directory Certificate Services (AD CS) on Windows Server 2025, many organizations are beginning to plan their post-quantum cryptography (PQC) deployments. Two shortcuts are likely to be common. The first is to stand up a new ML-DSA issuing certification authority (CA) and have the existing RSA or Elliptic Curve Cryptography (ECC) root sign its certificate. The second is to issue ML-DSA certificates directly from an existing RSA or ECC CA. Both are appealing because the root is already trusted everywhere and there is no new trust anchor to distribute. Unfortunately, neither delivers the security it appears to, because an attacker who can break RSA or ECC never needs to break ML-DSA. They simply go after the classical root. A complete PQC migration starts with a new ML-DSA root CA and ends with retiring the classical one.
How Chain Trust Works
A certificate chain is only as strong as its weakest signature. When a client validates a leaf certificate, it verifies each signature in the path back to a trust anchor, and it trusts the issuing CA only because the root signed the issuing CA’s certificate. A cryptographically relevant quantum computer (CRQC) running Shor’s algorithm, or a sufficiently advanced classical attack, can recover an RSA or ECC private key from its public key, and the root’s public key is already in every trust store in your environment. That holds even if the root CA has always been offline, because the attack needs only the public key. With the root’s private key, an attacker can sign a rogue subordinate CA certificate and issue certificates for any identity, all of which chain cleanly to your trusted root. The attacker never attacks ML-DSA at all. They simply go around it.
Legitimate and attacker certificate paths under a classical root CA.
Both paths end in certificates that clients trust because both chain to the same classical root. The same principle applies in reverse. A classical issuing CA under an ML-DSA root is just as exposed, so a full PQC hierarchy means every key that signs a certificate, a certificate revocation list (CRL), or an Online Certificate Status Protocol (OCSP) [RFC 6960] response uses a PQC algorithm.
Can an RSA CA Issue ML-DSA Certificates?
The shorter shortcut skips building a new CA entirely. In my testing, an RSA issuing CA running Windows Server 2025 with the May 2026 security update (KB5087539) issued ML-DSA certificates, even while subordinate to an RSA root. Microsoft’s documentation lists an ML-DSA root and subordinate CA as prerequisites for ML-DSA certificate templates, so treat this as observed behavior rather than a documented configuration. The resulting certificate contains an ML-DSA public key, but the CA’s signature on it is still RSA. The ML-DSA key protects only what the certificate holder signs with it, such as a TLS handshake or a code signature, while the binding between the identity and that key is protected by RSA. An attacker who recovers the issuing CA’s or the root’s private key can issue a certificate for the same identity with a key of their choosing, and relying parties will trust it. This is the most misleading form of partial migration. Anyone who checks the certificate’s public-key algorithm sees ML-DSA, but the signature algorithm field tells the real story.
An ML-DSA-44 public key in a certificate signed with sha256RSA.
The Risks of PQC CAs Under Classical Roots
Forged subordinate CAs are the most obvious problem, but leaving a classical root at the top of a PQC hierarchy introduces several other risks, including the following.
Certificate forgery. A rogue subordinate CA can issue trusted TLS server authentication and code signing certificates while the ML-DSA issuing CA continues operating normally. Smart card logon is harder to abuse, because domain controllers also require the issuing CA to be in the NTAuth store.
Revocation forgery. The root also signs the CRL that covers its subordinate CAs. An attacker with the root key can sign a forged CRL that un-revokes a revoked CA, or one that revokes your legitimate PQC issuing CA and causes a denial of service for every certificate it has issued. The impact depends on getting relying parties to retrieve it, such as by controlling the CRL distribution point.
A false sense of compliance. Certificate inventory tools, scanners, and auditors often focus on the algorithms used by leaf certificates and issuing CAs. A hierarchy with an ML-DSA issuing CA appears to have been migrated when it has not, which removes the urgency to finish the job.
Long-lived signatures. Code, firmware, and document signatures are verified years after they are created, possibly after the classical algorithm that signed them has been broken. An attacker with the root key can produce new signed artifacts that pass signature validation on any system that still trusts the classical root.
Why Root CA Migration Can’t Wait
A common objection is that harvest now, decrypt later (HNDL) is a confidentiality threat, and since a signature cannot be forged until a CRQC exists, signing infrastructure can wait. The National Institute of Standards and Technology (NIST) agrees in NIST IR 8547 that signatures are not vulnerable to HNDL, and the report even notes that authentication systems may continue using classical algorithms until a CRQC arrives, at which point they must transition immediately. However, the same report says moving to post-quantum signatures is still urgent because the transition takes longer, is more complex, and requires more parties to coordinate. A CA hierarchy illustrates exactly why, for the following reasons.
Root CAs are long-lived. A root CA built today commonly has a 20-year validity period. A classical root created in 2026 will still be anchoring trust in the mid-2040s.
A root cannot be replaced immediately. Getting a new root into every trust store, including servers, workstations, mobile devices, network appliances, and third-party systems, takes years in most enterprises.
The regulatory clock is already running. The final version of NIST IR 8547, published in October 2026, deprecates all quantum-vulnerable signature algorithms, including RSA and the Elliptic Curve Digital Signature Algorithm (ECDSA), after 2030 and disallows them under NIST standards and guidelines after 2035, regardless of key size. The 2024 draft let stronger key sizes such as P-256 and RSA-3072 skip deprecation entirely. The final report does not, so a P-384 or RSA-4096 root built today is deprecated after 2030, just like an RSA-2048 root. For federal high value assets and high impact systems, Executive Order 14412 and Office of Management and Budget (OMB) memorandum M-26-15 move the deadline for post-quantum signatures up to December 31, 2031.
In practical terms, a classical root built in 2026 will be signing with a deprecated algorithm in 2031 and a disallowed one in 2036, roughly halfway through its intended life. Those dates may also prove optimistic. On December 2, 2026, the Office of the National Cyber Director (ONCD), National Security Agency (NSA), and Cybersecurity and Infrastructure Security Agency (CISA) issued a joint statement reporting that AI companies had disclosed discoveries affecting the security of some cryptography currently in use. The agencies do not consider this an immediate and widespread threat, but the NSA has advised National Security Systems to immediately accelerate their transition to PQC. Treat the NIST dates as outer limits, not a migration schedule. I cover the complete NIST and federal timeline in Post-Quantum Cryptography (PQC) in the Enterprise: Timeline and Readiness.
Distrusting the Classical Root
A full PQC hierarchy is necessary, but it is not the end of the migration. Consider an environment that has deployed a complete ML-DSA hierarchy but still trusts its original RSA root. An attacker who recovers the RSA root’s private key can still issue certificates for any identity, and clients will accept them through the classical path because the relying party has no way of knowing it should have expected an ML-DSA chain. This is an algorithm downgrade problem, and the attacker will always choose the weakest path available. It is also why cross-certifying a new PQC CA from an existing classical root does not help, since the cross-certificate simply adds a classical path to the PQC CA. As long as the classical root is trusted, it remains an alternate trust path. The end state of a PQC migration is a PQC hierarchy with the classical root removed from every trust store, which in practice happens in stages as each workload migrates. Removing a root is something most organizations have never done at scale, so the sooner the PQC hierarchy exists, the more time there is to get it right.
Interim Guidance for Classical Roots
If a classical root must remain in place during the transition, the NSA’s December 2026 advisory recommends RSA 3072-bit or P-384 as the baseline for roots, rather than the RSA-2048 and P-256 roots common in many AD CS deployments. Treat this as an interim measure only. A stronger classical root raises the bar while the ML-DSA hierarchy is built, but it does not replace it.
A Note on Composite Certificates
Composite signatures offer a transitional option worth watching. Composite ML-DSA, published as RFC 10073, pairs ML-DSA with a traditional algorithm such as RSA, ECDSA, or Ed25519 in a single key and signature. A composite signature is valid only when both component signatures verify, so it remains secure as long as either algorithm holds, protecting against both an attack on the classical algorithm and an unexpected weakness in ML-DSA. However, composite certificates do not change the core argument. A composite issuing CA under a classical root has exactly the same weakness as a pure ML-DSA issuing CA under that root. AD CS currently supports only pure ML-DSA, although Microsoft lists composite ML-DSA as planned for a future phase.
Summary
A PQC issuing CA under an RSA or ECC root looks like progress, but it leaves the hierarchy exactly as vulnerable to an attacker who can break classical cryptography as it was before, because the attacker simply targets the root. Real protection requires ML-DSA at every level of the hierarchy, followed by the removal of the classical root as an alternate trust path, and PQC readiness should be measured by the trust anchors your relying parties accept, not by the algorithms in issued certificates. With AD CS now supporting ML-DSA and federal agencies urging an accelerated transition, now is the time to build the root. If you’re planning an AD CS migration, build a parallel ML-DSA hierarchy (Microsoft documents the steps in Configure a Certification Authority to Use ML-DSA), test it with the applications and devices that will rely on it, and plan when each workload can stop accepting certificates that chain to the classical root.
Planning a PQC migration for your enterprise PKI? I help organizations assess PQC readiness, design and deploy ML-DSA hierarchies in AD CS, and plan the retirement of classical root CAs without disrupting the applications and devices that depend on them. Fill out the form below, and I’ll follow up, typically within one business day.
Many Always On VPN administrators configure the user tunnel to use Internet Key Exchange version 2 (IKEv2) first, then fall back to Secure Socket Tunneling Protocol (SSTP) when IKEv2 is unavailable. It sounds like a smart compromise, but in practice, it doesn’t work. After years of deploying Always On VPN for organizations of all sizes, my guidance is simple. Pick a protocol and stick with it. For the user tunnel, that protocol should be SSTP.
The Appeal of Protocol Fallback
The reasoning behind protocol fallback is easy to understand. IKEv2 is widely viewed as the more secure option and often appears on compliance checklists. However, it uses UDP ports 500 and 4500, which are commonly blocked on hotel, airport, and guest networks, and it is prone to connection failures caused by IP fragmentation. SSTP, by contrast, uses TCP port 443 and works nearly anywhere HTTPS does. Falling back from IKEv2 to SSTP appears to deliver the security of one with the reliability of the other. Historically, administrators enabled this behavior by editing the VpnStrategy setting in the rasphone.pbk file, as I described in Always On VPN IKEv2 and SSTP Fallback. More recently, Windows 11 introduced the ProtocolList native protocol type in the VPNv2 Configuration Service Provider (CSP), along with the RetryTimeInHours setting, to configure protocol preference natively.
Why Protocol Fallback Fails
Unfortunately, protocol fallback falls short in several important ways, including the following.
Unreliable Operation
In my experience, protocol fallback doesn’t work reliably, if at all. Clients often continue retrying IKEv2 and never attempt SSTP, leaving users without connectivity on the very networks fallback was supposed to address. In other cases, fallback works once, and the client then behaves unpredictably on subsequent connection attempts. A remote access solution that works only some of the time is not one users or help desk staff can depend on.
No Failover During a Session
Protocol selection happens only when the VPN connection is established. If an IKEv2 connection succeeds and later fails during the session, for example, because a stateful firewall drops the UDP session or a network path begins discarding IP fragments, Windows does not switch to SSTP. The user is simply disconnected. Fallback provides no resilience whatsoever once the tunnel is up.
A Broken Implementation
Microsoft’s implementation introduces problems of its own. With the legacy VpnStrategy configuration, Windows overwrites the setting after a fallback occurs, so a client configured to prefer IKEv2 will prefer SSTP on subsequent connections. A registry setting is supposed to prevent this, but it doesn’t always work as expected. The Windows 11 ProtocolList option in the VPNv2 CSP isn’t much better. As I documented in Always On VPN and VpnStrategy, when ProtocolList is defined, Windows always reports IKEv2 as the active protocol, even when the connection is established using SSTP. In addition, the VPN profile can no longer be managed with PowerShell because it doesn’t appear in the output of Get-VpnConnection.
Troubleshooting Complexity
Supporting two protocols also doubles the operational burden. Administrators must maintain certificates, cryptography settings, firewall rules, and load balancer configuration for both IKEv2 and SSTP. When users report connectivity problems, determining which protocol was attempted, which one failed, and why is far more difficult, especially when the client misreports the active protocol.
Pick a Protocol and Stick With It
My recommendation is to select a single VPN protocol for the user tunnel and configure it exclusively. A single protocol delivers predictable behavior, simpler infrastructure, and far easier troubleshooting. Windows 11 also supports SSTP as a native protocol type in the VPNv2 CSP, so administrators can configure an SSTP-only user tunnel directly, without relying on the Automatic protocol type or editing rasphone.pbk on every endpoint.
Always On VPN ProfileXML configured to use SSTP exclusively.
Platform Limitations
SSTP isn’t an option for every organization. It is a Microsoft-proprietary protocol supported by Windows Server Routing and Remote Access Service (RRAS), so organizations using non-Microsoft VPN platforms, such as Cisco, Check Point, Palo Alto Networks, and others, must use IKEv2 with the native Windows VPN client. In addition, Microsoft is retiring SSTP on Azure VPN Gateway. As of August 31, 2026, SSTP can no longer be enabled on Azure VPN gateways, and existing SSTP connections stop working on March 31, 2027. Organizations using Azure VPN Gateway for Always On VPN must migrate to IKEv2 or move to another VPN platform, as outlined in SSTP protocol retirement and connections migration.
SSTP Is the Right Choice for the User Tunnel
For most organizations, that single protocol should be SSTP, for the following reasons.
Firewall Friendly and Reliable
SSTP uses TCP port 443, the same port used for HTTPS, which is open on virtually every network. It isn’t affected by the IP fragmentation issues that plague IKEv2, and it can be load balanced using the same techniques used for any HTTPS web service. The result is consistent, dependable connectivity for users wherever they happen to be working.
IKEv2 Isn’t More Secure by Default
Technically speaking, IKEv2 can be configured with stronger security than SSTP. However, it isn’t by default. Out of the box, a Windows client connecting to a Windows Server RRAS server negotiates IKEv2 using 3DES encryption, SHA-1 integrity, and Diffie-Hellman (DH) group 2 (1024-bit) key exchange, all of which fall well short of today’s standards. Achieving strong IKEv2 security requires custom cryptography settings on both the client and the server, and those settings must match exactly, or connections fail. Organizations that choose IKEv2 for security but skip this configuration end up with a connection that is considerably weaker than they assume.
SSTP with TLS 1.3 Is Secure by Default
SSTP uses Transport Layer Security (TLS) to protect the tunnel. Beginning with Windows Server 2022 and Windows 11, SSTP supports TLS 1.3, which dramatically improves security with no additional configuration required. TLS 1.3 removes legacy and insecure cryptography entirely, and every TLS 1.3 cipher suite provides authenticated encryption and forward secrecy. Combined with certificate-based user authentication using Protected Extensible Authentication Protocol (PEAP), SSTP delivers strong protection that exceeds the security requirements of most organizations.
SSL Labs Server Test results for an Always On VPN SSTP server with TLS 1.3 enabled.
The test results also indicate that the server doesn’t support post-quantum cryptography (PQC) key exchange. That’s expected, as Windows RRAS and SSTP don’t support PQC yet. To learn more about PQC and how to prepare your organization for it, visit my Post-Quantum Cryptography (PQC) resources page.
Note: TLS 1.3 for SSTP requires Windows Server 2022 or later on the VPN server and Windows 11 on the client. For earlier versions, follow the guidance in Always On VPN SSTP Security Configuration to disable legacy protocols and optimize TLS cipher suites.
TLS Is Trusted Everywhere
Some administrators hesitate to use SSTP because it isn’t IPsec. There’s no reason for this concern. TLS is the same protocol that protects authentication to Microsoft Entra ID, online and commercial banking, payment card transactions, email, and nearly every software as a service (SaaS) application organizations depend on today. If TLS is trusted to protect your identity provider and your financial transactions, it is certainly secure enough for the Always On VPN user tunnel.
What About the Device Tunnel?
The device tunnel is the exception. Always On VPN device tunnel connections support only IKEv2 with machine certificate authentication, so there is no protocol choice to make. Administrators deploying a device tunnel must allow UDP ports 500 and 4500 through their firewalls, should consider enabling IKEv2 fragmentation, and must configure custom cryptography settings as described in Always On VPN IKEv2 Security Configuration. However, the device tunnel requirement doesn’t change my recommendation for the user tunnel. Using IKEv2 for the device tunnel and SSTP for the user tunnel is a common and fully supported configuration.
A Better Alternative: A Backup SSTP Connection
For organizations that must use IKEv2 for the user tunnel, perhaps because of a specific compliance mandate, there’s a better option than automatic fallback.
How a Backup SSTP Connection Works
Deploy the primary Always On VPN user tunnel using IKEv2 exclusively, then deploy a second VPN profile that uses SSTP exclusively. The backup profile isn’t configured as an Always On connection and doesn’t use trusted network detection, so it connects only when the user launches it manually. If the IKEv2 connection fails, the user (or the help desk) simply connects using the backup SSTP profile. Give the backup profile a clear, descriptive name so users can identify it easily, and keep its routing, DNS, and authentication settings consistent with the primary profile.
Deploying a Backup Connection with DPC
Always On VPN Dynamic Profile Configurator (DPC) includes native support for deploying a backup VPN connection, making this approach simple to implement. Administrators define the backup connection alongside the primary user tunnel settings using Active Directory group policy or Microsoft Intune, and DPC handles provisioning the profile and keeping it up to date on endpoints. DPC also includes an IKEv2 first, SSTP fallback protocol option, but for the reasons outlined previously, I recommend using the backup connection instead.
Always On VPN DPC Backup User Tunnel Settings in group policy.
Summary
IKEv2 with SSTP fallback looks good on paper, but it is unreliable in practice, offers no protection against failures during an active session, and suffers from implementation issues in Windows that make it difficult to manage and troubleshoot. Instead, pick a single protocol and stick with it. For the user tunnel, SSTP is the clear choice when your VPN platform supports it. It works on virtually any network, and with TLS 1.3 on Windows Server 2022 and Windows 11, it is more secure by default than IKEv2. If IKEv2 is a hard requirement, deploy a backup SSTP connection that users can launch manually when needed, which Always On VPN DPC makes easy.
In previous posts, I described how to configure CertKit to automatically deploy renewed TLS certificates to Microsoft Entra Application Proxy applications using client secret authentication and managed identity authentication. Client secret authentication works anywhere, but the secret is a bearer credential that can be copied, pasted, logged, or leaked. A managed identity eliminates the secret, but it requires the CertKit agent to run on an Azure virtual machine or an Azure Arc-enabled server. CertKit now supports certificate authentication, which offers the best of both. The private key is created on the CertKit agent server, protected by the Trusted Platform Module (TPM), and can’t be exported, and it works on any Windows server without an Azure dependency. Version 2.0 of my New-CertKitAppProxyIdentity.ps1 PowerShell script configures it end to end in a single run, using the same least-privilege permissions as the other methods. The following sections describe how to configure it using both PowerShell and the Entra admin center.
Why Use Certificate Authentication
With certificate authentication, CertKit signs in to Microsoft Graph by signing a client assertion with the certificate’s private key, and Entra validates it against the public key uploaded to the app registration. This approach offers several advantages, including the following.
No shared secret. Only the public key leaves the server. CertKit stores the certificate thumbprint, which is useless without the private key.
Bound to the server. The private key is created in the TPM and marked non-exportable, so it can’t be copied out of the server and used elsewhere.
Works anywhere. No Azure subscription, Azure virtual machine, or Azure Arc agent is required. The CertKit agent can run on any Windows server, on-premises or in any cloud.
The following table compares the three authentication methods CertKit supports for Entra App Proxy.
Client Secret
Managed Identity
Certificate
Where the agent runs
Anywhere
Azure virtual machine or Azure Arc-enabled server
Any Windows server
Credential
Shared secret entered in CertKit
Tokens issued by Azure
Private key stored in the TPM
Can be copied and reused elsewhere
Yes
No
No
Azure dependency
None
Azure subscription, plus Azure Arc outside Azure
None
Rotation
At least every 12 months
Not required
Every 30 to 365 days
A managed identity is a good choice when the CertKit agent already runs on an Azure virtual machine. For servers outside Azure, though, it carries a management burden. The server must be onboarded to Azure Arc, the Azure Arc agent must be kept up to date, the server needs outbound access to Azure endpoints, and an Azure subscription is required in the same tenant. Azure Arc-enabled servers also support only a system-assigned managed identity, which is shared with the Azure Arc agent and other services on the server. The Azure Arc core control plane is free, but add-on management services such as Azure Update Manager, Azure Policy guest configuration, and Microsoft Defender for Cloud are billed per server once enabled, and they’re easy to accumulate once servers are managed in Azure. Certificate authentication avoids all of this. There are tradeoffs, however. The certificate expires and must be rotated, and anyone with administrative access to the server can use the key to sign in as CertKit, even though they can’t export it. Least privilege limits the impact, just as it does with the other methods.
Requirements
Using certificate authentication with CertKit requires the following.
Access to the CertKit agent server. The certificate’s private key is non-exportable, so it must be created on the server running the CertKit agent, in an elevated PowerShell session. There’s no option to import an existing certificate.
A TPM (recommended). A physical TPM or a virtual TPM (vTPM) protects the private key in hardware. Most virtualization platforms provide a vTPM, including Hyper-V Generation 2 virtual machines, Azure virtual machines with Trusted Launch, and VMware vSphere, though it may need to be enabled. If no TPM is available, the key is stored in software instead. More on that below.
The Microsoft Graph PowerShell module on the agent host. The CertKit agent uses the Microsoft.Graph.Authentication module to sign in with the certificate. Since the agent runs as Local System, the module must be installed for all users. The configuration script uses the same module.
An administrative account. An account that can create custom roles, grant application permissions, and assign directory roles, such as Privileged Role Administrator or Global Administrator.
Microsoft Entra ID P1. This is already required for Application Proxy and custom roles. Assigning the role through Privileged Identity Management (PIM) requires Microsoft Entra ID P2 or Microsoft Entra ID Governance.
Required Permissions for CertKit
Certificate authentication uses an Entra app registration with the same least-privilege permissions as the client secret method, including the following.
Application.Read.All. A read-only Microsoft Graph application permission CertKit uses to find App Proxy applications in the tenant.
A custom Entra role. A custom role, named App Proxy Certificate Manager in this example, with only three permissions: read Application Proxy settings, update the Application Proxy SSL certificate, and read connector groups.
With these permissions, CertKit can’t add credentials to applications, change API permissions, or grant consent. For more details on these permissions and why built-in roles such as Application Administrator should be avoided, see the client secret post. If you’ve already created the custom role for another authentication method, you can reuse it.
Configuration Using PowerShell
You can perform the entire configuration in a single run using my New-CertKitAppProxyIdentity.ps1 PowerShell script on GitHub. Beginning with version 2.0, certificate authentication is the default. The script is also available in the PowerShell Gallery. On the CertKit agent server, open an elevated Windows PowerShell window and install the Microsoft.Graph.Authentication module for all users, along with the script, using the following commands. Be sure to use Windows PowerShell, not PowerShell 7, when installing the module. The two use separate module locations, and the CertKit agent uses Windows PowerShell.
Then run the script. Add -UsePim to assign the role through PIM, and -TenantId if your account has access to more than one tenant.
New-CertKitAppProxyIdentity.ps1 -UsePim
What the Script Does
A single run of the script performs the following steps.
Creates a self-signed certificate in the local computer’s personal certificate store, before anything changes in Entra.
Creates or reuses the custom role, the app registration, and its service principal.
Grants Application.Read.All and assigns the role, either directly or through PIM.
Uploads the public certificate to the app registration, named CertKit Agent – <computer name>.
Removes expired certificates and client secrets from the app registration, and expired CertKit certificates from the local store.
With -RemoveExistingCertificates, removes this server’s older certificates from Entra and the local store.
Displays the tenant ID, client ID, and certificate thumbprint to enter in CertKit.
Creating the certificate first means a TPM failure leaves the tenant untouched, with no partially configured app registration or role. If the certificate never reaches Entra, because of an error or a declined confirmation prompt, the script deletes it from the local store so nothing is left behind. When the script finishes, it displays output similar to the following.
KeyStorageProvider : Microsoft Platform Crypto Provider
CustomRole : App Proxy Certificate Manager
RoleAssigned : Through PIM
OldCertificatesRemoved : 0
ExpiredCertificatesRemoved : 0
LocalCertificatesRemoved : 0
ExpiredSecretsRemoved : 0
CertKit needs three values from this output: TenantId, ClientId, and CertificateThumbprint. Skip ahead to Configure CertKit to complete the configuration. To learn more about the certificate and its options, or to configure certificate authentication manually, continue reading.
Certificate Details
The script creates a self-signed certificate with the following settings.
Setting
Value
Subject
CN=CertKit App Proxy Agent, no subject alternative names
Key
RSA 2048, non-exportable
Signature
SHA256
Key usage
Digital Signature
Enhanced key usage
Client Authentication (1.3.6.1.5.5.7.3.2), or a custom OID
Validity
365 days by default; 30, 90, or 180 days with -CertificateValidityDays
Store
Cert:\LocalMachine\My
The key length is fixed at RSA 2048 because many TPMs don’t support larger RSA keys. The maximum lifetime is one year, which keeps rotation a practiced routine. With a TPM-protected key, the risk of key theft is low, so very short lifetimes add little. A 30-day lifetime is practical only if you automate rotation.
TPM Key Storage
The script first asks the Microsoft Platform Crypto Provider to create the private key in the TPM. If that fails, such as on a virtual machine without a vTPM or a server with the TPM disabled, the script displays a warning with the reason and stores the key using the Microsoft Software Key Storage Provider instead. A non-exportable software key resists normal export tools, but not a determined local administrator. If your security policy requires hardware-protected credentials, add -RequireTpm, which turns the fallback into an error before any changes are made to the tenant. The KeyStorageProvider value in the script output reports the provider actually holding the key.
Note: If the TPM is cleared or the server’s motherboard is replaced, the private key is lost. Run the script again to issue a new certificate.
Custom EKU
By default, the certificate includes the Client Authentication enhanced key usage (EKU), which works for all deployments. If your organization has a registered IANA Private Enterprise Number (PEN), you can use -CustomEku to replace Client Authentication with an object identifier (OID) under your PEN. Entra doesn’t check the EKU when CertKit signs in. It only verifies the signature against the uploaded public key. A custom EKU documents the certificate’s purpose and prevents it from being used for general client authentication elsewhere. The script validates the OID format, but it can’t confirm the PEN belongs to you. Windows displays a private EKU as Unknown Key Usage, which is expected. The following example uses 32473, a PEN reserved for documentation. Replace it with your own.
The same configuration can be performed manually. The certificate must still be created with PowerShell on the CertKit agent server, but the rest can be done in the Microsoft Entra admin center.
Create the Certificate
To begin, open an elevated PowerShell window on the CertKit agent server and create the certificate using the following commands. The private key is created in the TPM using the Microsoft Platform Crypto Provider and marked non-exportable. To use a custom EKU, replace 1.3.6.1.5.5.7.3.2 with your PEN-based OID.
Record the thumbprint, which CertKit needs later. If the server doesn’t have a TPM, the command fails. Remove the Provider line to store the key using the software key storage provider instead.
Export the Public Key
Next, export the certificate’s public key to a file. The private key isn’t included, and because it’s non-exportable, it can’t be.
Now create the app registration, grant the Application.Read.All permission, and create and assign the custom role as described in the client secret post. Skip the step to create a client secret. If you’ve already configured an app registration for client secret authentication, you can reuse it.
Upload the Certificate
Finally, upload the public certificate to the app registration.
Navigate to Entra ID > App registrations and select CertKit App Proxy Deployment.
Navigate to Certificates & secrets > Certificates and click Upload certificate.
Select the exported .cer file, enter a description, such as CertKit Agent – <computer name>, and click Add.
Confirm the thumbprint displayed matches the one recorded earlier.
Configure CertKit
With the app registration and certificate in place, create a new deployment in CertKit using the Microsoft Entra Application Proxy (Certificate Auth) template for the agent running on the server where the certificate was created. Select the certificate to deploy, then enter the Entra tenant ID, App registration (client) ID, and App registration certificate thumbprint. The thumbprint is displayed in the script output, or you can find it on the certificate’s Details tab in the Certificates (Local Computer) management console (certlm.msc) under Personal > Certificates. Then list the App Proxy applications to update by name, separated by commas, or enter an asterisk (*) as an app list wildcard to update all of them. If you update all applications, be sure to use a wildcard or multi-SAN (subject alternative name) certificate that covers the external URL of every App Proxy application you want CertKit to manage.
Deploy and Validate
After saving the CertKit deployment, wait a few minutes for the role assignment and API permission to take effect, then run the deployment. A successful run shows CertKit signing in as the app registration using the authentication certificate’s thumbprint, then lists each App Proxy application, whether its external URL is covered by the certificate, and the thumbprint Entra reports after the update.
Update command output:
Microsoft Entra Application Proxy Deployment | Apps: *
Signed in as the app registration <redacted> using certificate <redacted> (tenant <redacted>)
Graph permissions: Application.Read.All
Warning: The identity has no Microsoft Graph permission to update apps. Unless an Entra role allows it, uploads will be refused. Grant the application permission Application.ReadWrite.OwnedBy (admin consented) and add the identity as an owner of each App Proxy app.
[Step 3] Finding App Proxy apps...
Found 7 App Proxy app(s)
App1 (https://app1.example.net/): covered by this certificate
Private Access App: skipped, a Global Secure Access (Private Access) app, which has no TLS certificate
App2 (https://app2.example.net/): covered by this certificate
App3 (https://app3.example.net/): covered by this certificate
App4 (https://app4.example.net/): covered by this certificate
App5 (https://app5.example.net/): covered by this certificate
App6 (https://app6.example.net/): covered by this certificate
DONE | Updated 6 app(s), 0 already had the certificate. Entra takes a minute or two to start serving it.
CertKit displays a warning that the identity has no Graph permission to update apps, but you can safely ignore it, because the custom role grants that access. App Proxy can take several minutes to begin serving the new certificate. To confirm the certificate the endpoint is serving, use my Get-TlsCertificate PowerShell script, as described in the client secret post.
Get-TlsCertificate -Hostname app1.example.net
Certificate Rotation and Multiple Agent Servers
The authentication certificate must be rotated before it expires, or CertKit deployments will fail. Each time the script runs, it creates a new certificate, and you can rotate in one of two ways.
Two-step rotation. Run the script without additional switches, update CertKit with the new thumbprint, confirm a deployment succeeds, then delete the old certificate in the Entra admin center. There’s no downtime.
One-step rotation. Run the script with -RemoveExistingCertificates, which removes this server’s older certificates from Entra and deletes them locally, along with their private keys. CertKit deployments fail until it’s updated with the new thumbprint.
Expired certificates and client secrets are removed from the app registration automatically, and expired CertKit certificates are deleted from the local store, so cleanup happens with each run. Certificates are named after the server that created them in Entra, which lets multiple CertKit agent servers share a single app registration. Running the script on one server rotates only that server’s certificates and never touches another server’s. Certificates are identified by NetBIOS computer name, so be sure each agent server has a unique name. Also, if your tenant has an app management policy that limits credential lifetimes, it may reject a certificate with a longer validity period.
Migrating from Client Secret Authentication
Version 2.0 of the script includes two changes that may affect existing scripts or runbooks. First, certificate authentication is now the default, so running the script with no parameters creates a certificate and requires an elevated session on the CertKit agent server. Add -UseClientSecret to keep using client secrets. Second, client secrets are now limited to 12 months, down from 24, so -SecretExpirationMonths values greater than 12 are rejected. To move an existing deployment from a client secret to a certificate, use the following steps.
On the CertKit agent server, run the script in an elevated session with the same -DisplayName and -RoleName used originally. The existing app registration and role are reused, a certificate is added, and the script warns that client secrets remain.
Update the CertKit deployment to use certificate authentication with the new thumbprint, and confirm a deployment succeeds.
Delete the old client secrets in the Entra admin center under Certificates & secrets > Client secrets.
Removing the Configuration
To remove the configuration, use my Remove-CertKitAppProxyIdentity.ps1 PowerShell script. The script removes the role assignments, deletes the app registration along with its certificates and secrets in Entra, and keeps the custom role if another identity still uses it. Beginning with version 1.3, the -RemoveLocalCertificates switch also deletes the app registration’s certificates and private keys from the CertKit agent server. Run it in an elevated session on the agent server.
The script matches local certificates by thumbprint, so certificates belonging to any other CertKit app registration on the same server are left alone. Local certificates are deleted only after the app registration is deleted, so a declined prompt or a failure never breaks a working configuration. Use -WhatIf to preview the changes. If multiple agent servers share the app registration, the first server’s run deletes it, so the remaining servers can’t match thumbprints afterward. The script’s README on GitHub includes a command to clean them up manually.
Summary
Certificate authentication gives CertKit a credential that can’t leave the server it was created on. It provides stronger protection than a client secret without the Azure subscription, Azure Arc onboarding, and ongoing management a managed identity requires for servers outside Azure. It uses the same custom Entra role and read-only Application.Read.All permission as the other methods, so the configuration follows security best practices and enforces least privilege. With version 2.0 of New-CertKitAppProxyIdentity.ps1, the certificate, app registration, permissions, and role assignment are configured in a single run.
Need help automating TLS certificate deployment for Entra Application Proxy, Always On VPN, DirectAccess, IIS, SQL, and more? I can help you design and implement a secure, least-privilege certificate automation strategy with CertKit across your internal and public-facing workloads. Fill out the form below, and I’ll provide you with more information.
Microsoft recently published guidance outlining the firmware and platform changes required to support post-quantum cryptography (PQC) for UEFI Secure Boot on Windows devices. Windows already supports standardized PQC algorithms such as ML-KEM and ML-DSA in its cryptographic APIs, but Secure Boot is one of the more challenging pieces of the transition. While this guidance is aimed primarily at OEMs, independent BIOS vendors (IBVs), and firmware developers, anyone responsible for Windows security and PKI should be aware of what’s coming.
Timeline
Microsoft is taking a staged approach to PQC Secure Boot adoption, as outlined below.
Windows 27H2 – This is the capability and readiness milestone. PQC Secure Boot is optional and off by default, but devices that implement it must meet Microsoft’s published requirements.
Future Release – PQC Secure Boot will become the default on qualifying new Windows devices, currently targeted for the “Windows 2028 release cycle.”
Key Requirements
The requirements are based on UEFI 2.12 and introduce several notable changes, including the following.
UEFI 2.12 – This specification is not yet published. Until it is, proposed changes are tracked in the TianoCore PQC Code First backlog.
Composite Signatures – Firmware must support the composite algorithm MLDSA87-ECDSA-P384-SHA512 (OID 1.3.6.1.5.5.7.6.49). Standalone ML-DSA support is not a substitute.
Multi-Signed EFI Images – During the migration, boot images may carry both classical and PQC signatures. Firmware must verify each signature independently, and revoking one signature must not revoke the other.
TBS Certificate Hashes – Because PQC certificates are much larger than their classical counterparts, To-Be-Signed (TBS) certificate hashes provide a compact representation in db and DBX. Partners may only provision hashes whose certificate mappings are published in Microsoft’s Secure Boot Objects repository.
EFI Cryptographic Indicator Table (ECIT) – Firmware must accurately advertise its supported algorithms, OIDs, and certificate formats so Windows can discover PQC readiness rather than infer it from firmware versions.
Increased NVRAM – Devices require at least 256 KB of nonvolatile NVRAM for UEFI variables, with a maximum supported variable size of at least 128 KB.
KEK-Signed KEK Updates – UEFI 2.12 allows an existing trusted KEK to authorize adding a new KEK. Previously, this required the OEM-controlled Platform Key (PK).
New Trust Anchors
Microsoft will introduce a parallel set of PQC certificate authorities that mirror today’s Secure Boot hierarchy. These include the Windows UEFI PQC CA, Microsoft UEFI PQC CA, and Microsoft Option ROM UEFI PQC CA, along with corresponding KEK CAs and a Microsoft OEM Platform PQC CA. Final names, downloads, and fingerprints will be published later.
Summary
A cryptographically relevant quantum computer (CRQC) would be able to break the classical RSA and ECC signatures that Secure Boot relies on today, which is why this work is happening now. Moving Secure Boot to PQC is much more than adding a new signature algorithm. It touches certificate formats, signature processing, variable storage, capability discovery, and firmware servicing. Although Windows 27H2 is only a readiness milestone, devices purchased in the next few years will need to meet these requirements to participate. If you’re planning hardware refreshes or managing Secure Boot certificates today, now is the time to start paying attention.
Many third-party products authenticate users against Active Directory (AD) using the Lightweight Directory Access Protocol (LDAP) [RFC 4511]. Firewalls, VPN gateways, storage arrays, virtualization platforms, and countless line-of-business applications need a reliable way to query the directory and validate user credentials. Too often, these services are configured to use clear-text LDAP to a single domain controller, a design that exposes credentials on the network and fails when that domain controller goes offline. A better approach is to provide a highly available LDAP over Transport Layer Security (TLS) service, commonly called LDAPS, behind a load balancer, with certificates that renew automatically and never require manual intervention. Michael Waterman covers the architecture well in Building High Available LDAPS Architectures, and I build on that foundation here with automated certificate binding and renewal.
LDAP Security
Microsoft has been tightening LDAP security defaults for some time, and Windows Server 2025 continues that trend. Administrators deploying new domain controllers should be aware of the following changes.
LDAP Signing: Windows Server 2025 requires LDAP signing by default for new AD deployments. Domain controllers upgraded in place keep any existing signing policy.
Channel Binding: Windows Server 2025 sets LDAP channel binding to “When supported” by default. Domain controllers accept channel binding tokens when clients provide them but do not yet require them.
Channel Binding Auditing: Auditing for LDAP channel binding is enabled by default, allowing administrators to identify clients that do not support it.
Importantly, LDAP signing applies only to Simple Authentication and Security Layer (SASL) [RFC 4422] binds. Most third-party services use simple binds, which send the username and password in clear text when using LDAP on TCP port 389. Signing does nothing to protect these credentials, and Windows Server 2025 domain controllers that require signing reject simple binds over unencrypted connections entirely. Regardless of the domain controller’s signing configuration, clear-text LDAP is never recommended. LDAPS encrypts the entire session, including the bind, and should be used by any service that authenticates to AD.
LDAPS Clients
LDAPS clients are typically network appliances, non-Windows servers, and applications that need to authenticate users against AD but cannot take advantage of native AD features. These clients usually share the following traits.
Not Domain-Joined: The client is not a member of the domain and cannot use the domain controller locator to find a nearby, healthy domain controller.
Simple Bind: The client authenticates using a simple bind with a username and password instead of Kerberos.
Single Server: The client is configured with a single hostname or IP address for the directory server, with no awareness of AD sites or domain controller health. Some devices allow a secondary server, but failover behavior varies widely.
Separate Trust Store: The client does not automatically trust the enterprise public key infrastructure (PKI). Administrators must import the root and issuing Certification Authority (CA) certificates into the device’s trust store before LDAPS will work.
Examples beyond those mentioned previously include network access control platforms such as Cisco ISE and Aruba ClearPass, Linux hosts using the System Security Services Daemon (SSSD), and multifunction printers.
LDAPS Overview
LDAPS is simply LDAP protected by TLS, with the client connecting to the domain controller on TCP port 636. For the TLS handshake to succeed, the domain controller must present a certificate that meets the following requirements.
Server Authentication: The certificate must include the Server Authentication Enhanced Key Usage (EKU) (1.3.6.1.5.5.7.3.1).
Subject Name: The certificate must include the name the client uses to connect to the service in the Subject Alternative Name (SAN).
Private Key: The domain controller must have the certificate’s associated private key.
Trust: The certificate must chain to a root CA that the client trusts.
Certificate Selection
Domain controllers look for an LDAPS certificate in two places. A valid certificate in the NTDS service’s personal certificate store is always preferred. The local computer’s personal certificate store is used only when the NTDS store does not contain a suitable certificate. When multiple eligible certificates exist in the same store, the domain controller selects the one with the latest expiration date, which can lead to unexpected results when domain controllers have accumulated several Server Authentication certificates over time. Also, the certificate’s subject must match the domain controller’s FQDN for the certificate to be considered at all. Marc-André Moreau explains the selection process in detail in his excellent article, Active Directory LDAPS certificate selection deep dive.
Avoid Individual Domain Controllers
Configuring an LDAPS client to connect directly to a specific domain controller is a common practice, but it is problematic for many reasons. Domain controllers are routinely added, retired, and rebuilt, and each change requires updating every device that references the old server. In addition, a client configured with a single domain controller has a single point of failure. If that domain controller is offline for maintenance or fails unexpectedly, authentication for that service fails with it.
Domain Name Workaround
A simple workaround is to configure LDAPS clients to use the AD domain name (for example, corp.example.net) instead of an individual domain controller name (for example, dc1.corp.example.net). The AD domain name resolves to the IP addresses of all domain controllers in the domain, and no new certificate is required because the default Kerberos Authentication certificate template includes the domain name in the SAN. However, this approach relies on DNS alone. DNS has no awareness of domain controller health; clients may cache records for a failed server, and the domain name resolves to domain controllers in every site, including remote sites across slow WAN links. It works in a pinch, but it is not a substitute for a load balancer in enterprise deployments.
Load Balanced LDAPS
The recommended approach for enterprise deployments is to place domain controllers behind a load balancer and publish a dedicated LDAPS service name (for example, ldaps.corp.example.net) that resolves to the load balancer’s virtual IP address. Load balancer configuration is out of scope here, as it varies by vendor and operator preference. However, the load balancer must meet the following requirements.
TCP Port 636: The load balancer must distribute connections on TCP port 636.
TLS Passthrough: The load balancer must operate in TCP (layer 4) mode and must not terminate TLS. Terminating TLS on the load balancer prevents clients from validating the domain controller’s certificate and breaks LDAP channel binding.
Health Checks: I strongly recommend configuring health checks that validate the LDAPS service itself, not simply that TCP port 636 is open. Most commercial and open source load balancers support this configuration.
Note: Read-Only Domain Controllers (RODCs) should not be included in the load balanced pool. RODCs hold a read-only copy of the directory and return referrals for write operations, which can cause unexpected behavior for services that perform password changes or other directory updates.
Global Catalog
Some clients also require access to the global catalog (GC) over LDAPS on TCP port 3269. This is common in multi-domain forests, where a single LDAP server definition must locate and authenticate users from any domain, and with applications configured to use the GC port by default. In these scenarios, publish TCP port 3269 on the load balancer using the same TLS passthrough configuration and health checks, and ensure every domain controller in the pool is a GC server. The LDAPS certificate serves both ports, so no additional certificate configuration is required. Keep in mind that the GC holds only a partial set of attributes for objects in other domains. In a single-domain forest, TCP port 636 provides access to all directory data, and TCP port 3269 is not required.
Domain-Joined Clients
The load balanced LDAPS service is designed primarily for non-Windows systems using simple binds over LDAPS. Domain-joined Windows devices should not be configured to use the LDAPS service name. They should continue to use the DC locator and Kerberos natively, and the domain’s LDAP SRV records (for example, _ldap._tcp.corp.example.net), which domain controllers register and maintain automatically, must not be modified to point to the load balancer. Clients that attempt Kerberos authentication (SASL with the Generic Security Service Application Program Interface (GSSAPI)) to the service name will not work as expected because the required Service Principal Name (SPN) (ldap/ldaps.corp.example.net) can be registered on only one domain controller computer account. These clients will fall back to NTLM or fail entirely.
Certificate Requirements
Every domain controller in the load balanced pool must present a certificate that includes the LDAPS service name. To ensure consistent name coverage, the certificate’s subject should be the domain controller’s fully qualified domain name (FQDN), and the SAN should include the following names.
Domain controller FQDN (for example, dc1.corp.example.net)
Domain controller single-label hostname (for example, dc1)
Domain FQDN (for example, corp.example.net)
LDAPS service name (for example, ldaps.corp.example.net)
LDAPS service short name (for example, ldaps)
Not all of these names are strictly required for the load balanced service. However, the certificate bound to the NTDS store is used for every LDAPS connection to the domain controller, regardless of the name the client uses. Including all of these names ensures that clients connecting to the domain controller directly, to the domain name, or to the load balanced service name continue to work.
Note: The domain controller’s FQDN is used as the subject, rather than the LDAPS service name, so that each domain controller’s certificate is uniquely identifiable when approving requests, reviewing issued certificates, and troubleshooting connections through the load balancer. Modern TLS clients validate the server name against the SAN, not the subject, so the LDAPS service name only needs to appear in the SAN. Legacy clients that validate only the subject’s common name are rare but should be tested before deployment.
Create the Certificate Template
To create the certificate template, open the Certificate Templates management console (certtmpl.msc), right-click the Web Server template, choose Duplicate Template, and configure the following settings.
Compatibility Tab
On the Compatibility tab, select Windows Server 2016 for the Certification Authority and Windows 10/Windows Server 2016 for the Certificate recipient.
Certificate Template Compatibility Settings
Note: If any issuing CAs or domain controllers in the environment run an operating system older than Windows Server 2016, set the Compatibility Settings to match the oldest version in use. Selecting a version newer than the oldest CA or domain controller may prevent those servers from issuing or enrolling for the certificate.
General Tab
On the General tab, enter a descriptive name in the Template display name field (for example, LDAPS Service) and define the validity and renewal periods. The validity period should be no more than one year, and I recommend shorter lifetimes where practical. See The Case for Short-Lived Certificates in Enterprise Environments for more details.
Certificate Template General Settings
Note: The example shown here uses a short 14-day validity period with a 2-day renewal period. I strongly recommend testing the deployment with short-lived certificates (1 to 2 weeks) first. Short lifetimes allow administrators to observe several renewal cycles in a short period and confirm the automation is working as expected. Be sure the renewal period is shorter than the validity period. Once renewal automation is validated, update the template to use a longer validity period. Existing certificates adopt the new lifetime when they next renew.
Request Handling Tab
On the Request Handling tab, ensure that Allow private key to be exported is not selected.
Certificate Template Request Handling Settings
Cryptography Tab
On the Cryptography tab, select Key Storage Provider from the Provider Category drop-down list, RSA from the Algorithm name drop-down list, enter 2048 for the Minimum key size, and select SHA256 from the Request hash drop-down list. I recommend RSA 2048 because it provides the broadest compatibility with LDAPS clients. Elliptic Curve (EC) certificates are arguably a better choice from a security and performance perspective, but some services that require LDAPS may not support them.
Certificate Template Cryptography Settings
Subject Name Tab
On the Subject Name tab, select Supply in the request and check the box next to Use subject information from existing certificates for autoenrollment renewal requests. This allows the administrator to specify the subject and SAN when initially requesting the certificate, while ensuring the same names are included automatically when the certificate is renewed.
Certificate Template Subject Name Settings
Issuance Requirements Tab
On the Issuance Requirements tab, check the box next to CA certificate manager approval. Allowing the requester to supply the subject name means a certificate could be requested for any name, so requiring approval ensures that an administrator reviews each initial request before the certificate is issued. Next, select Valid existing certificate under Require the following for reenrollment. With this setting, renewal requests signed with the existing valid certificate are issued automatically without approval, which is essential for unattended renewal.
On the Extensions tab, confirm that Application Policies includes Server Authentication only. The Web Server template includes only Server Authentication by default, so no changes should be required.
Certificate Template Extensions Settings
Security Tab
On the Security tab, add the Domain Controllers group and grant Read, Enroll, and Autoenroll permissions. Do not grant permissions to the Read-Only Domain Controllers group.
Certificate Template Security Settings
Note: Only the Domain Controllers group should have Enroll permissions on this template. Do not grant Enroll or Autoenroll permissions to any other users or groups.
Publish Template
Once complete, publish the certificate template on the issuing CA. This can be done using the Certification Authority management console (certsrv.msc) or by running the following PowerShell command on the issuing CA.
Add-CATemplate -Name 'LDAPSService' -Force
Note: The Add-CATemplate cmdlet uses the template name, not the template display name. The template name is the display name without spaces by default.
Autoenrollment
Certificate autoenrollment must be enabled on domain controllers to renew LDAPS certificates automatically. I prefer to enable autoenrollment in a Group Policy Object (GPO) linked at the domain level, but at a minimum, the GPO must apply to the Domain Controllers organizational unit (OU). In the GPO, navigate to Computer Configuration > Policies > Windows Settings > Security Settings > Public Key Policies, open Certificate Services Client – Auto-Enrollment, and configure the following settings.
Note: Because the template requires the subject to be supplied in the request, autoenrollment will not enroll for the initial certificate. Autoenrollment only renews the certificate once it has been issued.
Certificate Enrollment
The initial certificate must be requested on each domain controller. Run the following PowerShell commands in an elevated PowerShell window on the domain controller. The domain controller’s hostname and domain name are determined automatically, so only the template name and LDAPS service name need to be updated to match your environment.
Note: The LDAPS service name does not have to be in the same DNS namespace as the AD domain. For example, ldaps.example.net is perfectly acceptable for the corp.example.net domain.
Because the template requires CA certificate manager approval, the request status will be Pending.
Certificate Request Pending Approval
Next, an administrator must approve the request. Open the Certification Authority management console (certsrv.msc) on the issuing CA and expand Pending Requests. Before issuing the certificate, inspect the request to ensure it is legitimate, confirming that the requester, subject name, and SAN entries match the expected domain controller and LDAPS service names. Once verified, right-click the request and choose All Tasks > Issue.
Issue Pending Certificate Request
Note: If role separation is enforced on the CA, or if the administrator requesting the certificate does not have certificate manager (Issue and Manage Certificates) permissions on the CA, another administrator may need to approve the request.
Once the request is approved, retrieve and install the certificate by running the following PowerShell commands on the domain controller.
Note: If the certificate cannot be retrieved in the same PowerShell session (for example, after waiting for approval), or if Get-Certificate returns an error because other requests are pending, use certreq.exe instead. Retrieve the issued certificate using the Request ID shown in the Certification Authority management console, then install it by running the following commands.
certreq.exe -retrieve 8636 .\ldaps.cer
certreq.exe -accept .\ldaps.cer
Bind the Certificate
Certificates issued from the new template are installed in the local computer’s personal certificate store. However, the domain controller’s existing certificates are also in that store, and any of them could be selected for LDAPS. To ensure the domain controller always presents the correct certificate, it must be added to the NTDS service certificate store. The Update-DcLdapsCertificate.ps1 PowerShell script, available on GitHub, automates this process. The script performs the following actions.
Searches the local computer’s personal certificate store for valid certificates issued from the specified template that include the LDAPS service name in the SAN, have an associated private key, include the Server Authentication EKU, and chain to a trusted root. If more than one certificate qualifies, the certificate with the latest expiration date is selected.
Imports the selected certificate into the NTDS service certificate store and confirms the import was successful.
Removes any other certificates from the NTDS service certificate store.
Forces Active Directory Domain Services (AD DS) to reload its certificate immediately, without a restart, then performs a TLS handshake on TCP port 636 to confirm the domain controller is serving the new certificate.
The script requires the ServiceCertStore PowerShell module. Install it by running the following PowerShell command.
Install-Module -Name ServiceCertStore
The script also requires the certificate template’s Object Identifier (OID). Find the OID on the Extensions tab of the template in the Certificate Templates management console (certtmpl.msc) under Certificate Template Information, or by running the following PowerShell command on the issuing CA.
Get-CATemplate
Certificate Template OID
Next, run Update-DcLdapsCertificate.ps1 manually to bind the initial certificate to the NTDS service certificate store.
Confirm that the certificate was added to the NTDS service certificate store by running the following PowerShell command.
Get-ServiceCertificates -ServiceName NTDS
NTDS Service Certificate Store
Automate Renewal
Autoenrollment renews the LDAPS certificate automatically, but it places the renewed certificate in the local computer’s personal certificate store, not the NTDS service certificate store. Left alone, the domain controller continues to serve the old certificate until it expires. The Register-DcLdapsCertificateTask.ps1 PowerShell script, also available on GitHub, closes this gap by creating a scheduled task that runs Update-DcLdapsCertificate.ps1 whenever a new certificate is installed. The scheduled task has the following characteristics.
The task is triggered by event ID 1006 (certificate installed) or event ID 1001 (certificate replaced) in the Microsoft-Windows-CertificateServicesClient-Lifecycle-System/Operational event log. Only certificates installed in the computer context that include the Server Authentication EKU trigger the task.
The task runs one minute after the event to ensure autoenrollment has finished installing the certificate and private key.
The task has no time-based trigger and never runs on a schedule.
The task runs as SYSTEM with highest privileges.
Run the following PowerShell command on each domain controller in the load balanced pool, specifying the same template OID and LDAPS service name used previously.
Note: By default, Register-DcLdapsCertificateTask.ps1 expects Update-DcLdapsCertificate.ps1 to be in the same folder. If Update-DcLdapsCertificate.ps1 is stored elsewhere, use the -ScriptPath parameter to specify its location. Be sure to store both scripts in a permanent location on the domain controller, as the scheduled task references the script at that path.
Validation
Once the certificate is bound and the scheduled task is registered, administrators should confirm that the LDAPS service is working as expected. I recommend using my Get-TlsCertificate.ps1 PowerShell script to view the certificate returned during the TLS handshake. Install the script from the PowerShell Gallery by running the following PowerShell command.
Install-Script -Name Get-TlsCertificate
Next, run the following PowerShell command to view the certificate presented by the load balanced LDAPS service.
Confirm that the subject, SAN, EKU, and expiration date are correct. Since the load balancer determines which domain controller responds, I also recommend running the command against each domain controller’s FQDN and comparing the thumbprint to the certificate in the NTDS service certificate store on that domain controller.
Finally, test LDAPS authentication using ldp.exe. Open ldp.exe, select Connection > Connect, enter the LDAPS service name in the Server field, enter 636 in the Port field, check the box next to SSL, and click OK.
ldp.exe Connection Settings
A successful connection confirms that TLS was negotiated with the LDAPS service name and returns the domain controller’s rootDSE information. The dnsHostName attribute identifies which domain controller the load balancer selected to service the request.
Successful LDAPS Connection
Next, select Connection > Bind, enter the username and password of a test account in the User and Password fields, choose Simple bind, and click OK.
ldp.exe Simple Bind Settings
A successful bind returns the message Authenticated as followed by the test account name, confirming that the LDAPS service is functioning correctly.
Successful LDAPS Simple Bind
Monitoring
Update-DcLdapsCertificate.ps1 records key outcomes in the Application event log using the event source Update-DcLdapsCertificate. Administrators can monitor these events to confirm renewals are processed successfully and to identify problems before the certificate expires.
Event ID
Level
Description
1000
Information
New certificate imported into the NTDS service certificate store and verified
1001
Information
Selected certificate is already bound to the NTDS service certificate store
1002
Information
Previous certificate removed from the NTDS service certificate store
1003
Information
LDAPS verified to be serving the new certificate
2000
Warning
Previous certificate not found in the NTDS service certificate store during cleanup
2001
Warning
Unable to signal AD DS to reload its server certificate
2002
Warning
LDAPS is serving a certificate other than the newly bound certificate
2003
Warning
Unable to complete a TLS handshake to verify the LDAPS certificate
3000
Error
The script terminated with an error
In addition, a detailed transcript of each run is written to %ProgramData%\RMHCI\PowerShell\Update-DcLdapsCertificate.log. Administrators can also monitor the LDAPS certificate externally using a certificate monitoring service such as CertKit, which supports internal TLS services, including LDAPS on domain controllers.
Summary
Providing a highly available LDAPS service for non-Windows systems eliminates clear-text credentials on the network and removes the single point of failure that comes with pointing devices at individual domain controllers. Placing domain controllers behind a load balancer with a dedicated service name, issuing certificates that cover every name clients may use, and automating the binding of renewed certificates to the NTDS service certificate store ensures the service remains available and secure without ongoing manual intervention.
I’m excited to announce that I’ll be delivering another edition of my Mastering Enterprise PKI Certificates with Microsoft Intune training course, hosted by the ViaMonstra Online Academy. This three-day live online course takes place February 3-5, 2027. It covers all aspects of issuing and managing enterprise PKI certificates with Microsoft Intune, using both on-premises Active Directory Certificate Services (AD CS) and Microsoft Cloud PKI for Intune. If you register before December 31, 2026, you’ll also receive a free one-year ViaMonstra All-Access Pass!
Course Overview
This interactive course gives IT professionals the practical skills they need to deploy, secure, and troubleshoot certificate infrastructure for Intune-managed endpoints. Each day includes live instruction, live demonstrations based on real-world scenarios, and plenty of time for questions. I also share the security best practices and hard-won lessons I’ve learned from years of deploying these solutions for customers.
What You’ll Learn
The course covers the following topics in depth.
Certificate and PKI Fundamentals: Certificate use cases, AD CS, Cloud PKI for Intune, and other PKI solutions.
AD CS for Intune: Root and issuing CAs, certificate templates, revocation, and CA security.
Intune Certificate Connector: Connector installation and configuration for both PKCS and SCEP, including service account requirements, along with imported PKCS and trusted certificate profiles.
PKCS Certificate Deployment: CA configuration, device configuration profiles, key storage, subject names, strong certificate mapping, and hardening.
NDES Deployment and Security Hardening: Networking and certificate requirements, NDES installation, security hardening, and publishing NDES to the Internet securely. I spend an entire day on NDES and SCEP alone!
Troubleshooting: Diagnosing connector installation, connectivity, enrollment, and revocation issues using event logs and other tools.
Cloud PKI for Intune: Licensing requirements, benefits and limitations, creating CAs, Active Directory integration, certificate templates, monitoring, and Bring Your Own CA (BYOCA).
Course Highlights
Here are some key highlights for those attending the training.
Live Instruction: Daily live webinars with time for Q&A, so you can ask me questions directly.
Live Demonstrations: Practical demonstrations based on real-world deployment scenarios.
Sample Scripts: Access to the sample scripts used in class, which you can reuse and modify in your own environment.
Session Recording: Each session is recorded, so you can review the material later.
Community: Connect with other IT professionals working on the same challenges.
Who Should Attend
This course is ideal for IT administrators, security professionals, and systems engineers who deploy or manage certificates with Intune, AD CS, or Cloud PKI for Intune. It’s also a good fit for those planning to move from on-premises NDES and SCEP to Cloud PKI for Intune, anyone who needs to harden an existing certificate deployment, and administrators migrating NDES and Intune Certificate Connector servers off Windows Server 2016 before it reaches end of life in January 2027.
Prerequisites
To get the most out of the course, attendees should have access to the following.
A working on-premises AD CS implementation.
An Azure subscription with a Microsoft Intune Suite license.
Intune licenses for PKCS and SCEP certificate deployment.
Register for this course before December 31, 2026, and you’ll receive a free one-year ViaMonstra All-Access Pass subscription, a $695 value! The All-Access Pass gives you a full year of access to ViaMonstra Online Academy’s training catalog, so you can keep learning long after class ends. Don’t wait, though. This offer expires at the end of the year.
Course Details
Here’s some additional information about the training event.
When: February 3-5, 2027, 9:00 AM to 4:30 PM Central Time (US and Canada).
Where: Live online via ViaMonstra Online Academy.
Cost: $2,395.00 (includes a free one-year All-Access Pass, a $695 value, when you register by December 31, 2026).
Workplace Ninjas US 2027 is less than two months away. After speaking at the first US event in Dallas last December, I’m happy to be back on the agenda for this year’s conference. It runs January 11–13, 2027, at The Scott Resort & Spa in Scottsdale, Arizona. Over three days, Microsoft MVPs, Microsoft product team members and community experts will cover endpoint management, identity, security and the modern workplace. If you manage Microsoft environments, this is one of the best ways to start the year.
Event Details
Here are the essentials for planning your trip.
Dates: January 11–13, 2027
Venue: The Scott Resort & Spa, Scottsdale, Arizona (walking distance to Old Town)
Format: Three days of in-person technical sessions
Topics: Microsoft Intune, Microsoft Entra, Microsoft Security, Copilot, Desktop as a Service (DaaS), and automation
My Sessions
I’m giving two sessions this year, and both deal with problems I see every week in customer environments.
Moving to Zero Trust: Entra Private Access for Always On VPN Administrators
Many organizations running Always On VPN are being asked to move to Zero Trust Network Access (ZTNA), and Microsoft Entra Private Access is often where they start. This session is for Always On VPN administrators planning that journey. After a high-level overview of Entra Private Access, I’ll focus on the migration itself. First, I’ll cover moving users and applications from VPN to Entra Private Access, including running both solutions side by side during the transition. Then I’ll show how to progress from broad, VPN-like access to per-application Zero Trust Network Access enforced with Conditional Access. You’ll leave with a practical, phased roadmap you can take back to your organization.
Session Time: Tuesday, January 12, 2027, 4:30–5:30 PM MST
Getting Started with Cloud PKI for Microsoft Intune
Cloud PKI for Intune lets organizations issue and manage user and device authentication certificates for Intune-managed endpoints without deploying Active Directory Certificate Services (AD CS) on-premises. In this session, I’ll explain how Cloud PKI for Intune works, the most common use cases, and the limitations to plan for before deploying it. I’ll also cover integration with an existing AD CS hierarchy using bring-your-own CA (BYOCA), along with security best practices for protecting the service and the administrators who manage it.
Session Time: Wednesday, January 13, 2027, 10:00–11:00 AM MST
Why Attend
Workplace Ninjas is a community-driven conference, and that is a big part of its value. The sessions are deeply technical and delivered by people who deploy these technologies in production, not just talk about them. The conversations between sessions are often just as valuable as the sessions themselves. Whether you’re planning a Zero Trust strategy, moving certificate services to the cloud, or modernizing endpoint management, you’ll leave with practical guidance you can apply right away. Please stop by after either of my sessions with your questions. I’m always happy to talk shop about Always On VPN, Entra Private Access, and PKI. And, as always, I’ll have stickers to give out, including some new ones that I’ve not shared before!
Registration
Registration is still open. Early-bird pricing has ended, but a standalone conference pass is $750 for all three days. If you’d rather not deal with lodging separately, bundles with a three-night hotel stay are available: $1,575 for The Scott Resort & Spa or $1,550 for the nearby Embassy Suites. For group registrations, contact the organizers. I hope to see you in Scottsdale!
Microsoft Windows has included IPv6 transition technologies since Windows XP. These protocols were designed to provide IPv6 connectivity across IPv4-only networks by encapsulating IPv6 traffic in IPv4, UDP, or HTTPS. They served a purpose during the early days of IPv6 adoption, but today they are legacy technologies that offer little value and introduce operational and security risks. Microsoft has disabled most of them by default in Windows for years now, but that doesn’t mean administrators should rely on default settings. Explicitly disabling these protocols ensures consistent, predictable behavior across all endpoints, regardless of how they were deployed or what configuration changes may have been made along the way.
IPv6 Transition Technologies
Windows supports four IPv6 transition technologies, each designed for a different scenario, including the following.
6to4: Automatically tunnels IPv6 traffic over the public IPv4 internet using 6to4 relay routers. Hosts with a public IPv4 address derive a 2002::/16 IPv6 address from their IPv4 address [RFC 3056].
Teredo: Tunnels IPv6 traffic in UDP (port 3544) to traverse IPv4 NAT devices. Teredo addresses use the 2001::/32 prefix [RFC 4380].
ISATAP: Intra-Site Automatic Tunnel Addressing Protocol (ISATAP) tunnels IPv6 traffic over an IPv4 intranet. Clients locate the ISATAP router by resolving the name “isatap” in DNS. ISATAP does not use a dedicated prefix. Instead, ISATAP addresses combine any IPv6 prefix with an interface identifier of ::0:5efe: followed by the host’s IPv4 address [RFC 5214].
IP-HTTPS: Tunnels IPv6 traffic in HTTPS (TCP port 443). IP-HTTPS was developed by Microsoft for DirectAccess and is defined in a Microsoft protocol specification rather than an RFC [MS-IPHTTPS]. It has no reserved prefix. Clients receive their IPv6 prefix from the DirectAccess server. IP-HTTPS is used only when a server URL has been configured, typically by DirectAccess Group Policy.
Disabled by Default
Microsoft began disabling IPv6 transition technologies by default early in the Windows 10 lifecycle. According to Microsoft’s deprecated features documentation, 6to4 has been disabled by default since Windows 10 1607 (Anniversary Update), ISATAP has been disabled by default since Windows 10 1703 (Creators Update), and Teredo has been disabled by default since Windows 10 1803. Microsoft formally deprecated these technologies in Windows 10 1803 and recommends using native IPv6 instead. All supported versions of Windows 10 and Windows 11 inherit these defaults. IP-HTTPS isn’t included in Microsoft’s deprecation notice. However, the IP-HTTPS client interface is dormant by default and becomes active only when a server URL is configured, which happens almost exclusively in DirectAccess deployments.
Why Disable Them Proactively
If these technologies are already disabled by default, it is fair to ask why administrators should bother disabling them explicitly. The answer is that “default” is not the same as “enforced”. Devices upgraded in place from older releases, images built years ago, third-party software, leftover DirectAccess Group Policy settings, or a local administrator running a single command can all change the state of these protocols. Explicitly disabling them through policy ensures they remain off and provides the following benefits.
Reliable Connectivity
Transition technologies depend on infrastructure that is increasingly unavailable or unreliable. Public 6to4 relays are operated by unknown third parties and have long been a source of connectivity failures, which led the IETF to deprecate the 6to4 anycast relay mechanism and recommend that 6to4 be disabled by default. Public Teredo servers are largely gone. When a transition interface is active but the path behind it is broken, applications may attempt IPv6 connections that time out before falling back to IPv4, resulting in slow application launches, intermittent failures, and difficult troubleshooting. Tunneling also reduces the effective MTU, which can cause fragmentation and path MTU discovery issues. Disabling these interfaces removes these variables entirely and ensures that endpoints use either native IPv6 or IPv4.
Reduced Attack Surface
IPv6 transition technologies can also be abused by attackers. Because they encapsulate IPv6 inside IPv4, UDP, or HTTPS, the inner traffic may not be visible to firewalls, intrusion detection systems, and other security controls that inspect only IPv4 traffic. Teredo is especially concerning because it is designed to traverse NAT, which can expose a host directly to unsolicited inbound IPv6 traffic from the internet and bypass perimeter security controls entirely. ISATAP clients locate their router by resolving the name “isatap” in DNS, which an attacker can hijack to insert themselves into the traffic path (this is why “isatap” is included in the Windows DNS Server global query block list by default). Attackers who gain a foothold on an endpoint can also enable these protocols to establish covert command-and-control or data exfiltration channels. Enforcing a disabled state through Group Policy or Intune ensures that any local change is reverted at the next policy refresh.
Important Considerations
Before disabling these technologies, administrators should confirm that nothing in the environment depends on them. DirectAccess clients rely on IP-HTTPS (and, in some deployments, Teredo and 6to4) for remote connectivity. Do NOT apply these settings to devices still using DirectAccess, or they will lose connectivity to the corporate network. Always On VPN does not use any of these technologies and is not affected. For organizations moving to IPv6, native IPv6 or IPv6-only networks with 464XLAT are the recommended path forward. On Windows, Windows CLAT (WinCLAT) provides the client-side component of 464XLAT, allowing IPv4 applications to continue working on IPv6-only networks.
Local Configuration with netsh.exe and PowerShell
The netsh.exe command and the PowerShell NetworkTransition module can be used to view and change the state of each transition technology locally. This is useful for ad-hoc configuration, testing, and validation before deploying settings at scale. All commands must be run from an elevated command prompt or PowerShell session. Note that settings configured using Group Policy or Intune take precedence over local settings.
In the output above, 6to4, Teredo, and ISATAP each report a state of Default rather than Disabled. Default means the protocol follows the operating system’s built-in behavior, which on all supported versions of Windows 10 and Windows 11 is disabled. Explicitly setting the state to Disabled ensures the protocol stays off regardless of future changes to the default.
Note: By default, Get-NetIPHttpsConfiguration returns no output. IP-HTTPS has no configuration on a Windows client unless one has been applied, typically by DirectAccess.
The equivalent netsh.exe commands are as follows.
netsh.exe interface 6to4 show state
netsh.exe interface teredo show state
netsh.exe interface isatap show state
netsh.exe interface httpstunnel show interfaces
Disable 6to4
To disable 6to4, run the following netsh.exe command or the Set-Net6to4Configuration PowerShell command.
netsh.exe interface 6to4 set state state=disabled
Set-Net6to4Configuration -State Disabled
Disable Teredo
To disable Teredo, run the following netsh.exe command or the Set-NetTeredoConfiguration PowerShell command.
netsh.exe interface teredo set state type=disabled
Set-NetTeredoConfiguration -Type Disabled
Disable ISATAP
To disable ISATAP, run the following netsh.exe command or the Set-NetIsatapConfiguration PowerShell command.
netsh.exe interface isatap set state state=disabled
After disabling these technologies, administrators can confirm that no transition interfaces are active. The Get-NetTeredoState and Get-NetIPHttpsState PowerShell commands display the operational state of Teredo and IP-HTTPS, and the Get-NetIPInterface command lists any remaining tunnel interfaces.
If no transition technologies are active, these commands return no output. To confirm that each protocol is disabled, run the Get-Net6to4Configuration, Get-NetTeredoConfiguration, and Get-NetIsatapConfiguration commands again. The State (or Type, for Teredo) for each should now report Disabled.
IPv6 Transition Technologies Disabled
DisabledComponents Registry Value
Administrators may encounter guidance recommending the DisabledComponents registry value (HKLM\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters) to disable IPv6 tunnel interfaces. Setting bit 0 (0x01) disables all IPv6 tunnel interfaces, and bits 1 (0x02), 2 (0x04), and 3 (0x08) disable 6to4, ISATAP, and Teredo, respectively. However, changes to this value require a restart, and Microsoft does not recommend disabling IPv6 components this way. The per-technology netsh.exe, PowerShell, Group Policy, and Intune settings are the preferred approach.
Active Directory Group Policy
For domain-joined devices, administrators can enforce these settings using Active Directory Group Policy. The settings are located in the tcpip.admx administrative template and write to HKLM\SOFTWARE\Policies\Microsoft\Windows\TCPIP\v6Transition on the client. To configure them, open the Group Policy Management Console (GPMC), create or edit a GPO linked to the appropriate OU, and navigate to Computer Configuration > Policies > Administrative Templates > Network > TCPIP Settings > IPv6 Transition Technologies.
Next, configure the following settings.
Setting
Configuration
Set 6to4 State
Enabled, Disabled State
Set ISATAP State
Enabled, Disabled State
Set Teredo State
Enabled, Disabled State
Set IP-HTTPS State
Enabled, Disabled State
Group Policy Settings to Disable IPv6 Transition Technologies
Group Policy IPv6 Transition Technologies Settings
Teredo, 6to4, and ISATAP
To disable Teredo, 6to4, and ISATAP, set each policy to Enabled and select Disabled State from the drop-down list. The Set Teredo State setting is shown below. Set 6to4 State and Set ISATAP State are configured the same way.
Set Teredo State Group Policy Setting
Note: The help text for the Set Teredo State setting says the default state is Client. This description dates back to Windows 7 and is outdated. Teredo has been disabled by default since Windows 10 1803.
IP-HTTPS
The Set IP-HTTPS State policy requires a value in the IPHTTPS URL field, even when the state is set to Disabled. Enter about:blank in this field.
Set IP-HTTPS State Group Policy Setting
Intune Settings Catalog
For devices managed by Microsoft Intune, these settings are available in the Settings Catalog as ADMX-backed policies using the Policy CSP (ADMX_tcpip). To configure them, open the Microsoft Intune admin center, navigate to Devices > Configuration > Create > New Policy, select Windows 10 and later for the platform and Settings catalog for the profile type, and then click Create. Provide a name and description for the policy and click Next.
Intune Settings Catalog Profile
On the Configuration settings page, click Add settings and search for “IPv6 Transition Technologies”. Select the Administrative Templates Network TCPIP Settings | IPv6 Transition Technologies category and then select Set 6to4 State, Set IP-HTTPS State, Set ISATAP State, and Set Teredo State.
Intune Settings Picker
Enable each setting and select Disabled State from the drop-down list. As with Group Policy, the Set IP-HTTPS State setting requires a value in the IPHTTPS URL field. Enter about:blank in this field. Click Next, assign the profile to the appropriate device groups, and then click Create.
The IPv6 transition technologies 6to4, Teredo, ISATAP, and IP-HTTPS have outlived their usefulness. Microsoft has disabled most of them by default since early Windows 10 releases, but relying on defaults leaves room for drift, misconfiguration, and abuse. Explicitly disabling them using Group Policy or Intune ensures reliable connectivity and removes a potential avenue for attackers, while netsh.exe and PowerShell provide a quick way to test and validate the configuration locally. Just be sure to exclude any devices that still rely on DirectAccess.
Microsoft recently introduced Device Access for Entra Private Access, now available in public preview with Global Secure Access (GSA) client v2.35.136. Device Access lets Windows devices connect to selected private resources before a user signs in. It’s especially useful for hybrid Entra-joined endpoints, which still rely on on-premises Active Directory for authentication, Group Policy, and management. For pre-logon connectivity, Device Access gives Entra Private Access feature parity with the Always On VPN device tunnel and the DirectAccess infrastructure tunnel, which removes one of the last obstacles for organizations moving from traditional VPN to Global Secure Access. However, it does not support the manage-out scenario that Always On VPN and DirectAccess provide. Microsoft’s documentation covers configuration in detail, so the following sections focus on what Device Access is, how it works, and what administrators should consider before deploying it.
The Pre-Logon Problem
Until now, the GSA client set up tunnels only after a user signed in, so devices couldn’t reach on-premises resources at startup or from the Windows sign-in screen. This matters most for hybrid Entra-joined endpoints. Entra-joined devices authenticate users against Entra ID and can sign in from anywhere with internet access. Hybrid-joined devices, however, are joined to on-premises Active Directory and must reach domain controllers and other on-premises infrastructure to complete several common tasks, including the following.
First-time sign-in for a user without cached credentials
Password changes and resets at the Windows sign-in screen
Computer and user Group Policy processing
Time synchronization with the domain hierarchy
Machine account password updates and other domain maintenance tasks
Connectivity to on-premises management tools such as Configuration Manager and WSUS
Without a pre-logon connection, remote hybrid-joined devices slowly drift out of compliance with on-premises policy, and new users or users with expired passwords must come into the office or use a separate VPN to sign in. As a result, many organizations kept Always On VPN or DirectAccess in place alongside Global Secure Access. Device Access closes this gap by keeping the device connected to the domain whenever it has internet access.
How Device Access Works
Device Access authenticates the device itself to Global Secure Access and opens a device tunnel for a selected set of private applications. The GSA client now runs in one of the following two contexts.
Device context: The device tunnel is active after a restart and before sign-in, after sign-out, while the session is locked, and after the device resumes from sleep or hibernation.
User context: Once the user signs in and user tunnels are established, existing connections drain over the device tunnel and new connections use the user tunnel. If the user context is no longer available, the client returns to the device context.
Feature Parity with Always On VPN and DirectAccess
Administrators familiar with Always On VPN and DirectAccess will recognize this model. The Always On VPN device tunnel and the DirectAccess infrastructure tunnel both connect before the user signs in. They give the device access to domain controllers, DNS, and management servers so that remote endpoints can be managed like devices on the corporate network. Device Access delivers the same pre-logon capability with Entra Private Access. Like those solutions, it’s best practice to limit the device tunnel to infrastructure resources and leave application access to the user tunnel, where Conditional Access and per-user policy apply. For organizations that want to replace Always On VPN or DirectAccess with Global Secure Access, Device Access closes the last major functional gap for pre-logon connectivity. Note that the Always On VPN device tunnel and DirectAccess support only domain-joined devices, but Device Access requires devices to be hybrid Entra-joined or Entra-joined. Organizations migrating from either platform should plan to complete hybrid join before rolling out Device Access.
No Manage-Out Support
One important Always On VPN and DirectAccess capability is not available with Device Access. Always On VPN and DirectAccess support manage-out, where administrators and management systems on the internal network initiate connections outbound to remote clients. Common examples include remote assistance, Remote Desktop, remote PowerShell, and on-premises tools that push software or scan endpoints. Manage-out works with those solutions because the remote client has an IP address that is routable on the internal network, either an address from the VPN client address pool with Always On VPN or an IPv6 address with DirectAccess. Entra Private Access works differently. The GSA client functions like a proxy, sending outbound connections through the Global Secure Access service to a Private Network Connector, which then connects to the internal resource on the client’s behalf. Internal resources see the connector server’s IP address, not the client’s, and the endpoint never receives a routable internal IP address. As a result, there’s no network path from the internal network back to the client, and Device Access doesn’t change that. Organizations that rely on manage-out today should identify cloud-based alternatives, such as Microsoft Intune for device management and remote actions, Intune Remote Help for remote assistance, and Microsoft Defender for Endpoint live response, before retiring Always On VPN or DirectAccess.
Key Components
Device Access builds on existing Entra Private Access components and adds a new type of forwarding profile. A deployment includes the following elements.
Device Access profile: A new Private Device Access profile, configured under Global Secure Access > Connect > Traffic forwarding > Device Access profiles. It has its own acquisition rules, priority, and status, independent of user-context forwarding profiles.
Per-application opt-in: Each private application the device needs must have the Enable Device Access with Global Secure Access setting turned on. This setting is off by default, and only applications with it enabled can be added to the profile.
Private DNS: Required for Active Directory scenarios so Windows can locate domain controllers using the on-premises DNS suffix. If Private DNS is configured on Quick Access, the profile uses only the Quick Access Private DNS definitions. It does not use the Quick Access application segments.
Assignments: The profile is assigned to devices (No devices, All devices, or Selected devices) and to the Windows platform.
Enable Device Access with Global Secure Access Setting
Requirements
Before deploying Device Access, administrators must meet the following prerequisites.
Windows devices that are hybrid Entra-joined or Entra-joined. Devices that are only domain-joined are not supported.
The Device Access-compatible GSA client (v2.35.136 or later), deployed through Intune or another MDM solution.
Private network connectors deployed for the networks that host the target resources.
Application segments for each private resource the device must reach, including domain controllers published as their own private application.
No additional license. Device Access is included with Global Secure Access for all currently eligible users.
Limitations
Device Access is currently in preview and has the following limitations.
Windows only.
Private Access traffic only. Internet Access and Microsoft 365 traffic is not tunneled in the device context.
No manage-out. Internal systems cannot start connections to remote clients.
Configuration changes can take several minutes to take effect.
Deployment Considerations
The device tunnel is active whenever no user is signed in, so administrators should treat it as a privileged path into the network. Enable Device Access only for the applications that devices actually need before sign-in, such as domain controllers, DNS, and management infrastructure. To stage a profile without applying it, set its status to Disabled or its device assignment to No devices, then roll it out to a pilot group first. To verify the profile on a client, open Advanced diagnostics > Forwarding profile > Device in the GSA client and use the Context column on the Traffic tab to see whether connections use the device or user tunnel. In the Entra admin center, filter traffic logs by the Device security principal type. If a device is lost or compromised, disable its device object in Entra ID and remove it from the Device Access profile assignment. Disabling the device object blocks the device tunnel.
GSA Client Device Forwarding Profile
Summary
Device Access gives Entra Private Access pre-logon connectivity, which hybrid Entra-joined endpoints need for sign-in without cached credentials, password changes, Group Policy processing, and on-premises management. It matches the Always On VPN device tunnel and DirectAccess infrastructure tunnel for pre-logon scenarios and closes the last major functional gap for pre-logon connectivity between Global Secure Access and both solutions. However, because the GSA client functions like a proxy and the endpoint has no routable internal IP address, Device Access does not support manage-out, and organizations that depend on it will need an alternative approach. Organizations migrating from Always On VPN or DirectAccess should make sure their endpoints are hybrid Entra-joined, plan for manage-out alternatives, limit the device tunnel to infrastructure resources, and test with a pilot group, since the feature is still in preview.