yum failure : Peer cert cannot be verified or peer cert invalid

Posted: March 24, 2016 in Linux yum : Peer cert cannot be verified or peer cert invalid, Troubleshooting

yum failure Peer cert cannot be verified or peer cert invalid

 

[root@testVM ~]# yum repolist all

Loaded plugins: product-id, security, subscription-manager

This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

: [Errno 14] Peer cert cannot be verified or peer cert invalid

Trying other mirror.

: [Errno 14] Peer cert cannot be verified or peer cert invalid

Trying other mirror

 

Adding “sslverify=false” in the ‘/etc/yum.conf’ file of all the VM’s.

vim /etc/yum.conf
sslverify=false

 

#yum repolist all

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s