centos6使用yum安装软件报错:

Peer cert cannot be verified or peer cert invalid

解决办法:

echo "sslverify=false" >> /etc/yum.conf

重新安装软件,错误消失。