redhat yum M2Crypto.SSL.SSLError: sslv3 alert handshake failure

在配置salt的yum源后,yum makecache报上面的错误
File “/usr/lib64/python2.4/httplib.py”, line 685, in _send_output
self.send(msg)
File “/usr/lib64/python2.4/httplib.py”, line 652, in send
self.connect()
File “/usr/lib64/python2.4/site-packages/M2Crypto/httpslib.py”, line 47, in connect
self.sock.connect((self.host, self.port))
File “/usr/lib64/python2.4/site-packages/M2Crypto/SSL/Connection.py”, line 156, in connect
ret = self.connect_ssl()
File “/usr/lib64/python2.4/site-packages/M2Crypto/SSL/Connection.py”, line 149, in connect_ssl
return m2.ssl_connect(self.ssl, self._timeout)
M2Crypto.SSL.SSLError: sslv3 alert handshake failure
[root@dg1 yum.repos.d]# ls
CentOS-Base.repo yum.repo
[root@dg1 yum.repos.d]# cat yum.repo
[saltstack-repo]
name=SaltStack repo for RHEL/CentOS 5
baseurl=https://repo.saltstack.com/yum/redhat/5/X86_64/latest
enabled=1
gpgcheck=1
gpgkey=https://repo.saltstack.com/yum/redhat/5/x86_64/latest/SALTSTACK-EL5-GPG-KEY.pub

在正常的机器上添加后,也是会提示,看来还是配置的问题,单独奖url检测了下发现是baseurl错误 X86中的字母大写了,改成小写后正常。

你可能感兴趣的:(linux)