Event ID 51 — AD CS Certification Authority Certificate and Chain Validation

Applies To: Windows Server 2008 R2

Chain or path validation is the process by which end-entity (user or computer) certificates and all certification authority (CA) certificates are processed hierarchically until the certificate chain terminates at a trusted, self-signed certificate. Typically, this is a root CA certificate. Active Directory Certificate Services (AD CS) startup can fail if there are problems with availability, validity, and chain validation for the CA certificate.

Event Details

Product: Windows Operating System
ID: 51
Source: Microsoft-Windows-CertificationAuthority
Version: 6.1
Symbolic Name: MSG_E_CA_CERT_REVOKED
Message: A certificate in the chain for CA certificate %3 for %1 has been revoked. %2.

Resolve

Reissue certificates in the chain for a revoked CA certificate

Although it is not common for a certification authority (CA) certificate to be revoked. To resolve this situation:

  • Confirm that the CA certificate has been revoked.
  • Ask a CA administrator if the revocation was deliberate or unintended. If the certificate was revoked intentionally, then no further action is needed. 
  • If it was revoked unintentionall, the CA certificate and every certificate in the branch must be reissued through enrollment or autoenrollment.
  • If the problem persists, enable CryptoAPI 2.0 Diagnostics to identify and resolve additional errors that might be causing the problem.

To perform these procedures, you must have Manage CA permission, or you must have been delegated the appropriate authority.

Confirm that a CA certificate has been revoked

To confirm that a CA certificate has been revoked:

  1. Open a command prompt window.

  2. Type certutil -urlfetch -verify<CAcert.cer> and press ENTER.

    Replace CAcert.cer with the name of the CA certificate file.

To enroll for a CA certificate

To enroll for a CA certificate:

  1. On the computer hosting the CA, click Start, point to Administrative Tools, and then click Certification Authority.
  2. Right-click the CA name, select All Tasks and click Request CA Certificate.
  3. Select the request file and the name of the CA or computer hosting a parent CA to process the request and complete the enrollment.
  4. After the CA certificate has been installed, you will have to reissue all certificates that had been issued using the revoked CA certificate.

Enable CryptoAPI 2.0 Diagnostics

To enable CryptoAPI 2.0 Diagnostics:

  1. On the computer hosting the CA, click Start, point to Administrative Tools, and click Event Viewer.
  2. In the console tree, expand Event Viewer, Applications and Services Logs, Microsoft, Windows, and CAPI2.
  3. Right-click Operational, and click Enable Log.
  4. Click Start, point to Administrative Tools, and click Services.
  5. Right-click Active Directory Certificate Services, and click Restart.
  6. Scan the CAPI2 diagnostics log for information that relates to this error.

Verify

To perform this procedure, you must have Manage CA permission, or you must have been delegated the appropriate authority.

To confirm that the certification authority (CA) certificate and chain are valid:

  1. On the computer hosting the CA, click Start, type mmc, and then press ENTER.
  2. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
  3. On the File menu, click Add/Remove Snap-in, click Certificates, and then click Add.
  4. Click Computer account, and click Next.
  5. Click Finish, and then click OK.
  6. In the console tree, click Certificates (Local Computer), and then click Personal.
  7. Confirm that a CA certificate that has not expired exists in this store.
  8. Right-click this certificate and select Export to launch the Certificate Export Wizard.
  9. Export the certificate to a file named Cert.cer.
  10. Type Start, cmd and press ENTER.
  11. Type certutil -urlfetch -verify <cert.cer> and press ENTER.
  12. If no validation, chain building, or revocation checking errors are reported, the chain is valid.

AD CS Certification Authority Certificate and Chain Validation

Active Directory Certificate Services