排错:Openstack-icehouse配置yum源ssl证书报错
环境:CentOS6.6
Yum文件如下
报错:
https://repos.fedorapeople.org/repos/openstack/EOL/openstack-icehouse/epel-6/repodata/repomd.xml: [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
解决:
先将repo文件移动改名,确保CentOS的安装源可以使用
//更新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
将改名后的repo文件改回来,报错解决
Curl测试正常