Monitor the bridge
The admin portal can’t tell you whether the bridge is running: a stopped bridge looks like a healthy one, with no error on its card and synced data that stops changing. Monitor it on the bridge host.- Windows service: Windows restarts the service 60 seconds after a crash or failed start. Alert when the
dc-bridgeservice isn’t running.sc.exe query dc-bridgeand the System event log (source Service Control Manager) say why it didn’t start. - Docker: keep
restart: unless-stoppedincompose.yaml, and alert with your container monitoring when the container is down. - Log silence: if you forward the log to a log platform, set
RUST_LOG=debug(a line in.envon Windows, or theenvironmentblock in Docker) and alert when no line has arrived for twice yourpoll_period. At the defaultinfolevel, a healthy idle bridge writes nothing, so silence means nothing. - Portal errors: errors appear on the bridge card, on Certificate Generation Policy cards and on individual requests (select the policy to see them). An error on a policy stops issuance for everyone under it until a Super Admin dismisses it with its ×. Make the DC Bridging page, including every policy card, part of your routine checks.
- WCCE: after every start, check that the log has the
WCCE enrollment runs as this Windows accountline with theca_configandaccountyou expect.
0x800706ba aren’t reported.
Upgrade
Read the release notes your engineer sends, and upgrade when Allthenticate asks you to: the bridge and the Allthenticate backend are released together and don’t negotiate compatibility. The bridge keeps no local state, so nothing is migrated. The admin portal doesn’t show the bridge’s version; your record is the image tag incompose.yaml, or .\dc-bridge.exe --version (also under the file’s Properties > Details).
- Windows service
- Docker
- Download
dc-bridge-<version>-windows-x86_64.exeand its.sha256fromhttps://software.allthenticate.com/dc-bridge/(for examplehttps://software.allthenticate.com/dc-bridge/dc-bridge-1.5.0-windows-x86_64.exe; the folder itself has no index page), and verify the signature and hash as in Install the bridge. - In an elevated PowerShell, run
Stop-Service dc-bridge. Keep the olddc-bridge.exeto roll back to. - Replace
dc-bridge.exein the bridge folder with the new file, under the same name. - Run
Start-Service dc-bridge, and check.\dc-bridge.exe --versionand the log.
After upgrading a Windows bridge, check:
Change the run-as account or its rights
- Change the account: run
.\dc-bridge.exe service uninstall, thenservice install --accountagain. The folder grant is on the service identity, so it needs no change. - Domain account password: if you set an account with a password in
services.msc, enter the new password on the service’s Log On tab when it changes, then restart the service. A gMSA rotates its own password. - Secrets in
.env(the PFX password, CES or LDAP passwords) take effect when you edit.envand restart the bridge. - After changing the account’s rights on the CA or template, or its group memberships, run
Restart-Service certsvcon the CA, then give the bridge a fresh logon: restart the service for a gMSA; for NetworkService or LocalSystem, restart the host or runklist -li 0x3e4 purge(NetworkService) orklist -li 0x3e7 purge(SYSTEM) as an administrator.
Move a CES bridge to WCCE
Use this after CES and CEP have been disabled on the CA. The bridge ID, its secret and the policies stay the same.1
Grant the CA rights
A CA administrator grants the run-as account its rights and restarts Certificate Services. See Configure AD CS.
2
Set up the Windows bridge
On a domain-joined Windows host, create the bridge folder and copy over
dc-bridge-config.json, .env and the enrollment agent PFX. Don’t start it yet.3
Swap ces for wcce
In
dc-bridge-config.json, delete the ces block (or set "ces": null), add a wcce block, and change the other paths to Windows paths. If the file has a "wcce": null line, replace that line: a second wcce key fails startup with duplicate field wcce. In .env, add WCCE_AGENT_PFX_PASSWORD and delete the CES password lines.4
Stop the old bridge, then start the new one
Two bridges must never run with the same ID and secret. Stop the old one, then run
service install and Start-Service dc-bridge on the new host, and run the checks above.Back up and recover
The bridge is stateless. Back updc-bridge-config.json, .env and the enrollment agent PFX (wherever agent_pfx_path points), and protect the bridge secret and PFX passwords like any credential. To recover, restore the files on a host of the same kind with the network access the bridge needs, and start it. Allthenticate holds pending certificate requests, and the bridge picks them up on its next poll.
A WCCE bridge also depends on state in Active Directory and AD CS: its run-as account, that account’s rights on the CA and template, and its membership in Certificate Service DCOM Access if you tightened that group.
- Run the recovered bridge as the same gMSA so it keeps its rights. First allow the new host to retrieve the gMSA’s password and confirm
Test-ADServiceAccountreturnsTruethere. - Under NetworkService or LocalSystem, the CA sees the new host’s computer account,
DOMAIN\NEWHOST$, which has none of the rights. Grant them, runRestart-Service certsvcon the CA, and restart the new host before you start the bridge. Until then, requests fail, usually with the template-denied error on the policy.
Poll intervals and retries
Outside implementation calls, keepperiod at 3600 and poll_period at 600 or less (300 is fine). Both are fixed intervals: the bridge retries at the same rate whether or not the last attempt worked. It sets no timeout of its own on connections to Allthenticate, the CA or the LDAP server, but an LDAP search that takes longer than 180 seconds fails and is retried at the next poll_period. Never leave the bridge unattended with the short test period or the placeholder’s 5.
Once running, the bridge doesn’t exit on network or directory errors; it logs them and retries. For exit codes, see Troubleshooting.
Change the sync scope
Changingbase_dn or group_dns deletes every synced user outside the new scope on the next poll. Do it in a maintenance window and check Active Directory Information right after. See Change the scope safely.
Decommission the bridge
1
Delete the policies
On DC Bridging > Certificate Generation Policies, delete each policy that uses the bridge. This deletes their certificate records, and you confirm on your phone.
2
Delete the bridge
On the Bridges tab, delete the bridge. It can’t be deleted while a policy references it.
3
Remove it from the host
Run
.\dc-bridge.exe service uninstall, or remove the container. Then delete .env, the certificate files and the enrollment agent PFX.4
Remove its rights
For WCCE, remove Request Certificates on the CA and Read and Enroll on the template from the run-as account (or
DOMAIN\HOST$), remove it from Certificate Service DCOM Access if you added it, and from the enrollment agent restriction. Disable the account if it existed only for the bridge.5
Revoke its certificates
In the CA’s Issued Certificates, revoke the enrollment agent certificate (All Tasks > Revoke Certificate) and any CES client certificate, and delete every copy of their PFX files. Disable the LDAP bind account and CES authentication account if they existed only for the bridge.