Reconnecting to the private key fails with error message "Cannot find object or property. 0x80092004 (-2146885628 CRYPT_E_NOT_FOUND)"
Assume the following scenario:
- A certification authority is migrated to another server or restored from backup .
- A hardware security module (HSM) is used to protect the private key of the certification authority certificate.
- The certification authority certificate is now to be restored on the target system and linked to the private key .
- The operation fails with the following error message:
Cannot find the certificate and private key for decryption.
CertUtil: -repairstore command FAILED: 0x80092004 (-2146885628 CRYPT_E_NOT_FOUND)
CertUtil: Cannot find object or property.