title: Signtool error: No certificates were found that met all given criteria with a Windows Store App?
body: <p>I'm trying to sign a Windows 8 appx package with a pfx file I have. I'm using a command like so:</p>
  
  <pre><code>signtool.exe sign /fd sha256 /f "key.pfx" "app.appx"
  </code></pre>
  
  <p>And from this, I get:</p>
  
  <blockquote>
    <p>SignTool Error: No certificates were found that met all the given criteria.</p>
  </blockquote>
  
  <p>What "criteria" am I not meeting? This is only for testing so these are self-signed certificates. I've tried importing the key and then signing it, but it always results in the same error. How do I fix this? </p>