We have gone to VeriSign and purchased a certificate for our WM5
applications. Two files were provided: <file>.spc & <file>.pvk. I have used
the "SignTool Signwizard" with these & all appears well. My problem is
coming up with the correct command line switches to do the same thing to
automate the signing process.

signtool /a /f <file>.spc /p <passwd> /csp ""Microsoft Strong Cryptographic
Provider" /k <file>.pvk <targetfile>.dll

I've tried a variety of combinations and keep getting "private key container
not found". Any help would be appreciated.

RE: Usage of the SignTool by CC

CC
Fri Jan 13 08:37:02 CST 2006

FYI: When I used the "signtool signwizard", the wizard asked for my password
twice!

> We have gone to VeriSign and purchased a certificate for our WM5
> applications. Two files were provided: <file>.spc & <file>.pvk. I have used
> the "SignTool Signwizard" with these & all appears well. My problem is
> coming up with the correct command line switches to do the same thing to
> automate the signing process.
>
> signtool /a /f <file>.spc /p <passwd> /csp ""Microsoft Strong Cryptographic
> Provider" /k <file>.pvk <targetfile>.dll
>
> I've tried a variety of combinations and keep getting "private key container
> not found". Any help would be appreciated.

Re: Usage of the SignTool by O

O
Sat Jan 14 04:43:56 CST 2006

hejdig.

I do not know the answer but there is some information here that might help:
http://www.jacco2.dds.nl/networking/crtimprt.html

HTH

/OF


>>"CC" <CC@discussions.microsoft.com> wrote
>> We have gone to VeriSign and purchased a certificate for our WM5
>> applications. Two files were provided: <file>.spc & <file>.pvk. I have
>> used
>> the "SignTool Signwizard" with these & all appears well. My problem is
>> coming up with the correct command line switches to do the same thing to
>> automate the signing process.
>> signtool /a /f <file>.spc /p <passwd> /csp ""Microsoft Strong
>> Cryptographic
>> Provider" /k <file>.pvk <targetfile>.dll
>> I've tried a variety of combinations and keep getting "private key
>> container
>> not found". Any help would be appreciated.



RE: Usage of the SignTool by CC

CC
Mon Jan 16 11:21:05 CST 2006

Found the answer: Have to merge the spc & pvk files into a pfx file
pvk2pfx -pvk <file>.pvk -pi <passw.> -spc ,file>.spc -pfx <file>.pfx -po
<passw.> -f

then use the switches for a pfx file

RE: Usage of the SignTool by CC

CC
Mon Jan 16 11:51:06 CST 2006

Found the answer: Have to merge the spc & pvk files into a pfx file
pvk2pfx -pvk <file>.pvk -pi <passw.> -spc ,file>.spc -pfx <file>.pfx -po
<passw.> -f

then use the switches for a pfx file