[Errno 14] problem making ssl connection Trying other mirror

今天安装完成epel的安装源后,利用epel安装源安装python-pip报如下错误: [code][root@core1 ~]# yum -y install python-pip Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirrors.163.com * extras: mirrors.btte.net * updates: mirrors.btte.net http://download.fedoraproject.org/pub/epel/6/x86_64/repodata/repomd.xml: [Errno 14] problem making ssl connection Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again[/code]请问一下这个怎么解决,从这边上看是通过https去链接远端的安装库,但是地址明明是 [url]http://download.fedoraproject.org/pub/epel/6/x86_64/repodata/repomd.xml[/url]  啊?
已邀请:

空心菜 - 心向阳光,茁壮成长

赞同来自: Geek小A

请求源给你做跳转了 ,使用epel的源是https的,你可以先升级一下curl的版本:
# yum  update  curl 
但是其实跟curl版本无关,不是关键的,关键的是如下:
 
先把vi /etc/yum.repos.d/epel.repo里的enabled=0,禁用掉现在出错的yum源,然后安装ca-certificates:
# yum install ca-certificates -y
装完了再把enabled变回1.
 
如果还不行就先mv /etc/pki/tls/certs/ca-bundle.crt /etc/pki/tls/certs/ca-bundle.crt.bk 备份下
再安装ca-certificates试试。

要回复问题请先登录注册