Configure the Key Recovery Agent Certificate Template
- 21 Jul 2023
- 2 Minutes to read
- Print
- DarkLight
- PDF
Configure the Key Recovery Agent Certificate Template
- Updated on 21 Jul 2023
- 2 Minutes to read
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Key escrow is an arrangement in which the keys needed to decrypt encrypted data are held in escrow so that, under certain circumstances, an authorized third party may gain access to those keys. Configure your CA to enable key archival, then specify that your certificate templates have key archival enabled.
Configure the Key Recovery Agent Certificate Template
- Sign into a certificate 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, and has the rights for Issue and Manage Certificates, Manage CA, and Request Certificates for the CA.
- Right-click the CA.
- Click Properties.
The Properties dialog box displays. - Click the Security tab to view the user's privileges.
- Open the Server Manager.
- To create the Key Recovery Agent certificate template, from the menu, click Tools > Certification Authority.
The Certificate Authority screen displays. - Right-click Certificate Templates and select Manage to see a list of certificate templates.
- Right-click the Key Recovery Agent certificate template and select Duplicate Template.
The Properties dialog box displays. - Click the Compatibility tab, and keep the default settings:
- Click the General tab.
- Provide a Template display name and select the Validity Period as required.
- Click the Cryptography tab and keep the default settings:
- Click the Issuance Requirements tab and uncheck CA certificate manager approval.NOTEBy default, this checkbox is enabled to ensure that the certificate request goes to the CA Pending Requests List. A CA admin would then need to approve the certificate issue manually, and you still would not be able to export the private key. To avoid this, you must uncheck this option so that you can export the private key of the Key Recovery Agent.
- Click the Security tab and add the domain user who logged into the server.
- Assign the domain user the Read and Enroll permissions.
- Enable the Read permission to the Authenticated Users.
- Click Apply and OK to save the template.
- Open the Certification Authority snap-in.
- Right-click Certificate Templates, and select New > Certificate Templates to Issue.
- Select the newly-created Key Recovery Agent 2 certificate, and click OK.
- Using the Run window, open certmgr.msc.
- Right-click Personal.
- Click All Tasks > Request New Certificate.
The Certificate Enrollment dialog box displays. - Click Next.
The Certificate Enrollment Policy screen displays. - Click Next.
- Select the Key Recovery Agent 2 certificate and click Enroll.
- Click Finish to complete the enrollment.
- Using the Run window, open certmgr.msc.
- Right-click Personal > Certificates.
- Right-click the CA, and click Properties.
The Properties window displays. - Click the Recovery Agents tab.
- Select Archive the key and enter a value for the Number of recovery agents to use.
- Click Add and select the issued certificate.
- Click OK<.
- Click Apply.
- Click Yes to restart the AD CS Service.
- Once the service is restarted, click OK in the Properties window.
- Right-click the CA and select Properties.
- Click the Recovery Agents tab to see the validated certificate.
The Key Recovery Agent certificate template is now created and enrolled, and the CA is configured to use a Key Recovery Agent.
- Right-click the Key Management CA template and select Properties.
The Properties dialog box displays. - On the Request Handling tab, select the Include symmetric algorithms allowed by the subject and Archive subject's encryption private key options.
- If the Microsoft CA is integrated with HSM, configure the Cryptography Provider CategoryKey Management template.
- In the Properties dialog box, click the Cryptography tab .
- In the Provider Category, select Legacy Cryptographic Service Provider.
- Click Apply, then OK.
Your changes save.
- Right-click the Key Management CA template and select Properties.
The Key Recovery Agent private key is now available on the local machine certificate store where the web service is deployed.
Was this article helpful?