Active Directory Certificate Services (AD CS) requires key recovery agent certificates, exchange (XCHG) certificates, and keys in order to support key archival. The functioning of key recovery agent certificates, XCHG certificates, and the cryptographic service providers (CSPs) needed to create them is critical to a public key infrastructure.
Use a cryptographic service provider that supports key archival and recovery
It may not be possible to use administrative tools to resolve problems that are caused by cryptographic providers, the software component that performs encryption and related tasks for encryption certificate generation. However, the following tasks can reveal diagnostic information to assist in the resolution process:
Identify and test your cryptographic provider.
If you continue to have problems and are using a non-Microsoft provider, contact the vendor for troubleshooting information.
You can also reset to the default encryption key provider, but you will also have to revoke the current CA Exchange certificate so that a new one based on the new provider is issued.
If you continue to have problems and are using a Microsoft provider, then contact Microsoft Customer Service and Support.
Identify and test a cryptographic provider
To perform this procedure, you must have Manage CA permission, or you must have been delegated the appropriate authority.
To identify and test the cryptographic provider you are using:
Open a command prompt window.
Type certutil -getreg ca\EncryptionCSP and press ENTER.
Type certutil -csp <providername> -csptest and press ENTER. Replace providername with the provider identified in the output of step 2.
If you are using a non-Microsoft cryptographic provider, contact the vendor for help. Otherwise, contact Microsoft Customer Service and Support.
Reset the default encryption key provider
To perform this procedure, you must have membership in local Administrators, or you must have been delegated the appropriate authority.
You can configure the certification authority (CA) to use the default Microsoft provider for encryption certificates by setting the following registry key to Microsoft Software Key Storage Provider.
Note: You may have to revoke the current CA Exchange certificate, if there is one, so that a new one based on the new provider is issued. Then, restart the CA.
To modify a configured encryption key provider:
Caution: Incorrectly editing the registry might severely damage your system. Before making changes to the registry, you should back up any valued data.
On the computer hosting the CA, click Start, type regedit, and then press ENTER.
Go to HKLM\SYSTEM\CurrentControlSet\Services\CertSvc\Configuration\CA Name\EncryptionCSP\Provider.
Change the listed value to Microsoft Software Key Storage Provider.
Open the Certification Authority snap-in.
In the console tree, click Issued Certificates.
In the details pane, select the CA Exchange certificate.
On the Action menu, point to All Tasks, and click Revoke Certificate.
Select the reason for revoking the certificate, adjust the time of the revocation, if necessary, and then click Yes.
Restart the CA.