Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Code signing a file

Posted on 2004-10-15
3
Medium Priority
?
1,564 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared 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…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

715 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