certificate - Certutil -restrict Error 系统找不到指定的文件

标签 certificate digital-certificate certutil

我正在尝试获取在给定日期范围内有效的证书:-

certutil –view –restrict "NotAfter<=July 31,2013 08:00AM,NotAfter>=July 20,2013 08:00AM" –out "RequestID,RequesterName"

引用:- http://blogs.technet.com/b/pki/archive/2008/04/24/how-to-determine-all-certificates-that-will-expire-within-30-days.aspx

我收到以下错误:-

CertUtil: The system cannot find the file specified.

感谢任何帮助。

最佳答案

我遇到了类似的问题,在使用命令 CertUtil -addStore Mykey.cer 添加要存储的证书时出现了错误

CertUtil: The system cannot find the file specified.

问题是无法找到或导入证书。因此,为了解决这个问题,我遵循了(管理员命令提示符)中的以下内容:--

1.在 MakeCert 命令的末尾使用 ss -rootenter image description here

2.从我运行 makeCert 命令的相同位置运行 CertUtil 命令。 enter image description here

关于certificate - Certutil -restrict Error 系统找不到指定的文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17961143/

相关文章:

c# - 如何验证自签名证书

windows - 如何查看存档的证书? (例如 makecert/certmgr.msc 证书)

java - keystore 被篡改,或密码不正确 - Java Springboot应用程序

ios - Apple iOS 配置门户中没有 'add certificate' 按钮

sql - CertUtil 导入 pfx 失败 : NTE_NOT_SUPPORTED

windows - 将 CertUtil -hashfile 的结果保存到变量并删除散列的空格

ssl - 使用不起作用的 yum 重新安装 rhn-client-tools

java keystore 和密码设置

php - 如何使用PHP从浏览器检查数字签名

ssl - 如何以编程方式将证书添加到 Firefox 版本 59,在 firefox 文件夹中找不到 cert9.db