系统相关
首页 > 系统相关> > RHEL & Ubuntu Install Root Certificates

RHEL & Ubuntu Install Root Certificates

作者:互联网

 

 

Ubuntu:

  1. apt install ca-certificates
    
    mkdir -pv /usr/share/ca-certificates/quasi

     

  2. cp ca.crt /usr/share/ca-certificates/quasi/quasi.crt
    
    echo quasi/quasi.crt >> /etc/ca-certificates.conf
    
    update-ca-certificates --verbose --fresh


    /etc/ssl/certs 下会生成链接到 /usr/share/ca-certificates/quasi/quasi.crt

     

     

 

RHEL:

  1. cp quasi.crt /etc/pki/ca-trust/source/anchors/quasi.crt
    
    OR
    
    cp quasi.crt /usr/share/pki/ca-trust-source/anchors/quasi.crt
    
    update-ca-trust

     

  2.  README

     

     

     

     

  3. CHANGED FILES

     

     每个箭头标注的文件都包含了添加的quasi.crt

     

     

     

     

     

     

标签:crt,ca,share,certificates,quasi,RHEL,Certificates,Root,usr
来源: https://www.cnblogs.com/dissipate/p/15467039.html