最後更新: 2017-06-01
目錄
Ubuntu
Centos 6
Folder
Centos 7
Ubuntu
update-ca-certificates
Centos 6
update-ca-trust - manage consolidated and dynamic configuration of CA certificates and associated trust
for new applications that read the consolidated configuration files found in the /etc/pki/ca-trust/extracted directory or
that load the PKCS#11 module p11-kit-trust.so
# Install
yum install ca-certificates
# 獲得: update-ca-trust
# /usr/share/pki/ca-trust-source/
# /etc/pki/ca-trust/source/
Usage
# To add a certificate in the simple PEM or DER file formats to the list of CAs trusted on the system:
1. add it as a new pem file to directory
cp my.pem /etc/pki/ca-trust/source/anchors
2.
update-ca-trust
3. 在 /etc/pki/ca-trust/extracted/ 建立 file