Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1568
  • Last Modified:

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
0
AntoniL
Asked:
AntoniL
  • 2
1 Solution
 
AntoniLAuthor Commented:
Hi again,
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
0
 
AntoniLAuthor Commented:
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
0
 
ee_ai_constructCommented:
Question answered by asker or dialog valuable.
Closed, 250 points refunded.
ee_ai_construct (replacement part #xm34)
Community Support Admin
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now