curl: (60) SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
More details here: http://curl.haxx.se/docs/sslcerts.html
解决办法:下载curl-7.55.1.tar.gz
2:解压并进入curl目录:
tar -zxvf curl-7.55.1.tar.gz
cd curl-7.55.1
3:编译安装
./configure
make
make install
4:进入证书目录/etc/pki/tls/certs/
cd /etc/pki/tls/certs/
修改ca-bundle.crt为ca-bundle.crt_bak
mv cca-bundle.crt ca-bundle.crt_bak
下载cacert.pem至/etc/pki/tls/certs/:链接如下
wget https://curl.haxx.se/ca/cacert.pem
修改cacert.pem 为ca-bundle.crt
mv cacert.pem ca-bundle.crt
5:重启搞定
reboot