Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a client certificate in certstore. I try this:

certutil.exe -verify CertCommonName

but in get this error when I ping certutil.exe -ping it connect to pc.

DecodeFile returned The system cannot find the file specified. 0x80070002 (WIN32: 2)       

LoadCert(Cert) returned The system cannot find the file specified. 0x80070002 (WIN32: 2) 

CertUtil: -verify command FAILED: 0x80070002 (WIN32: 2) CertUtil: The system cannot find the file specified.
share|improve this question

1 Answer 1

Instead of CertCommonName you need to give the filepath path to a certificate file i.e. certutil -verify examplecertificate.cer rather than certutil.exe -verify CertCommonName. The way you have its looking for a file called CertCommonname and cant find it.

Cheers

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.