Forum Navigation
You need to log in to create posts and topics.

YUM install error: "Peer's certificate issuer has been marked as not trusted by the user."

Problem

when user trying to install a yum package for example with following command: “sudo yum install MariaDB-server MariaDB-client”

get the following error

curl#60 – “Peer’s certificate issuer has been marked as not trusted by the user.”

Trying other mirror.

It was impossible to connect to the CentOS servers.

Solution

edit the file of your repository

in our example it will be

vi /etc/yum.repos.d/maria.db

and add to your SSL check

sslverify=false

Note: Recommended to do so only if you trust the YUM repository. or it can install harmful / malicious software

 

 

 

If you have found my website, guides, articles or videos useful, please buy me a coffee