解决方案地址: http://www.megaleecher.net/SSL_Certificate_Verification_Error_in_Linux#axzz3P9axfRfp
返回错误信息如下:
fatal: unable to access 'https://github.com/gmarik/Vundle.vim.git/': SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
The reason for the error is older version of CentOS 5.XX having expired certificate authority bundles, the root certificate bundle is located at :
/etc/pki/tls/certs/ca-bundle.crt
.
Solution One : Disable SSL for Github (Fastest)
Execute the command
git config --system http.sslVerify false
on console and retry connecting, this will simply bypass the SSL verification. Do mind that this can be dangerous from security point of view, SSL signature verification exists to safeguard against man in the middle attacks and this disables that safety feature. Use only when other solution's shared below does not work.
Solution Two : Update the CA certificate bundle (Recommended)
Use
yum update openssl
or equivalent command to get the latest version of OpenSSL library which will renew the working set of CA certificates (ca-bundle.crt).
Solution Three : Replace the old CA certificate's using cURL
Use curl and replace the certificate bundle with new ones using
curl http://curl.haxx.se/ca/cacert.pem -o /etc/pki/tls/certs/ca-bundle.crt
Read more: Fixing the "error: SSL certificate problem, verify that the CA cert is OK" Error On Linux | Megaleecher.Net http://www.megaleecher.net/SSL_Certificate_Verification_Error_in_Linux#ixzz3P9bZrWZi
相关推荐
centos7 httpd ssl apr prce apr-util openssl apache
在Centos7.6平台下使用openssl给apache做自签名证书,并给apache设置HTTPS的SSL证书。(无坑版) 二、平台 [root@kahn.xiao ~]# uname -r 3.10.0-957.el7.x86_64 [root@kahn.xiao ~]# cat /etc/redhat-release ...
解决centos时间同步问题,时区问题。
CentOS 5.7中文乱码问题解决方案.docx
Linux-CentOS编译好的python3.8,解决了ssl相关问题
CentOS Apache SSL Configuration
Centos7升级最新版ssl和ssh,openssl-1.0.2n.tar.gz和openssh-7.6p1.tar.gz
window登录centos7 系统samba 共享 失败
在使用pip3的时候,错误信息如下...而且网上的某些方法用./configure –with-ssl这条命令是无效的,下面给出解决问题的方案。 出现这种错误可以在Modules/Setup中,Ctrl + F查找字符串SSL, 将找到的第一个SSL下面的命
VMware虚拟机启动CentOS黑屏的解决方案.txt
/dev/mapper/centos-root 磁盘空间爆满解决方案
CentOs6.10 安装后无网卡问题解决方案.md
centos的安装问题
这个文档很好的解决了CentOS中的中文乱码问题,希望对大家有用。
Centos安装过程中出现的问题和解决方案
CentOS6 YUM 源失效问题解决办法
记得改后缀为.PDF,CentOS下配置SSL.PDF,CentOS服务器下安装配置SSL,https是一个安全的访问方式,数据在传输过程中是加密的,https基于SSL。
介绍centOS下ifconfig找不到eth0解决方案
CentOS7-系统安全加固实施方案.pdf