Getting 0x80070002 (WIN32: 2 ERROR_FILE_NOT_FOUND): CADescription while trying to run Certutil -cainfo on the Certificate Authority

Junaid Dar 21 Reputation points
2021-03-12T06:44:24.22+00:00

While I am trying to run Certutil -cainfo on my CA I get
437.633.0:<2021/3/12, 7:27:22>: 0x80070002 (WIN32: 2 ERROR_FILE_NOT_FOUND): CADescription
437.633.0:<2021/3/12, 7:27:22>: 0x80070002 (WIN32: 2 ERROR_FILE_NOT_FOUND): ParentCAName

CertUtil: -CAInfo command completed successfully.

Although the command completes successfully however my doubts are that there is some issue within the CA's Database. I see over 1M Failed requests on the CA however we know the root cause of that, but could that be causing this.

We use this CA though out the Domain for User certificate enrolment as well as Archive the Private Keys.

Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,429 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,210 questions
Windows Server Security
Windows Server Security
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
1,778 questions
0 comments No comments
{count} votes

1 additional answer

Sort by: Most helpful
  1. Junaid Dar 21 Reputation points
    2021-03-12T07:15:17.527+00:00

    The reason for asking this is because while trying to recover the private key i get
    Certutil -getkey serialnumber outputblob
    2603.195.0:<2021/3/12, 8:09:50>: 0x0 (WIN32: 0)
    437.633.0:<2021/3/12, 8:09:50>: 0x80070002 (WIN32: 2 ERROR_FILE_NOT_FOUND): CADescription
    437.633.0:<2021/3/12, 8:09:50>: 0x80070002 (WIN32: 2 ERROR_FILE_NOT_FOUND): ParentCAName
    1207.1143.0:<2021/3/12, 8:09:51>: 0x1 (WIN32: 1 ERROR_INVALID_FUNCTION)
    1207.1342.0:<2021/3/12, 8:09:51>: 0x1 (WIN32: 1 ERROR_INVALID_FUNCTION): CommonName
    1207.1143.0:<2021/3/12, 8:09:51>: 0x1 (WIN32: 1 ERROR_INVALID_FUNCTION)
    1207.1342.0:<2021/3/12, 8:09:51>: 0x1 (WIN32: 1 ERROR_INVALID_FUNCTION): CommonName
    1207.1143.0:<2021/3/12, 8:09:51>: 0x1 (WIN32: 1 ERROR_INVALID_FUNCTION)
    1207.1342.0:<2021/3/12, 8:09:51>: 0x1 (WIN32: 1 ERROR_INVALID_FUNCTION): CommonName
    1207.1143.0:<2021/3/12, 8:09:51>: 0x1 (WIN32: 1 ERROR_INVALID_FUNCTION)
    1207.1342.0:<2021/3/12, 8:09:51>: 0x1 (WIN32: 1 ERROR_INVALID_FUNCTION): CommonName
    1207.1143.0:<2021/3/12, 8:09:51>: 0x1 (WIN32: 1 ERROR_INVALID_FUNCTION)
    1207.1342.0:<2021/3/12, 8:09:51>: 0x1 (WIN32: 1 ERROR_INVALID_FUNCTION): CommonName
    1207.1143.0:<2021/3/12, 8:09:51>: 0x1 (WIN32: 1 ERROR_INVALID_FUNCTION)
    1207.1342.0:<2021/3/12, 8:09:51>: 0x1 (WIN32: 1 ERROR_INVALID_FUNCTION): CommonName
    1207.1143.0:<2021/3/12, 8:09:51>: 0x1 (WIN32: 1 ERROR_INVALID_FUNCTION)
    1207.1342.0:<2021/3/12, 8:09:51>: 0x1 (WIN32: 1 ERROR_INVALID_FUNCTION): CommonName
    1207.1143.0:<2021/3/12, 8:09:51>: 0x1 (WIN32: 1 ERROR_INVALID_FUNCTION)
    1207.1342.0:<2021/3/12, 8:09:51>: 0x1 (WIN32: 1 ERROR_INVALID_FUNCTION): CommonName
    1207.1143.0:<2021/3/12, 8:09:51>: 0x1 (WIN32: 1 ERROR_INVALID_FUNCTION)
    1207.1342.0:<2021/3/12, 8:09:51>: 0x1 (WIN32: 1 ERROR_INVALID_FUNCTION): CommonName
    1207.1143.0:<2021/3/12, 8:09:51>: 0x1 (WIN32: 1 ERROR_INVALID_FUNCTION)
    1207.1342.0:<2021/3/12, 8:09:51>: 0x1 (WIN32: 1 ERROR_INVALID_FUNCTION): CommonName
    Recovery blobs retrieved: 1
    Recovery Candidates: 1

    The good part is that from the outputblob i am able to create the .pfx and that works perfectly, but these errors make me bit nervous