YUM install error: "Peer's certificate issuer has been marked as not trusted by the user."
Quote from moshe on 30/10/2022, 12:36 pmProblem
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
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