How do I sign exes and dlls with my code signing certificate

Posted by Tim on Stack Overflow See other posts from Stack Overflow or by Tim
Published on 2010-04-27T04:39:40Z Indexed on 2010/04/27 4:43 UTC
Read the original article Hit count: 606

Filed under:

(I purchased a code signing cert from Thawte and have been going out of my mind with frustration at the whole process.

What I have from them are:

  • .spc / .p7b file
  • .pvk file

(NOTE I do not have a pfx file from them. God knows why, but I have been fighting with their tech support for a week)

In any case I find "help" links on their site and at MS for signcode.exe which is useless for me because I can't find that exe on my machine, however I do have signtool.exe.

Unfortunately i am mystified at the command line parameters listed on this MS help site.

Specifically, what parameters do I use and what values? I tried what I thought was obvious but it does not work at all.

I can get the signing wizard to work, however I need this to work non-interactively in a hudson CI batch file.

It really doesn't seem like it should be this difficult, but so far it is all black magic.

thanks for any help

© Stack Overflow or respective owner

Related posts about code-signing