verify cert with certutil.exe

Posted by Michal on Server Fault See other posts from Server Fault or by Michal
Published on 2009-10-29T17:59:57Z Indexed on 2010/04/22 2:04 UTC
Read the original article Hit count: 1349

Filed under:

Hi, I have stupid problem, what is correct syntax on verify certificate in certificate store with certutil.exe.

I have client certificate in cerstore. I try this: certutil.exe -verify CertCommonName

but in finish with this error :

DecodeFile returned The system cannot find the file specified. 0x80070002 (WIN32 : 2) LoadCert(Cert) returned The system cannot find the file specified. 0x80070002 (W IN32: 2) CertUtil: -verify command FAILED: 0x80070002 (WIN32: 2) CertUtil: The system cannot find the file specified.

When I ping certutil.exe -ping it connect to pc.

© Server Fault or respective owner

Related posts about certificate