centos 和ubuntu(debian)上导入自签名的根证书到信任根区域

证书首先是pem格式,然后以crt为后缀格式 ubuntu上: cp aaa.crt       /usr/local/share/ca-certificates update-ca-certificates -f Centos 上 cp aaa.crt   /etc/pki/ca-trust/source/a...

证书首先是pem格式,然后以crt为后缀格式

ubuntu上

cp aaa.crt       /usr/local/share/ca-certificates

update-ca-certificates -f

Centos

cp aaa.crt   /etc/pki/ca-trust/source/anchors

update-ca-trust enable

update-ca-trust

If your certificate is in the extended BEGIN TRUSTED file format,then place it into the main source/ directory instead.

如果删除 update-ca-trust delete
执行update 命令为了更新 /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem 值
  • 发表于 2020-03-27 00:43
  • 阅读 ( 43 )

你可能感兴趣的文章

相关问题

0 条评论

请先 登录 后评论
shitian
shitian

662 篇文章

作家榜 »

  1. shitian 662 文章
  2. 石天 437 文章
  3. 每天惠23 33 文章
  4. 小A 29 文章