Forum archive › Linux Software
ArchiveYUM 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
We do this for a living.
Kubernetes, DevOps and platform engineering, delivered in days — not another weekend lost to a stack trace.
Start a project →