AntoniL
asked on
Code signing a file
Hi guys,
I got a digital certificate from Verisign, and now I'm in the process of code signing a few files. I'm trying first with an exe file and I'm a bit desperate. I'm using the signcode tool to do it. This is what I write in a MS-DOS console:
signcode /spc C:mycredencials.spc /v a:myprivatekey.pvk /t http://timestamp.verisign.com/scripts/timstamp.dll c:Project1.exe
It seems to work alright, because as soon as I execute this line, my PC goes to my A drive and fetches my private key, then a form pops up asking for my private key password (taking care of capital letters and being sure the one I'm typing is the correct password), and signcode replies with:
Error: Failed to build the certificate chain as requested
Error: Signing Failed. Result = 800b010a, (-2146762486)
What am I doing wrong here?, do I need any further switch option?, can you please guys help me out?
Thanks
I got a digital certificate from Verisign, and now I'm in the process of code signing a few files. I'm trying first with an exe file and I'm a bit desperate. I'm using the signcode tool to do it. This is what I write in a MS-DOS console:
signcode /spc C:mycredencials.spc /v a:myprivatekey.pvk /t http://timestamp.verisign.com/scripts/timstamp.dll c:Project1.exe
It seems to work alright, because as soon as I execute this line, my PC goes to my A drive and fetches my private key, then a form pops up asking for my private key password (taking care of capital letters and being sure the one I'm typing is the correct password), and signcode replies with:
Error: Failed to build the certificate chain as requested
Error: Signing Failed. Result = 800b010a, (-2146762486)
What am I doing wrong here?, do I need any further switch option?, can you please guys help me out?
Thanks
ASKER
Hi again,
I found a solution and it was just a matter of updating my signcode.exe file. The one I had was designed for IE 3.0!!. The new signcode.exe opens up the wizard, which walks you through the signing process.
See you around lads
I found a solution and it was just a matter of updating my signcode.exe file. The one I had was designed for IE 3.0!!. The new signcode.exe opens up the wizard, which walks you through the signing process.
See you around lads
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I found this article, but it gives no workaround, please take a look ...
http://www.derkeiler.com/Newsgroups/microsoft.public.platformsdk.security/2003-10/0381.html
Any ideas, I'm stuck and spent 400 bucks ... :-(
Cheers