2014-11-25 85 views
1

安装git的我居然也得到了以下错误后: 混帐克隆:致命的:无法找到的 'https'证书的/ usr /共享/ RHN/RHNS-CA-CERT已过期

我跟着远程帮手链接: "Unable to find remote helper for 'https'" during git clone

,并试图以下:

$ yum install curl-devel 
$ # cd to wherever the source for git is 
$ cd /usr/local/src/git-1.7.9 
$ ./configure 
$ make 
$ make install 

我收到以下错误: 证书的/ usr /共享/ RHN/RHNS-CA-CERT已过期。

想法??

回答

3

您的SSL证书信息已过期。用有效的替换它。

rm /usr/share/rhn/RHNS-CA-CERT 
wget -P /usr/share/rhn http://f.cl.ly/items/1B19031O2E0m1k3E2n3u/RHNS-CA-CERT 

此外,更新红帽网络数据包

yum -y update rhn* 
+0

也https://access.redhat.com/solutions/353033和http://osdir.com/ml/spacewalk-list/2014-11/msg00038.html – VonC 2014-11-25 12:09:58

1

这也可能发生在Oracle Linux上,在这种情况下,你可以简单地绕过ULN/RHN百胜插件和获取最新的rhn-客户端工具来自公共回购。

yum update rhn-client-tools --noplugins