Solved

Code signing a file

Posted on 2004-10-15
3
1,537 Views
Last Modified: 2013-12-03
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
Comment
Question by:AntoniL
  • 2
3 Comments
 

Author Comment

by:AntoniL
ID: 12320957
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
 

Author Comment

by:AntoniL
ID: 12383395
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
 

Accepted Solution

by:
ee_ai_construct earned 0 total points
ID: 12383832
Question answered by asker or dialog valuable.
Closed, 250 points refunded.
ee_ai_construct (replacement part #xm34)
Community Support Admin
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now