Collection Rule for event with source CertificationAuthority and ID 87 Rule

  • ID:  Microsoft.Windows.CertificateServices.CARole.6.2.CertSvcEvents.87
  • Description:  Certificate Services could not use the specified provider for encryption keys.
  • Target:  Certificate Service (2012)
  • Enabled:  On Essential Monitoring

Overridable Parameters

Parameter Name Default Value Description Override
Priority 2  
Severity 2  

Run As Profiles

Name
Default

Alert Details

Message Priority Severity
AD CS Key Archival and Recovery High Critical

Rule Knowledgebase

Summary

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.

Causes
This rule does not contain any causes.
Resolutions

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.

External References
This rule does not contain any external references.

See Also for Active Directory Certificate Services Management Pack


Downloads for Active Directory Certificate Services Management Pack

AZURE OPTIMIZATION ASSESSMENT GET STARTED
MIGRATION TO AZURE GET STARTED
SYSTEM CENTER MIGRATION TO AZURE GET STARTED
MIGRATION TO AZURE FOR SQL AND WINDOWS 2008 GET STARTED