centos下安装证书
centos下要跑个https的 request,需要安装证书,否则代码上要多写许多
Linux (CentOs 6)
Add
-
Install the ca-certificates package:
yum install ca-certificates
-
Enable the dynamic CA configuration feature:
update-ca-trust force-enable
-
Add it as a new file to /etc/pki/ca-trust/source/anchors/:
cp foo.crt /etc/pki/ca-trust/source/anchors/
-
Use command:
update-ca-trust extract
posted on 2016-01-27 10:08 js.yeyong 阅读(4537) 评论(0) 编辑 收藏 举报