title: yum error [Errno 14] Peer cert cannot be verified or peer cert invalid
body: <p>I have installed CentOS 6 in VM and trying to install few packages</p>
  <p><code>yum install</code> command gives the following error</p>
  <pre><code>Loaded plugins: fastestmirror, refresh-packagekit
  Loading mirror speeds from cached hostfile
  http://vault.centos.org/6/os/x86_64/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: base. Please verify its path and try again
  </code></pre>
  <p>I have checked many answers but none worked. Can anyone guide, please?</p>