【运维排错】[Errno 14] problem making ssl connection YUM报错

yum文件如下

【运维排错】[Errno 14] problem making ssl connection YUM报错

 

报错:

[Errno 14] problem making ssl connection

尝试其他镜像。

错误:Cannot retrieve repository metadata (repomd.xml) for repository: rdo. Please verify its path and try again

 

使用curl测试地址,同时报错ssl连接错误

[root@controller yum.repos.d]# curl https://repos.fedorapeople.org/repos/openstack/EOL/openstack-icehouse/epel-6/repodata/repomd.xml

curl: (35) SSL connect error

【运维排错】[Errno 14] problem making ssl connection YUM报错

 

【运维排错】[Errno 14] problem making ssl connection YUM报错

 

解决:

先将repo文件移动改名,确保CentOS的安装源可以使用

【运维排错】[Errno 14] problem making ssl connection YUM报错

 

//更新curl(可不做)

[root@controller yum.repos.d]# yum -y update curl

//安装nss (Network Security Service, 网络安全服务)

[root@controller yum.repos.d]# yum -y install nss

//安装更新证书

[root@controller yum.repos.d]# yum -y install ca-certificates

 

【运维排错】[Errno 14] problem making ssl connection YUM报错

 

【运维排错】[Errno 14] problem making ssl connection YUM报错

 

【运维排错】[Errno 14] problem making ssl connection YUM报错

 

 

将改名后的repo文件改回来,报错解决

Curl测试正常

【运维排错】[Errno 14] problem making ssl connection YUM报错

上一篇:冬季实战营学习报告 第一期:从零到一上手玩转云服务器


下一篇:Swoole笔记(二)