{"id":270,"date":"2016-01-19T14:10:22","date_gmt":"2016-01-19T14:10:22","guid":{"rendered":"http:\/\/www.pkipartner.support\/?page_id=270"},"modified":"2016-01-28T10:41:42","modified_gmt":"2016-01-28T10:41:42","slug":"codesign-signtool-error-a-certificate-chain-processed-but-terminated-in-a-root-certificate-which-is-not-trusted-by-the-trust-provider","status":"publish","type":"page","link":"https:\/\/pkipartner.com\/support\/codesign-signtool-error-a-certificate-chain-processed-but-terminated-in-a-root-certificate-which-is-not-trusted-by-the-trust-provider\/","title":{"rendered":"Codesign &#8211; SignTool Error:"},"content":{"rendered":"<h1>SignTool Error: A certificate chain processed,<br \/>\nbut terminated in a root certificate which is not trusted by the trust provider<\/h1>\n<p><strong>Question:<\/strong><br \/>\nWhen I try to verify I signed my code correctly, SignTool reports the following error:<\/p>\n<p style=\"padding-left: 60px;\">\n<strong>SignTool Error: A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.<\/strong><\/p>\n<p><strong>Answer:<\/strong><br \/>\nThis is because of the &#8220;verify&#8221; command you may have run: <strong>signtool verify myfile.exe<\/strong>. If you run this command, signtool will use the Windows Driver Verification Policy. In order for your file to &#8220;verify&#8221; properly you need to include the <strong>\/pa<\/strong> switch, so that SignTool uses the Default Authentication Verification Policy.<\/p>\n<p style=\"padding-left: 60px;\"><strong>Example: <\/strong><strong><br \/>\n<em>signtool verify \/pa myfile.exe<\/em><\/strong><\/p>\n<h2>Related Articles<\/h2>\n<p>* <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/8s9b9yaz%28VS.80%29.aspx\">Sign Tool (SignTool.exe) <\/a>(MSDN.Microsoft.com)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SignTool Error: A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider Question: When I try to verify I signed my code correctly, SignTool reports the following error: SignTool Error: A certificate chain processed, but terminated in a root certificate which is\u2026<\/p>\n<p> <a class=\"continue-reading-link\" href=\"https:\/\/pkipartner.com\/support\/codesign-signtool-error-a-certificate-chain-processed-but-terminated-in-a-root-certificate-which-is-not-trusted-by-the-trust-provider\/\"><span>Continue reading<\/span><i class=\"crycon-right-dir\"><\/i><\/a> <\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"_links":{"self":[{"href":"https:\/\/pkipartner.com\/support\/wp-json\/wp\/v2\/pages\/270"}],"collection":[{"href":"https:\/\/pkipartner.com\/support\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/pkipartner.com\/support\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/pkipartner.com\/support\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pkipartner.com\/support\/wp-json\/wp\/v2\/comments?post=270"}],"version-history":[{"count":3,"href":"https:\/\/pkipartner.com\/support\/wp-json\/wp\/v2\/pages\/270\/revisions"}],"predecessor-version":[{"id":603,"href":"https:\/\/pkipartner.com\/support\/wp-json\/wp\/v2\/pages\/270\/revisions\/603"}],"wp:attachment":[{"href":"https:\/\/pkipartner.com\/support\/wp-json\/wp\/v2\/media?parent=270"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}