小编Mou*_*ath的帖子

加载 CRLnumber 时出现 OpenSSL 错误

我无法生成 CRL。我可能在配置文件中遗漏了一些东西。我得到的错误是“加载 crl 编号时出现 openssl 错误”。CRL 配置部分:

 [ CA_default ]
# Directory and file locations.
dir               = box/ca
certs             = $dir/certs
crl_dir           = $dir/crl
new_certs_dir     = $dir/newcerts
database          = $dir/index.txt
serial            = $dir/serial
RANDFILE          = $dir/private/.rand
# For certificate revocation lists.
crlnumber         = $dir/crlnumber
crl               = $dir/crl/RcCA.crl
crl_extensions    = crl_ext
default_crl_days  = 30
Run Code Online (Sandbox Code Playgroud)

我使用的命令:

openssl ca -config full-path-to-openssl.cnf  -gencrl -out full-path-to-RcCA.crl
Run Code Online (Sandbox Code Playgroud)

其中 rcCA 是 crl 文件。文件结构:
根CA

  • 证书
  • 克林
  • 企业社会责任
  • 中间的
  • 新证书
  • 效果图
  • 私人的

  • 连续剧

  • openssl.cnf
  • 索引.txt
  • 编号

底部三个是文件,上面是文件夹。
我找到的答案指向缺少索引文件。但它存在于我的机器上。我不知道我是否把它放在正确的位置。 …

openssl certificate-authority crl

5
推荐指数
1
解决办法
9553
查看次数

标签 统计

certificate-authority ×1

crl ×1

openssl ×1