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 for business | Windows Client for IT Pros | Directory services | Active Directory
Windows for business | Windows Server | User experience | Other
Windows for business | Windows Server | Devices and deployment | Configure application groups
0 comments No comments
{count} votes

Answer accepted by question author
  1. Vadims Podāns 9,266 Reputation points MVP
    2021-03-12T07:02:27.133+00:00

    Just ignore this error, it is no longer used and it is always empty.

    0 comments No comments

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


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.