Configure the Enrollment Agent for Microsoft CA
- 05 May 2023
- 2 Minutes to read
- Print
- DarkLight
- PDF
Configure the Enrollment Agent for Microsoft CA
- Updated on 05 May 2023
- 2 Minutes to read
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Follow the steps below to configure the enrollment agent for Microsoft CA.
- Sign-in to the certification authority as a domain administrator or a domain user. Ensure that the domain user is a member of the Domain Admins or Enterprise Admins Group. Open the Server Manager, go to the menu option Tools, and select Certification Authority.
- Navigate to the folder Certificate Templates under the CA, right click on it and select the option Manage.
- A new window opens displaying a list of templates. Right click the Enrollment Agent template and select the option Duplicate Template.
- Click on the Compatibility tab and set the options as highlighted in the below image. By default compatibility settings support Legacy CSP. To support the key storage provider (KSP) and the latest version 4 Certificate Templates, you should check these settings.
- Set the properties for the template. Under the General tab, rename the template and select the Validity Period as required.
- Click on the Cryptography tab and select the options as highlighted in the below image:
- Under the Request Handling tab, select the Purpose as Signature. Select the option Enroll subject without requiring any user input. The option Allow private key to be exported is only required if we need to enroll the enrollment agent certificate to a different domain user other than the user mapped to the IIS application pool.
- Click on the Security tab, add the domain user (ex: camanager) who is running the IIS Application Pool for the MSCA web service.
- To check which domain user is running the IIS Application Pool, login to the server where the web service is deployed, and check the user by navigating to the IIS > Application Pool > .NET v4.5 Classic > Identity tab.
- Assign the Read and Enroll permissions, and enable Read permission to the Authenticated Users.
- Click Apply and OK to save the template after assigning the permissions. Close the window.
- After creating the template, you need to publish the certificate template in order to enroll the enrollment agent certificate. Go to the Certification Authority snap-in. Right click on Certificate Templates, choose the option New, and select the option Certificate Template to Issue:
- Select the newly-created template and click OK.
- Sign-in to the certification authority as a domain administrator or a domain user. Ensure that the domain user is a member of the Domain Admins or Enterprise Admins Group. Open the Server Manager, go to the menu option Tools, and select Certification Authority.
In order to enroll the enrollment agent certificate, login as a domain user (e.g.: camanager) who is running the IIS Application Pool, where the MSCA Web service is deployed.
- Open certmgr.msc using the Run window and right click on the option Personal.
- Go to the option All Tasks and select the option Request New Certificate.
The certificate Enrollment window opens. - Click Next.
The Certificate Enrollment Policy displays. - Click Next.
- In the Request Certificates window, check the Test Enrollment Agent certificate and click Enroll.
- Click Finish in the Results window to complete the enrollment.
- To view the issued certificate, navigate to Personal > Certificates.
Was this article helpful?