CENTOS导入证书

 

openssl x509 -inform pam -in ws.cer -out ws.pem
cat ws.pem >> /etc/pki/tls/certs/ca-bundle.crt

cat /etc/pki/tls/certs/ca-bundle.crt //这里会看到证书已经追加到末尾了