title: Unable to sign code with code-signing certificate
body: <p>We purchased the <a href="http://msdn.microsoft.com/en-us/library/ms537359%28v=vs.85%29.aspx" rel="nofollow">Microsoft Authenticode</a> certificate from Thawte. Now I have it in a PFX file. I try the following:</p>
  
  <pre><code>D:\sign&gt;signtool sign /f ./cert/cert.pfx /p mypass /t http://timestamp.verisign.com/scripts/timstamp.dll "mySetup.exe"
  Done Adding Additional Store
  Successfully signed and timestamped: mySetup.exe
  </code></pre>
  
  <p>But when I run <code>mySetup.exe</code>, it runs like unsigned, and shows "Unknown Publishier".
  When I verify the EXE file with SignTool, I get following.</p>
  
  <pre><code>D:\sign&gt;SignTool verify mySetup.exe
  SignTool Error: WinVerifyTrust returned error: 0x800B010A
  SignTool Error: File not valid: mySetup.exe
  
  Number of errors: 1
  </code></pre>
  
  <p>What is wrong?</p>