• Register
0 votes

Problem :

I want to sign the Windows 8 appx package with my pfx file which already I have. I am trying to use the command like below:

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

But from this, I get below error:

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

What "criteria" am I not meeting here? This is only for the testing purpose so these are self-signed certificates. I have already tried importing a key and then signing with it, but it always results in the above error. How can I fix above error?

7 5 2
3,870 points

Please log in or register to answer this question.

2 Answers

0 votes

Solution :

When you are getting this error through a Visual Studio it is because there is a signing certificate setup should match your computer it is originally developed on.

So you can check this by going to your project properties > signing tab and checking your certificate details.

You can uncheck the "Sign the ClickOnce manifests" to disable the signing.

If you just don't want to turn this option off then you will have to install a certificate.


Please always check the certificate expiry date first as most of your certificates have the expiry date. In my case my certificate has expired and I was trying to build my project.

9 7 4
38,600 points
0 votes


At the time obtaining this error v9ia Visual Studio it was since there was a signing certificate setup to match the computer it was basically developed on. You can inspect this by going to the project properties > signing tab and checking the certificate details.

Attempt with /debug.1,2 As in :

signtool sign /debug /f mypfxfile.pfx /p <password> (mydllexectuable).exe

It will help you trace out what is going on. You must obtain output like this:

The following certificates were considered:
    Issued to: <issuer>
    Issued by: <certificate authority> Class 2 Primary Intermediate Server CA
    Expires:   Sun Mar 01 14:18:23 2015
    SHA1 hash: DD0000000000000000000000000000000000D93E

    Issued to: <certificate authority> Certification Authority
    Issued by: <certificate authority> Certification Authority
    Expires:   Wed Sep 17 12:46:36 2036
    SHA1 hash: 3E0000000000000000000000000000000000000F

After EKU filter, 2 certs were left.
After expiry filter, 2 certs were left.
After Private Key filter, 0 certs were left.
SignTool Error: No certificates were found that met all the given criteria.

You can view what filter is causing your certificate to not perform, or in case no certificates were considered.

In case you do not have to sign the app, right click on your project

Project Properties -> Signing -> uncheck "Sign the ClickOnce Manifest"

To resolve this problem, confirm the certificate is installed rightly

1.  Open Internet Explorer

2.  Click Tools > Internet Options > Content tab > Certificates

3.  Under the Personal tab, double-click the certificate

4.  At the bottom of the General tab, the following assertion should subsist: You have a private key that fulfill to this certificate.

10 6 4
31,120 points

Related questions

0 votes
1 answer 15 views
Problem: yumrepo error: all mirror urls are not using ftp, http[s] or file.
asked Feb 21 charles mathews 5.5k points
0 votes
2 answers 93 views
Problem : I am new to Windows 8 OS. I am facing the error while trying to install the IIS manager from the "Turn on off windows features" on my windows 8 machine. I have already installed all the updates on my machine and also rebooted my machine and after ... install the IIS manager. The error is as follows "The function attempted to use a name that is reserved for use by another transaction".
asked Feb 17, 2020 mphil 2.3k points
0 votes
1 answer 2 views
Problem: Please let me know any solution regarding this .. no resource found that matches the given name
asked Apr 6 Ifra 24.4k points
0 votes
1 answer 3 views
Problem: I recently upgraded my Windows 7 machine to Windows 8.1 to be capable of developing Windows Store apps using Visual Studio 2013. When I open a blank project (Windows Store -> Blank App) and run it I get this error: Unable to activate Windows Store app 'Package Name'. The App1.exe process started, but the activation request failed with error 'The app didn't start'
asked 3 days ago ummesalma 25.2k points
0 votes
1 answer 2 views
Problem: I am stuck with this ... Please help me that how to deal with this? hyper-v cannot be installed virtualization support is disabled in the firmware
asked Apr 4 Ifra 24.4k points
0 votes
1 answer 5 views
Problem: I tried to find out the solution on the web when I face this problem but I did not get any fruitful information that I can continue if you read the above question and understand what is the solution of this please cooperate with me- Thanks
asked Mar 30 rakib1 51.5k points
0 votes
1 answer 4 views
Problem: What are my options for dealing with this issue? the application was unable to start correctly 0xc00007b windows 8 64 bit
asked Mar 30 rakib1 51.5k points
0 votes
1 answer 1 view
1 view
Problem: Wix setup project's exe "app can't run on your PC".Have any ideas about incorrect settings, references or configurations ?
asked 15 hours ago Supti 1.4k points
0 votes
1 answer 2 views
Problem: I have a code running But this returns E_INVALIDARG when calling CreatePixelShader(), and m_d3dPShader is a NULL pointer. Any ideas?
asked 4 days ago ummesalma 25.2k points
0 votes
1 answer 2 views
problem: please solve this error of secureboot isn't configured correctly 8.1 build 9600
asked 5 days ago ashik 12.8k points