没有找到符合所有给定标准的证书 [英] No certificates were found that met all the given criteria

查看:99
本文介绍了没有找到符合所有给定标准的证书的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用VS 2017进行我们解决方案的C ++开发。该项目由git源控制,并经常在我们的构建服务器上构建。构建服务器在"构建后事件"中对目标进行签名。在使用我们公司证书的构建服务器上。
这在尝试在我们的开发机器上构建版本时会导致问题。我们收到此错误  "未找到符合所有给定标准的证书"可以理解的。但是当我设置"use In Build"时"Post-Build
Event"中的选项不,我仍然得到同样的错误。这不会消失,因为我不再试图签署目标吗?


 

解决方案

请始终首先检查您的证书到期日期,因为大多数证书都有到期日。在我的情况下,证书已过期,我正在尝试构建项目。


要检查证书是否过期,请转到命令行,导航到证书所在的位置,然后输入certutil -dump mycertificate.pfx


 


问候,


Fletcher


I am using VS 2017 for C++ development of our solution. The project is source controlled by git and built often on our build servers. The build servers sign targets in a "Post-Build Event" on the build servers using our companies certificate. This causes an issue when attempting to build on release on our dev machines. We get this error  "No certificates were found that met all the given criteria" understandably. However when I set the "use In Build" option in "Post-Build Event" to No, I still get the same error. Should this not go away as I am no longer attempting to sign the targets??

 

解决方案

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

To check the certificate expiry, go to the command line, navigate to where your certificate is, then enter certutil -dump mycertificate.pfx

 

Regards,

Fletcher


这篇关于没有找到符合所有给定标准的证书的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆