> ## Documentation Index
> Fetch the complete documentation index at: https://help.allthenticate.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Certificate logon for Active Directory and hybrid computers

> Paths C and D: domain accounts sign in with a certificate from your AD CS through the Domain Controller Bridge, set up with an Allthenticate engineer.

The certificate is held on the phone and requested from your [Active Directory Certificate Services](https://learn.microsoft.com/en-us/windows-server/identity/ad-cs/active-directory-certificate-services-overview) (AD CS) through Domain Controller Bridge version 1.5.0. Setup happens on an implementation call, not self-service; this guide covers what to prepare and what happens on the call.

## Who can use it

* Active Directory accounts, including ones synced to Entra ID, on domain-joined and hybrid-joined computers.
* Not cloud-only Entra ID accounts (`whoami` shows `AzureAD\...`): they don't exist in your domain. On hybrid computers they use [passkeys](https://help.allthenticate.com/windows/entra/passkeys.md), including the Entra Kerberos server object.
* Not computers joined only to Entra ID (`DomainJoined : NO`): use [Entra ID certificate sign-in](https://help.allthenticate.com/windows/entra/certificate-sign-in.md).

If you already use passkeys with an Entra Kerberos object on hybrid computers, they keep working. Certificate logon is our standard path for hybrid because users are enrolled automatically from Active Directory.

## How it works

The bridge reads users from your domain controller over LDAPS, optionally only members of groups you choose. Users added to Active Directory are invited to your Allthenticate organization, and users removed are deleted from it. For each user, the phone creates a key and a certificate request, the bridge hands the request to your CA, and the certificate goes back to the phone. The private key never leaves the phone.

```mermaid theme={null}
flowchart LR
    DC["Domain controller"] -->|"Users, over LDAPS"| BR["Domain Controller Bridge"]
    BR -->|"Certificate requests, over CES or WCCE"| CA["AD CS certification authority"]
    CA -->|"Issued certificates"| BR
    BR <-->|"Users, requests and certificates, over HTTPS"| AT["Allthenticate"]
    AT <-->|"Certificate requests and certificates"| PH["Phone with the Allthenticator app"]
```

At sign-in, the phone approves and signs over Bluetooth, and your domain controller validates the certificate and issues the computer a Kerberos ticket. Signing in needs no connection to Allthenticate.

```mermaid theme={null}
sequenceDiagram
    participant U as User
    participant PC as Domain-joined computer
    participant P as Phone
    participant DC as Domain controller
    U->>PC: Selects the Allthenticate tile
    PC->>P: Sign-in request over Bluetooth
    U->>P: Approves the prompt
    P->>PC: Signs with the certificate's key
    PC->>DC: Kerberos certificate logon (PKINIT)
    DC->>PC: Validates the certificate and issues a ticket
```

The bridge makes only outbound connections. Nothing needs to reach into your network. See [Network access](https://help.allthenticate.com/windows/network-access.md#domain-controller-bridge).

## Choose an enrollment path

The bridge hands each certificate request to your CA in one of two ways. Both use the same template, enrollment agent certificate, Certificate Generation Policy and phone flow. Settle the choice before the call, because the accounts and network rules differ.

| | Web enrollment (CES) | Native enrollment (WCCE) |
| - | - | - |
| What the CA needs | The CES role on the CA or a domain-joined IIS server, reachable over HTTPS | Nothing extra: the CA's built-in DCOM interface |
| Bridge host | Docker on Linux, or the Windows build | The Windows build on a domain-joined Windows host |
| How the bridge authenticates to the CA | A CES user name and password, or a client certificate, in the configuration | The Windows account the bridge runs as; no credentials in the configuration |
| Network from the bridge to the CA | HTTPS (443) to the CES endpoint; `HTTPS_PROXY` works | TCP 135 plus the CA's dynamic RPC ports, directly on your internal network |
| Choose it when | CES is already deployed, or you want a Docker host | CES and CEP are disabled (a common fix for the ESC8 relay attack), or you'd rather not run IIS |

A bridge's configuration holds at most one of the two. With neither, the bridge syncs users but requests no certificates.

## Accounts you need

| Account | Used for | Notes |
| - | - | - |
| **LDAP bind account** | Reading users from the domain controller | A standard domain user with read access to the target OU and no certificate rights. With Kerberos LDAP authentication (Windows build), the bridge's run-as account binds instead. |
| **Enrollment Agent certificate owner** | Holds the certificate the bridge signs each user's request with | A normal user account, not a gMSA, because its certificate is requested by signing in interactively. |
| **CES authentication account** (CES only) | Authenticating the bridge to CES | Usually the same account as the enrollment agent owner. Not a gMSA. |
| **Bridge's run-as account** (WCCE, or Kerberos LDAP) | The account the bridge service runs as, which the CA and domain controller see | A gMSA such as `gmsa-dcbridge$` (recommended), or NetworkService, which appears as the host's computer account `DOMAIN\HOST$`. |
| **CES application-pool account** (CES only) | Runs the CES web service in IIS | Created when CES is installed. Never reuse it for any other account here. |

## Before the call

**1. Book the implementation call**

Fill out the [Windows Environment Scoping Form](https://allthenticate.notion.site/6e6577d2c0674cfa813ef528fc554060) to schedule it.

**2. Work through the checklist**

* A Domain Admin (or delegated rights to read the target OU and create service accounts) and a CA administrator who can join the call. With CES, installing the CES role needs Enterprise Admins.
* Access to the CA's **Certification Authority** and **Certificate Templates** consoles. For WCCE, a CA administrator who can edit the CA's and template's **Security** tabs and restart Certificate Services.
* A bridge host that can reach the domain controller and the CA: Linux with Docker (CES only) or a domain-joined Windows host (CES or WCCE).
* The accounts above for your enrollment path.
* The firewall rules in [Network access](https://help.allthenticate.com/windows/network-access.md#domain-controller-bridge) opened.
* A test OU with at least one test user whose **E-mail** attribute is filled in. Allthenticate creates each user's account with that address.
* A domain-joined Windows test computer where you have local administrator rights, with a Bluetooth adapter that supports Bluetooth Low Energy in the peripheral role.
* A phone with the Allthenticator app, and an admin portal account with the **Super Admin** role.

**3. Prepare what you can**

Work through [Prepare Active Directory](https://help.allthenticate.com/windows/active-directory/prepare-active-directory.md) and [Configure AD CS](https://help.allthenticate.com/windows/active-directory/certificate-services.md), and get the bridge host ready as in [Install the bridge](https://help.allthenticate.com/windows/active-directory/bridge.md). Only the bridge ID and secret come from the call.

## Set it up

Work through these pages in order. Each ends with validation checkpoints; don't move on until they pass.

> [card] [Prepare Active Directory](https://help.allthenticate.com/windows/active-directory/prepare-active-directory.md)
>
> LDAPS, the bind account, base DN, user emails, and how directory changes affect users.

> [card] [Configure AD CS](https://help.allthenticate.com/windows/active-directory/certificate-services.md)
>
> The smart card logon template, the enrollment agent certificate, and CES or WCCE.

> [card] [Install the bridge](https://help.allthenticate.com/windows/active-directory/bridge.md)
>
> Register the bridge, install it as a Windows service or in Docker, and configure it.

> [card] [Issue certificates and sign in](https://help.allthenticate.com/windows/active-directory/first-sign-in.md)
>
> Create the policy, follow the first certificate, and sign in on a test computer.

After the call, the team that runs the bridge uses [Operate the bridge](https://help.allthenticate.com/windows/active-directory/operate.md), [Bridge configuration](https://help.allthenticate.com/windows/active-directory/configuration.md) and [Troubleshooting](https://help.allthenticate.com/windows/active-directory/troubleshooting.md).

## Admin portal access and audit trail

* Everything on the **DC Bridging** page, including viewing it, requires the **Super Admin** role. Other admins see the menu entry but get loading errors, not a permission message.
* Creating or deleting a Certificate Generation Policy is confirmed on the acting admin's phone. Registering or deleting a bridge isn't.
* Certificate sign-ins appear on the **Logs** page as **Certificate Logon** with the certificate thumbprint. Bridge registration, policy changes and the changes the sync makes aren't logged there; use your CA's **Issued Certificates** view and the domain controller's Key Distribution Center events as well.

For what the bridge sends to Allthenticate and what's stored, see [Data handling](https://help.allthenticate.com/windows/data-handling.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.