Menu
InformatiWeb Pro
  • Index
  • System admin
  • Virtualization

Login

Registration Password lost ?
FR
  • Windows Server
    • WMS 2012
    • WS2012 R2
    • WS2016
  • Citrix
    • Citrix NetScaler Gateway
    • Citrix XenApp / XenDesktop
    • Citrix XenServer
  • VMware
    • VMware ESXi
    • VMware vSphere
    • VMware Workstation
  • Microsoft
    • Hyper-V
  • RAID
    • Adaptec SmartRAID
  • UPS
    • APC Back-UPS Pro
  • InformatiWeb Pro
  • System admin
  • Windows Server
  • Courses
  • Learn how to use Active Directory Certificate Services (AD CS) on WS 2016
  • Create an enrollment agent
19 / 21
  • Backup and restore a certificate authority (CA)
  • Buy smart cards and log in via them
  • Windows Server
  • 12 January 2024 at 10:03 UTC
  • InformatiWeb
  • 1/3

Create an enrollment agent to enroll certificates on behalf of someone else on Windows Server 2016

With Active Directory Certificate Services, you can obtain a certificate for your server, computer, or user automatically (through auto-enrollment) or manually through the "mmc" console.
However, you can also create a user (called "Enrollment Agent") who will be authorized to enroll certificates for other users.
This is very useful if you want to provide smart cards to your users in which the certificates registered by the enrollment agent on behalf of your users can be quickly stored.

  1. Create a user who will act as an enrollment agent
  2. Create a new certificate template : Enrollment Agent
  3. Apply for an enrollment agent certificate
  4. Create a new certificate template : Smartcard Logon
  5. Request a certificate : Smartcard Logon
  6. Restrict enrollment agents

1. Create a user who will act as an enrollment agent

Any Active Directory user can become an enrollment agent.
It therefore doesn't need administrator rights, for example.

In our case, we created a new user that we named : IWAgent.

As you can see, it's a simple domain user.

2. Create a new certificate template : Enrollment Agent

To get started, open the "Certification Authority" console and right-click "Manage" on : Certificate Templates.

Right-click "Duplicate Template" on the "Enrollment Agent" certificate template.

Specify "Enrollment Agent v2" (for example) as the display name for this template.

In the "Security" tab, click on the "Add" button.

Provide the name of the user you created and want to use as the enrollment agent and click OK.

Grant it "Read" and "Enroll" rights to allow it to enroll (obtain) an enrollment agent certificate.
This certificate will allow him to enroll other certificates to users on their behalf.

Click OK.

The newly created certificate template appears in the list.

Finally, right-click on the "Certificate Templates" folder and click on : New -> Certificate Template to Issue.

Select the newly created certificate template (in our case : Enrollment Agent v2) and click OK.

The new model of certificate to be issued appears.

3. Apply for an enrollment agent certificate

Connect to one of your servers or computers that are members of your Active Directory domain with the user authorized to enroll a certificate using the new "Enrollment Agent v2" certificate model.

Launch a "mmc" console and click : File -> Add/Remove Snap-in.

Select the "Certificates" component and click : Add.

Then, click OK.

Right click "All Tasks -> Request New Certificate" on your "Personal" certificate store.

Select your new "Enrollment Agent v2" certificate template and click "Details", then "Properties" if you want to add a friendly name in the certificate that will be enrolled (issued).

In the "General" tab, you can add a friendly name if you want, then click OK.

Click on "Enroll".

Your registration agent certificate has been enrolled.
Click Finish.

In your "Personal" certificate store, you will find your new enrollment agent certificate whose intended role is : Certificate Request Agent.

If you open this certificate and select the "Enhanced Key Usage" field, you will see this : Certificate Request Agent (1.3.6.1.4.1.311.20.1).

Next page

Share this tutorial

Partager
Tweet

To see also

  • SafeNet Authentication Client (SAC) - Installation and overview

    Articles 1/26/2024

    SafeNet Authentication Client (SAC) - Installation and overview

  • What is encryption and how does it work ?

    Articles 9/8/2023

    What is encryption and how does it work ?

  • WS 2016 - AD CS - Backup and restore a certificate authority (CA)

    Windows Server 12/29/2023

    WS 2016 - AD CS - Backup and restore a certificate authority (CA)

  • WS 2016 - AD CS - Buy smart cards and log in via them

    Windows Server 1/19/2024

    WS 2016 - AD CS - Buy smart cards and log in via them

Comments

You must be logged in to post a comment

Share your opinion

Pinned content

  • Software (System admin)
  • Linux softwares
  • Our programs
  • Terms and conditions
  • Share your opinion

Contact

  • Guest book
  • Technical support
  • Contact

® InformatiWeb-Pro.net - InformatiWeb.net 2008-2022 - © Lionel Eppe - All rights reserved.

Total or partial reproduction of this site is prohibited and constitutes an infringement punishable by articles L.335-2 and following of the intellectual property Code.