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\"
<
I had this problem and I'm not entirely sure which step below made it work, but hope this helps somebody else...this is what I did:
certmgr.msc and export the certificate (found in whichever store you used in the 1st step) as a pfx file including private key, and extended properties (probably unnecessary)signtool sign /f "c:\mycert.pfx" /p mypassword /d "description" /t http://timestamp.verisign.com/scripts/timstamp.dll $(TargetPath)