Signtool error: No certificates were found that met all given criteria with a Windows Store App?

I’m trying to sign a Windows 8 appx package with a pfx file I have. I’m using a command like so:

signtool.exe sign /fd sha256 /f "key.pfx" "app.appx"

And from this, I get:

SignTool Error: No certificates were found that met all the given criteria.

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?

20 Answers
20

Leave a Comment