When i run the command:

sudo yum install perl-bioperl

I get the error

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

My system details are:

Linux localhost.localdomain 3.11.10-100.fc18.x86_64 #1 SMP Mon Dec 2 20:28:38 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Please help me figuring out this problem.


The most likely cause for this problem is that the date on your computer is wrong -- outside of the expiration period for the server's security certificate. It could be something else (data corruption, an attempted hijack, or Fedora's server legitimately having a problem), but time error is the most likely and where you should start to debug.


Did you try this hint https://access.redhat.com/solutions/53905


Cannot install packages because of error: [Errno 14] Peer cert cannot be verified or peer cert invalid


Error: failed to retrieve repodata/-primary.xml.gz from rhel-x86_64-server-6

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

In Red Hat Enterprise Linux 6 an error is seen when trying to change the mirrorlist= URL from http to https in a yum .repo file, but this works on Red Hat Enterprise Linux 5.

  • Unable to view the subscriber content :( – priyanka Nov 5 '14 at 7:40
  • I already included the content of that page in the answer. – f01 Nov 5 '14 at 7:42
  • changing HTTPS to Http doesnt work for me.. – priyanka Nov 5 '14 at 7:51
  • This is not the entire content of that page. – mattdm Nov 9 '17 at 16:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.