故障现象:
内部网络安装过程中报如下错误:
https://archive.cloudera.com/cm5/redhat/6/x86_64/cm/5.13.3/repodata/repomd.xml: [Errno 14] Peer cert cannot be verified or peer cert invalid
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: cloudera-manager. Please verify its path and try again
故障原因:
CM默认生成的cloudera-manager.repo是https的url,导致认证失败。
[root@namenode1 yum.repos.d]# cat cloudera-manager.repo [cloudera-manager] name = Cloudera Manager, Version 5.13.3 baseurl = https://archive.cloudera.com/cm5/redhat/6/x86_64/cm/5.13.3/ gpgkey = https://archive.cloudera.com/redhat/cdh/RPM-GPG-KEY-cloudera gpgcheck = 1 |
解决思路:
1、Apache httpd服务器上,安装mod_ssl,执行命令
yum -y install mod_ssl
然后重启 httpd服务
2、在本地的yum配置中关闭ssl校验
编辑:/etc/yum.conf
添加: sslverify=false