yum install
出错
curl: (60) Peer's Certificate issuer is not recognized.
More details here: http://curl.haxx.se/docs/sslcerts.html
解决办法
- 安装 ca-certificates 包
yum install ca-certificates
- 启用动态 CA 证书
update-ca-trust force-enable
- 进入证书目录
cd /etc/pki/ca-trust/source/anchors/
- 将证书目录的证书都添加为系统信任证书
update-ca-trust extract