title: SignTool Error: No certificates were found that met all the given criteria
body: <p>It's been 2 full days that I'm trying to sign my exe using SignTool and kSign. I bought a SSL certificate from COMODO for my domain (used for https on apache). Now I'm trying to sign my exe using the same certificate and the same private key used. I'm using the commands:</p>
  
  <pre><code>openssl pkcs12 -inkey example.com.key -in example.com.crt -export -out example.com.pfx
  </code></pre>
  
  <p>and trying to sign it</p>
  
  <pre><code>signtool /f example.com.pfx /p mypassword myexe.exe
  </code></pre>
  
  <p>and I always get: "SignTool Error: No certificates were found that met all the given criteria."</p>
  
  <p>Whatever ways I found to generate PFX files from the Internet, it's always that same error message. I even tried to sign it with kSign and I get the same thing. What I am missing? Can I use a SSL certificate I bought for my web server for signing my exe files also?</p>
  
  <p>Thanks.</p>