How do i use signtool.exe correctly in hudson running as a service?
- by Tim
I just purchased a code signing cert (MS authenticode) from THAWTE and have installed it apparently on my build machine. I am logged in as a user and when I open a cmd prompt I can sign EXEs using the cert with signtool.exe.
Unfortunately this same command line does not work in the hudson process that is running on the machine.
the error message I get is:
SignTool Error: No certificates were
found that met all the given criteria.
I presume this is because the hudson service is running under a different account than the account that I ran signtool.exe from and from the account I used to get the cert from thawte.
So, my question is: How do I fix this problem? I thought i was going to download a file from thawte, but instead it just used IE somehow to install the cert in the user's cache magically. I probably want to export (or whatever the correct term is) to a file that I can store/save or use on any other machine.
How do i do that and how do I call signtool correctly with either the file or the cert from another user in the system/services account?