Configuring Active Directory for Passwordless Login
Active Directory Certificate Services (AD CS) is leveraged to perform certificate based login, i.e., smart card login post completing Monofor Identity mobile application.
The configuration required at the Domain Controller (DC) is divided into three steps to use a Passwordless logon.
Configure the Enrollment Agent Certificate Template
Configure the User Certificate Template
Enabling both Enrollment Agent and User Certificate templates in CA
1. Configure the Enrollment Agent Certificate Template
Navigate to Microsoft Management Console (MMC). Run → mmc (To launch Console Root)
![](../__attachments/152797196/image-20231206-151435.png?inst-v=866e9140-3da7-430a-a281-7dc8294ac19e)
Click File and, click Add/Remove Snap-in.
After that, select “Certificate Templates” and, “Add” button. Click OK.
![](../__attachments/152797196/image-20231206-151531.png?inst-v=866e9140-3da7-430a-a281-7dc8294ac19e)
This will help you to see all Certificate Templates on your Directory Server. Expand Certificate Templates, find “Enrollment Agent” and right-click. Select Duplicate Template.
![](../__attachments/152797196/image-20231206-151654.png?inst-v=866e9140-3da7-430a-a281-7dc8294ac19e)
In “General” tab, give a following Template display name and Template name. This is very important, please act carefully.
![](../__attachments/152797196/image-20231206-152239.png?inst-v=866e9140-3da7-430a-a281-7dc8294ac19e)
General
Field | Value |
---|---|
Template display name |
|
Template name |
|
Select Purpose as “Signature and smartcard logon”, and click “Yes” on the warning screen.
![](../__attachments/152797196/image-20231206-152709.png?inst-v=866e9140-3da7-430a-a281-7dc8294ac19e)
![](../__attachments/152797196/image-20231206-152604.png?inst-v=866e9140-3da7-430a-a281-7dc8294ac19e)
![](../__attachments/152797196/image-20231206-152954.png?inst-v=866e9140-3da7-430a-a281-7dc8294ac19e)
On the list, select “Authenticated Users” and, mark “Enroll” “Allow” like you see on the list.
Also, we need to add SYSTEM user to the list (if not present).
Click “Add”, type “SYSTEM” and click OK.
![](../__attachments/152797196/image-20231206-153303.png?inst-v=866e9140-3da7-430a-a281-7dc8294ac19e)
You will see “SYSTEM” user on the list. Once again, select “SYSTEM” user, and mark “Enroll” “Allow”.
![](../__attachments/152797196/image-20231206-153442.png?inst-v=866e9140-3da7-430a-a281-7dc8294ac19e)
One last thing on this UI. We need to go to the “Subject Name” tab and select Subject name format as “None”.
And we can click Apply button.
![](../__attachments/152797196/image-20231206-153653.png?inst-v=866e9140-3da7-430a-a281-7dc8294ac19e)
2. Configure the User Certificate Template
Right now, we need a User certificate. Find the “User” certificate template on the list and right-click, Duplicate Template.
![](../__attachments/152797196/image-20231206-153845.png?inst-v=866e9140-3da7-430a-a281-7dc8294ac19e)
Like we did before, in “General” tab, give a following Template display name and Template name. This is very important, please act carefully. This time, we are giving a different name.
![](../__attachments/152797196/image-20231206-154302.png?inst-v=866e9140-3da7-430a-a281-7dc8294ac19e)
Field | Value |
---|---|
Template display name |
|
Template name |
|
Once again, click “Security” tab. Add SYSTEM user like we did before. For both “Authenticated Users” and “SYSTEM” should have access “Enroll” “Allow” again.
Final result should like following.
![](../__attachments/152797196/image-20231206-154655.png?inst-v=866e9140-3da7-430a-a281-7dc8294ac19e)
Authenticated Users - Enroll - Allow ✅
![](../__attachments/152797196/image-20231206-154737.png?inst-v=866e9140-3da7-430a-a281-7dc8294ac19e)
SYSTEM - Enroll - Allow ✅
Click “Request Handling” tab. Once again, select purpose as “Signature and smartcard logon”. Click “Yes” when you see the warning.
You can see the final result on the “Request Handling” tab.
![](../__attachments/152797196/image-20231206-155143.png?inst-v=866e9140-3da7-430a-a281-7dc8294ac19e)
Click “Subject Name” tab.
Select “Subject name format” as “None” again.
And uncheck “E-mail name” from the “Include this information in alternate subject name” section.
You can see the final result on the right.
![](../__attachments/152797196/image-20231206-155333.png?inst-v=866e9140-3da7-430a-a281-7dc8294ac19e)
Final Result of “Subject Name” tab.
Now, you can click “Issuance Requirements”.
![](../__attachments/152797196/image-20231206-155640.png?inst-v=866e9140-3da7-430a-a281-7dc8294ac19e)
Final Result of Issuance Requirements
This is our last section for Certificate Templates.
Check “This number of authorized signatures”. Value should be 1
.
In Application policy section, we need to select Certificate Request Agent
from the list.
Please check the final result on the left.
And now, we can click Apply.
3. Enabling both Enrollment Agent and User Certificate Templates in Certificate Authority (CA)
Use Win+R shortcut or click Start and Run application. Type certsrv.msc
and OK.
![](../__attachments/152797196/image-20231206-160330.png?inst-v=866e9140-3da7-430a-a281-7dc8294ac19e)
certsrv.msc
On the UI, right-click to “Certificate Templates”, select New and “Certificate Template to Issue”.
![](../__attachments/152797196/image-20231206-160240.png?inst-v=866e9140-3da7-430a-a281-7dc8294ac19e)
Find and select both “Monofor Identity - Client“ and “Monofor Identity - Enrollment“ on the list and click OK. You can use Shift key on the keyboard for select multiple.
![](../__attachments/152797196/image-20231206-160439.png?inst-v=866e9140-3da7-430a-a281-7dc8294ac19e)
You will see them on the list when you click OK.
![](../__attachments/152797196/image-20231206-160630.png?inst-v=866e9140-3da7-430a-a281-7dc8294ac19e)
That’s it. We are good to go.