Skip to main content
The Domain Controller Bridge (version 1.5.0) is a small program you run inside your network. It reads users from Active Directory, hands each user’s certificate request to your CA, and returns the certificate to Allthenticate. It makes only outbound connections. You do the registration and first start together with your Allthenticate engineer on the call; everything else can be prepared beforehand.

Register the bridge

1

Open DC Bridging

Sign in to the admin portal as a Super Admin and select DC Bridging in the left menu. On the Bridges tab, select Register Bridge.
2

Copy the secret and the ID

The portal shows the bridge secret once. Copy it before you close the dialog. The bridge ID is the number after # on the bridge card, for example Bridge #29.
Each organization can currently have one bridge. Synced users are placed in the DC Sync Group.
Treat the bridge secret like a domain administrator credential. Whoever holds it can invite and delete users in your Allthenticate organization. Keep it in your secrets manager, never in a ticket or chat. It can’t be rotated in place: rotating means deleting every Certificate Generation Policy (and with them all certificate records), deleting the bridge, registering a new one, updating the configuration, re-creating the policies and re-enrolling every user.

Choose where to run it

Don’t run the bridge on a domain controller (where NetworkService and SYSTEM are the domain controller’s own account) or on the CA host. Its enrollment agent certificate can obtain logon certificates for your users, so administer the host as Tier 0: only Tier 0 administrators in its local Administrators group, nothing else installed, and patching and monitoring like a domain controller.

Install on Windows

1

Download and verify the executable

Download dc-bridge-windows-x86_64.exe, always the latest release, and its .sha256. version.json says which version that is, and each release stays available as dc-bridge-<version>-windows-x86_64.exe, for example dc-bridge-1.5.0-windows-x86_64.exe. Any computer with HTTPS to software.allthenticate.com can download them; copy them to the bridge host.Check the file before you run it:
Check the signer’s name, not the issuing CA. The chain ends at Microsoft Identity Verification Root Certificate Authority 2020; a host without automatic root updates (common on servers) reports UnknownError until that root is installed. SmartScreen may warn about a new release until it builds reputation.
2

Create the bridge folder

Create a folder of its own, for example C:\ProgramData\dc-bridge, copy the executable into it as dc-bridge.exe, and add the enrollment agent PFX and any CA certificate files. service install refuses a drive root, C:\Windows, C:\Program Files, C:\ProgramData itself, C:\Users and user profiles.
3

Write the placeholder files

Open PowerShell in the folder and run .\dc-bridge.exe. With no configuration present, it writes a placeholder dc-bridge-config.json and a .env listing the variables the placeholder uses, then exits. It reads both files from its working directory, not from the executable’s folder; --config and --env-file point it elsewhere.
4

Fill in the configuration

The placeholder isn’t ready to run. Replace every bracketed value, set bridge.id, and put the secrets in .env. Set period to 3600 and poll_period to 300: the placeholder’s 5 is for testing only. The placeholder uses Kerberos LDAP authentication and a ces block; for NTLM or WCCE, swap the blocks as described in Bridge configuration. Write Windows paths with doubled backslashes. See Example configurations.
5

Test from a console

Run .\dc-bridge.exe, read the output, and stop it with Ctrl+C. A console run reaches the CA and the directory as you, not as the run-as account, so it tests configuration and startup only.
6

Install and start the service

In an elevated PowerShell in the bridge folder:
--account is required. See Run-as account to choose one.
Get-Service dc-bridge shows Running, and logs\dc-bridge.log in the bridge folder has a line with dc-bridge service running and account="DOMAIN\\name" naming the run-as account. The log doubles each backslash; that’s escaping, not an error.
A healthy start of a WCCE bridge running as a gMSA with Kerberos LDAP authentication looks like this at the info level. The last two lines appear once the first certificate request reaches the bridge. With the enrollment agent certificate in the Windows certificate store, the first line is Using enrollment agent certificate <thumbprint> in LocalMachine\My (…) instead.
groups=0 means no group_dns restriction; any other number is how many group_dns entries there are.

What service install sets up

After install, only SYSTEM, Administrators and the service can open the folder, so edit files, upgrade or run .\dc-bridge.exe --version from an elevated PowerShell. .\dc-bridge.exe service uninstall removes the service and leaves the configuration, secrets, logs and permissions in place. Running service install a second time is refused; uninstall first to change the account or paths.

Run-as account

The run-as account is who the domain controller sees for Kerberos LDAP, and who the CA sees for WCCE.
  1. Check that the forest has a KDS root key with Get-KdsRootKey. If it lists none, a domain administrator runs Add-KdsRootKey -EffectiveImmediately and waits about 10 hours before creating the gMSA.
  2. As a domain administrator, create the gMSA, with the bridge host’s computer account allowed to retrieve its password. The name can be at most 15 characters, not counting the $:
  3. On the bridge host, install the Active Directory PowerShell module and test the gMSA:
  4. If a Group Policy defines Log on as a service on the bridge host, add the gMSA to that policy. Otherwise the policy replaces the grant service install adds, and the service fails to start with error 1069.
  5. With Kerberos LDAP authentication, give the gMSA read access to the synced OU. With WCCE, grant it the CA rights in Configure AD CS.
Use a scheduled task only where a service isn’t wanted. Registering the console program as a service with sc.exe create or New-Service doesn’t work: it fails with error 1053.
  • Set Start in to the bridge folder, or pass absolute --config and --env-file paths. A task with no Start in runs in C:\Windows\System32 and stops with exit code 101 (0x65) and failed to write placeholder config: … Access is denied.
  • Select Run whether user is logged on or not and leave Do not store password cleared, so the task has network credentials.
  • Clear Stop the task if it runs longer than on the Settings tab (3 days by default).
  • The Task Scheduler dialog doesn’t accept a gMSA. Set it from PowerShell, and give the gMSA Log on as a batch job on the host:
  • A task keeps no output. To keep a log, run cmd.exe /c dc-bridge.exe >> C:\ProgramData\dc-bridge-logs\dc-bridge.log 2>&1 with a separate log folder the task’s account can modify, and add NO_COLOR=1 to .env.
  • Once setup is finished, lock the bridge folder yourself, because a new folder under C:\ProgramData inherits read access for local users:
    Grant the task’s account by name (in single quotes for a gMSA, whose name ends in $). Under NetworkService grant NT AUTHORITY\NETWORK SERVICE. Don’t lock the folder before the first run, which writes the placeholders there.

Install with Docker

The Docker image runs CES with NTLM only. Images are published per release as allthenticate/allthenticate-dc-bridge:<version> on Docker Hub, for linux/amd64, with no latest tag.
1

Create the files first

On the Docker host, create a directory holding compose.yaml, dc-bridge-config.json, .env and a certs/ folder with your CA certificates (PEM or DER) and the enrollment agent PFX. Create every file before the first start: if a bind-mounted file is missing, Docker creates an empty directory in its place and the bridge exits with … is a directory, not a file. Restrict .env and the PFX to the administrators who run the bridge, keeping them readable by the container’s unprivileged user.
2

Write compose.yaml

compose.yaml
stop_grace_period gives the bridge time to finish the certificate request in flight (up to 20 seconds) when it stops; Docker’s default is 10 seconds. The logging block caps the log, which Docker otherwise keeps forever.
3

Start it and follow the log

A healthy CES start logs Found enrollment agent certificate, Loaded enrollment agent cert and keys, a Loaded CES CA certificate from … and Loaded LDAP CA certificate from … line for each CA file, LDAP sync scope base_dn=… groups=…, Successfully connected to LDAP at … and Successfully bound LDAP. After a user’s request is signed, it logs Successfully enrolled certificate for <sAMAccountName>. If the bridge exits at once, the last log line names the problem.
At RUST_LOG: debug the log shows every poll, the account names it enrolls and your domain controller’s hostname, never passwords. At info, a healthy idle bridge is silent. RUST_LOG doesn’t affect error reporting.

Example configurations

Every value below is an example. id, error_reporting, period and poll_period are the only unquoted values. For every field, see Bridge configuration.
dc-bridge-config.json
.env
During the call you can set period to 60 so changes show within minutes. Set it back to 3600 before leaving the bridge unattended, and keep poll_period at 600 or less.

Validation checkpoints

Run these after the bridge starts. On Windows, read logs\dc-bridge.log; in Docker, docker compose logs -f dc-bridge. With WCCE, run them with the bridge running as its service, not from a console. Next: Issue certificates and sign in.
Last modified on November 25, 2026