> ## 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.

# Issue certificates and test the first domain sign-in

> Create the Certificate Generation Policy, watch the first certificate reach the phone, and sign in to a domain-joined test computer with a rollback plan ready.

Once the bridge syncs users, a Certificate Generation Policy tells Allthenticate which users get a certificate from which template. You do this together with your Allthenticate engineer on the call.

## Create the Certificate Generation Policy

**1. Check the synced users**

In the admin portal, open **DC Bridging** > **Active Directory Information**. The users in your search base should be listed and invited to your organization.

**2. Open Create Policy**

On the **Certificate Generation Policies** tab, select **Create Policy**.

**3. Fill in the form**

| Field | Value |
| - | - |
| **Certificates From** | **Active Directory (AD CS, through a bridge)** |
| **Bridge** | Your bridge's ID |
| **User Group** | **DC Sync Group**. Other groups work too, but only users with an Active Directory account get a certificate. |
| **AD CS Template Name** | The **Template name** you recorded, not the display name |
| **Key Type** | **EC P-521**, matching the template. **RSA 2048** prevents offline sign-in. |

**4. Save and confirm**

Select **Save** and approve the confirmation on your phone.

If the policy card later shows `Certificate template not found on the CA`, the name doesn't match: copy **Template name** from the template's **Properties** > **General** tab.

## Follow the test user's certificate

Select the policy to see each user's request. A request is created only while the user's phone is online.

| Status | Meaning |
| - | - |
| **CSR Created** | The phone sent its request; no certificate yet. |
| **Certificate Created** | The CA issued it, after the next enrollment poll (`period`). The bridge logs `Successfully enrolled certificate for <sAMAccountName>`. |
| **Certificate Distributed** | The phone confirmed it received the certificate. It's listed for the account in the Allthenticator app. |
| **Certificate Expired** | Expired, or fewer than 45 days left. A new request is created while the phone is online. |
| **Reissue Requested** | An admin selected **Mark for reissue**. |

**Mark for reissue** issues a user a new certificate, for example after they reinstall the Allthenticator app. It doesn't revoke the old one, which stays valid until it expires. Renewals happen automatically when fewer than 45 days remain, while the phone is online.

The bridge polls once at startup and then once per `period`. With `period` at `3600`, queue the test request before you start the bridge service, or restart the service after queueing it.

### Errors in the admin portal

Errors stay until an organization Super Admin dismisses them with the **×** on the banner; they don't clear on their own when you fix the cause.

* An error on a **policy** card holds back certificate requests for every user under that policy until it's dismissed. Dismissing retries.
* An error on one **request** holds back only that user.
* An error on the **bridge** card only reports. The bridge keeps retrying, and the error may come back while the cause persists.

The policy card also warns **Domain controllers may refuse these certificates** when the CA adds no SID extension, and **Offline sign-in won't work** when the template lacks key agreement or the key type is RSA. For every message, see [Troubleshooting](https://help.allthenticate.com/windows/active-directory/troubleshooting.md).

## Prepare the test computer

You need a computer joined to the domain (directly or hybrid), where you're a local administrator, with a Bluetooth adapter that supports Bluetooth Low Energy in the peripheral role. The background service checks both at startup and won't run without them. See [Requirements](https://help.allthenticate.com/windows/requirements.md#check-the-bluetooth-adapter).

1. Install the desktop app with local administrator rights and check its digital signature first: right-click the installer > **Properties** > **Digital Signatures**, and confirm a valid signature issued to Allthenticate. The certificate logon components (credential provider and key storage provider) are part of the standard installer.
2. Pair the test user's phone and choose **Business**. See [Install and pair](https://help.allthenticate.com/windows/install-and-pair.md).
3. Lock the computer or sign out once, so the sign-in screen reloads with the Allthenticate credential provider. No restart is needed. After a later upgrade, the previous version stays loaded until the next restart.

### What's different for a domain account

* The tile appears only for accounts a **connected** phone can sign in as: the phone must be paired, in Bluetooth range, and already hold that account's certificate.
* The tile signs in with the **certificate**. Windows performs a standard Kerberos certificate logon (PKINIT) against the domain controller, and the phone produces the signature.
* The account must exist in the computer's domain. Organization users that don't resolve on the computer get no tile.
* The domain controller must be reachable at sign-in and trust the CA that issued the certificate.

## Keep a way back in

> [!WARNING]
>
> Keep a working password sign-in for the test user **and** a local administrator account. Don't disable password sign-in, remove other credential providers or enforce certificate-only logon anywhere until the pilot passes every check below. Test on one computer before you deploy to others.

If sign-in breaks, sign in with the password and uninstall the desktop app from **Settings** > **Apps** (**Passwordless** by Allthenticate). To hide only the Allthenticate tile, for example from an elevated remote shell, run:

```powershell theme={null}
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\Credential Providers\{3485E124-8747-4205-9654-4206917B643A}" /v Disabled /t REG_DWORD /d 1
```

Run it again with `/d 0` to show the tile again.

## Sign in

**1. Lock the computer**

With the phone unlocked, connected and in range, lock the computer or sign out.

**2. Choose the Allthenticate tile**

Select the test user. If they aren't listed, select **Other user**, enter the user name, select **Sign-in options**, and choose the Allthenticate tile.

**3. Approve on the phone**

Approve the prompt for this computer. Windows completes the certificate logon with the domain controller; there's no password step.

**4. Repeat after sign-out and restart**

Sign out and sign in again, then restart and sign in once more. The tile should appear on the first sign-in screen after a restart as soon as the phone connects.

## Validation checkpoints

| Check | How to verify | Expected result |
| - | - | - |
| SID extension (strong mapping) | On the CA, **Issued Certificates** > the test user's certificate > **Details** | Extension `1.3.6.1.4.1.311.25.2` is present with the user's SID. If it's missing, stop: sign-in fails on any current domain controller. |
| Sign-in | The steps above | The desktop loads with no password prompt. |
| Sign-out and restart | The last step above | The tile is offered again and sign-in succeeds. |
| Domain controller events | Domain controller **Event Viewer** > **Windows Logs** > **System**, source `Kerberos-Key-Distribution-Center` | No Event ID 39, 40 or 41 for the test user. |
| Audit trail | Admin portal **Logs** | The sign-in appears as **Certificate Logon** with the certificate thumbprint. |

## Roll out to your fleet

After the pilot passes, deploy the desktop app with your software distribution tool (see [Deploy at scale](https://help.allthenticate.com/windows/deploy-at-scale.md)). The installer is a 64-bit package for all users of the computer. Deploy the `.exe` as supplied, not an extracted MSI. There are no Group Policy templates or Intune profiles to import. For an unattended install with a log file:

```powershell theme={null}
AllthenticatePasswordless.exe /exenoui /qn /norestart /L*V C:\Windows\Temp\allthenticate-install.log
```

### What the installer changes

* Installs to `C:\Program Files\Allthenticate\Passwordless`.
* Registers the **Allthenticate Background Service** (LocalSystem, automatic start, restarts on failure), the Allthenticate credential provider, a key storage provider and a virtual HID driver.
* Adds a startup shortcut for all users and a daily scheduled task, **AllthenticateUpdater**, that runs as SYSTEM and installs new releases silently.
* Sets the policy value **EnableFIDODeviceLogon** under `HKLM\SOFTWARE\Policies\Microsoft\FIDO`. A Group Policy that sets it differently conflicts with it.

There's no supported way to hold a version or switch channels: the installer you ran sets the channel, release or beta. Running the beta installer over a release moves that computer to beta; to go back, install a later release, or uninstall and reinstall the release, which keeps the pairing. If your change control needs notice before updates, tell your engineer.

### Logs on each computer

| Component | Location | Rotation |
| - | - | - |
| Background service | `C:\Program Files\Allthenticate\Passwordless\log\sda_delegate.log` | 1 MB, five files kept |
| Sign-in components | `C:\Windows\Temp\allthenticate_*.log` | One file per process, not rotated |
| Desktop app | `%APPDATA%\Allthenticate\logs\main.log` in each user profile | Not rotated |

The desktop app writes nothing to the Windows Event Log. To send logs to Allthenticate, open the desktop app and select **About** > **View Logs** > **Submit logs**.

### Behavior to expect

* The background service turns the Bluetooth radio off and on each time it starts, briefly disconnecting other Bluetooth devices.
* Several domain users can sign in to one computer, each with their own phone and certificate.
* The tile appears on the sign-in and unlock screens, not in User Account Control or **Run as** prompts.
* In the admin portal, the computer's name is its hostname, with hyphens shown as spaces.
* Signing in needs no connection to Allthenticate, only the phone over Bluetooth and a reachable domain controller. Without a domain controller, Windows uses its cached sign-in, which works only because the template grants key agreement. Enrollment and renewal need the phone online.
* The certificate is never stored in the Windows certificate store. It's presented from the phone, so there's nothing to clean up on a computer when a user leaves.

### Remove the desktop app completely

**Settings** > **Apps** offers only **Uninstall**. It removes the service, credential provider, key storage provider and driver, and leaves the `conf`, `files` and `log` folders under the installation folder, so a reinstall keeps the pairing.

1. Uninstall **Passwordless** by Allthenticate from **Settings** > **Apps**.
2. Delete the `conf`, `files` and `log` folders. `files` holds the computer's identity: after you delete it, a new installation registers as a new computer and the old one stays paired.
3. If your baseline requires it, check that **EnableFIDODeviceLogon** is gone. A Group Policy that turns on **Turn on security key sign-in** writes it back; `gpresult /h report.html` shows which.
4. Restart so the sign-in component unloads.


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