yum update: SSL certificate failed verification.

I was having issue while updating the CentOS 7 using yum update command , and getting the below message:

  # yum update
The SSL certificate failed verification.

I tried yum clean all

  # yum clean all

SOLUTION FOR THIS PROBLEM

Below is solution i found as an alternate to fix this issue.

I disabled sslverify in /etc/yum.conf

  sslverify=false

but the parameter is not taken into account by the plugin yum-rhn-plugin. I disabled the plugin

vim /etc/yum/pluginconf.d/rhnplugin.conf

  enabled=0

And now, yum update correctly.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.