問(wèn)題描述
[Errno 14] problem making ssl connection Trying other mirror.
這個(gè)問(wèn)題類似于Centrify Yum repo fails with [Errno 14] problem making ssl connection棚赔。簡(jiǎn)單說(shuō)就是ssl證書(shū)問(wèn)題碧注。
解決一:
#這點(diǎn)repo可以是你需要安裝的別的repo。例如virtio-win.repo欠气。更改對(duì)應(yīng)的repo就行。
vim /etc/yum.repos.d/epel.repo
[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
將baseurl注釋去掉,為mirrorlist加上注釋。然后將enabeld=1變?yōu)?督禽,禁用ssl證書(shū)驗(yàn)證。
然后安裝下面兩個(gè)東西:
yum install ca-certificates
yum update curl
然后再將enable設(shè)置為1即可
但是我更改完后总处,并沒(méi)有解決赂蠢。
解決二:
原因:
On RHEL based systems (6.7 or older) when the above error is seen, it is caused by support for TLS 1.0 and 1.1 being deprecated for SSL。
說(shuō)人話辨泳,就是你系統(tǒng)的tls版本太低,ssl協(xié)議不支持了玖院。
解決:
To force SSL to start using TLS v1.2, the following packages plus any of dependencies must be updated to the latest:
利用新的命令菠红,更新ssl。
yum
curl
openssl
nss
具體操作步驟:
1) yum-config-manager --disable centrify.repo
2) yum clean all
3) yum update yum
4) yum update curl
5) yum update openssl
6) yum update nss
7) yum-config-manager --enable centrify.repo
這樣搞完后难菌,我的問(wèn)題解決了试溯!