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.
link|improve this question
feedback

1 Answer

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

link|improve this answer
feedback

Your Answer

 
or
required, but never shown