Computer Hope

Microsoft => Microsoft DOS => Topic started by: Pr0FiT on May 15, 2008, 02:25:10 PM

Title: Certutil
Post by: Pr0FiT on May 15, 2008, 02:25:10 PM
Hello all,

I was hoping I could get a little help with the certutil.exe program. I'm trying to import a pfx but keep getting an error with certuitl. Unfortuantly I can't find a whole lot of online resouces about this program so here I am =)

Here is the "current" command I'm trying

certutil -f -addstore "Intermediate Certification Authorities" C:\DevCert.pfx

This results in the error:
CertUtil: -addstore command FAILED: 0x80093102 (ASN: 258)
CertUtil: ASN1 unexpected end of data.

I've tried the -ImportCert as well but it ends w/ basically the same error. I import the cert through the wizard w/ no problem
Title: Re: Certutil
Post by: gpl on May 15, 2008, 05:25:20 PM
Just a thought, these command line programs often have built-in help, have you tried

certutil -?
or
certutil -h

just done a google and technet has these help pages
http://technet2.microsoft.com/windowsserver/en/library/a3d5dbb9-1bf6-42da-a13b-2b220b11b6fe1033.mspx?mfr=true (http://technet2.microsoft.com/windowsserver/en/library/a3d5dbb9-1bf6-42da-a13b-2b220b11b6fe1033.mspx?mfr=true)
Graham