Event ID 127 — AD CS Key Archival and Recovery
Applies To: Windows Server 2008
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.
Event Details
Product: | Windows Operating System |
ID: | 127 |
Source: | Microsoft-Windows-CertificationAuthority |
Version: | 6.0 |
Symbolic Name: | MSG_W_EXPIRATION_KRA_CERT |
Message: | Key recovery certificate %1 is about to expire and will not be used after it has expiration. Contact your adminstrator to renew this certificate. %2 %3 |
Resolve
Renew the key recovery agent certificate that is about to expire
Key recovery agent certificates that expire can no longer be used for key recovery. In order to continue using key archival, renew the key recovery agent certificate.
To perform this procedure, you must be the user who was enrolled for the key recovery agent certificate.
To renew a key recovery agent certificate:
- Click Start, type certmgr.msc, and press ENTER.
- In the console tree, double-click Certificates, double-click Personal, and click Certificates.
- Right-click the key recovery agent certificate, point to All Tasks, and click Renew Certificate with New Key or click Advanced Operations and Renew this certificate with the same key to start the Certificate Renewal Wizard.
- Follow the steps in the wizard to renew the certificate.
- On the computer hosting the CA, click Start, point to Administrative Tools, and click Certification Authority.
- In the console tree, click the name of the CA.
- On the Action menu, click Properties.
- Click the Recovery Agents tab, and then click Archive the key.
- In Number of recovery agents to use, type the number of key recovery agents that will be used to encrypt the archived key. The number of recovery agents to use must be between one and the number of key recovery agent certificates that have been configured. Click Add.
- In Key Recovery Agent Selection, click the key recovery certificates that are displayed, and click OK. The certificates should appear in the Key recovery agent certificates list, but their status is listed as Not loaded.
- Click OK or Apply. When prompted to restart the CA, click Yes. When the CA has restarted, the status of the certificates should be listed as Valid.
Verify
To perform this procedure, you must have Manage CA permission, or you must have been delegated the appropriate authority.
To confirm that key archival and recovery is working properly:
- On the computer hosting the CA, click Start, point to Administrative Tools, and click Certification Authority.
- In the console tree, right-click the name of the certification authority (CA), and then click Properties.
- Click the Recovery Agents tab.
- Confirm that all key recovery agent certificates are listed as Valid.
- In the Certificate Templates container, confirm that an encryption certificate has the option Archive subject's encryption private key configured on the Request Handling tab.
- Open the Certificates snap-in for a user account that has permissions to enroll for a certificate based on this certificate template.
- In the console tree, right-click Personal, point to All Tasks, and click Request New Certificate to start the Certificate Enrollment wizard.
- Enroll for a certificate based on the encryption template, and confirm that the enrollment completes successfully and no errors are reported.
- When the enrollment is complete, open the Certification Authority snap-in.
- In the console tree, click Issued Certificates.
- Locate the entry for the certificate that was just issued, and add the Archived Key column to the snap-in display list.
- Confirm that the word Yes appears in the Archived Key column for the certificate that was just issued.