Top

CA-Trust

添加CA根证书在本地信任

我的环境是Centos7.4!

1. 安装相关依赖

一般都是默认安装了的.
[root@client ~]# yum install ca-certificates

2. 移动根证书到指定目录下

[root@client ~]# mv cacert.pem /etc/pki/ca-trust/source/anchors/

3. 更新本地根证书

[root@client ~]# update-ca-trust

4. 查看当前信任情况

[root@client ~]# trust list|head -5
pkcs11:id=%86%1f%78%d0%ac%46%dd%d7%b1%3d%52%33%3d%9c%44%37%95%a8%4d%8f;type=cert
    type: certificate
    label: hyiqie.com
    trust: anchor
    category: authority


        
 上一篇

  Centos, Mysql