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

Source: Internet
Author: User

A prompt error was encountered while using a digital certificate to sign the driver cat package:

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

Check that the PFX certificate is installed, the CER certificate file also exists, and networking is OK, but always prompt for this error.

The signature statement is:

SignTool.exe sign/s root/n "Test Certificate"/t Http://timestamp.verisign.com/scripts/timestamp.dll *.cat

Further comparative analysis, through the establishment of file name mode signature, is normal can be signed successfully.

The following steps are used to reinstall the certificate,

Double-click the. PFX certificate, and in the certificate store directory option, select Trusted Root Certification Authorities,

650) this.width=650; "src=" http://s1.51cto.com/wyfs02/M02/79/97/wKioL1aV46KjziOtAABfKvRFEOY614.png "title=" image 6. PNG "alt=" Wkiol1av46kjziotaabfkvrfeoy614.png "/>

And then re-sign, everything is fine.

Cause Analysis:

    1. The default path is selected when the certificate is installed and the paths that are configured when signing are not consistent, resulting in the failure to find the corresponding certificate under the root path

Workaround:

    1. Reinstall the certificate, select the storage path as trusted Root certification authority

    2. To sign with the specified file name, as follows

SignTool.exe sign/f xxx.pfx/n "Test Certificate"/t Http://timestamp.verisign.com/scripts/timestamp.dll *.cat

This article is from the "upstream" blog, please be sure to keep this source http://tianya30.blog.51cto.com/6392610/1734532

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.