title: How do I use signtool.exe correctly in hudson running as a service?
body: <p>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.</p>
  
  <p>Unfortunately this same command line does not work in the hudson process that is running on the machine.</p>
  
  <p>the error message I get is:</p>
  
  <blockquote>
    <p>SignTool Error: No certificates were
    found that met all the given criteria.</p>
  </blockquote>
  
  <p>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.</p>
  
  <p>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.  </p>
  
  <p>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?</p>