Share via

Signtool no certificates found

mk555 1 Reputation point
2020-10-21T21:06:17.17+00:00

I have a .cat file that i need to sign so i can control a servo with labview through NI_VISA. I tried to use signtool. Beforehand i created a self-signed certificate using new-selfsignedcertificate to use in signtool. When i go to sign my .cat file i get the signtool error: "No certificates were found that met all the given criteria" (code below)

Anyone have any advice on this? I think maybe my certificate was not setup properly but i'm not sure.

Any assistance would be much appreciated, thanks!

  • c:\Program Files (x86)\Windows Kits\10\App Certification Kit> signtool sign /f c:\Users\myname\Desktop\servocert.pfx /p mypassword c:\Users\mynameDocuments\National Intruments\NI_VISA\prefix\prefix.cat
  • SignTool Error: No certificates were found that met all the given criteria.
    • c:\Program Files (x86)\Windows Kits\10\App Certification Kit> signtool sign /debug /f c:\Users\myname\Desktop\servocert.pfx /p mypassword (mydllexectuable).exe
    • The following certificates were considered:
  • Issued to: servocert
  • Issued by: servocert
  • Expires: Thu Oct 21 15:36:17 2021
  • SHA1 hash: <myhash>
    • After EKU filter, 0 certs were left.
  • After expiry filter, 0 certs were left.
  • After Private Key filter, 0 certs were left.
    • SignTool Error: No certificates were found that met all the given criteria.
Windows for business | Windows Server | Devices and deployment | Configure application groups

3 answers

Sort by: Most helpful
  1. Vadims Podāns 9,266 Reputation points MVP
    2021-06-25T06:27:17.247+00:00

    It appears that referenced certificate is not applicable for signing and doesn't include Code Signing enhanced key usage.

    Was this answer helpful?

    0 comments No comments

  2. Ruffletuft 1 Reputation point
    2021-06-23T10:07:13.16+00:00

    hello,I have meet the same problem as you.Was the issue resolved?

    Was this answer helpful?

    0 comments No comments

  3. Anonymous
    2020-10-23T06:57:43.92+00:00

    Hi,
    Based my research, SignTool not able to find the certificate or the certificate expired.
    To See if the certificate is expired or not, open project properties and go to Signing in Left menu.
    You might need to create a new certificate and select from file.
    Or create a new wpf project and copy the certificate from the root project folder and paste in the current project and rename it.

    Also, this more in-depth discussion on this thread might be helpful.
    https://stackoverflow.com/questions/22946399/signtool-error-no-certificates-were-found-that-met-all-given-criteria-with-a-wi

    Please note: Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.