Amazon Web Service EC2 RedHat yum exam not working

After setting up a new ec2 instance, I tried to install vim using yum ... I got this error:

ERROR: Cannot find CA RHNS file: / usr / share / rhn / RHN-ORG-TRUSTED-SSL-CERT

+3


source to share


3 answers


In the / usr / share / rhn / folder the cert file is named incorrect ... you can just make a copy of the certificate with the correct name

(as root)



cd /usr/share/rhn/
cp RHNS-CA-CERT RHN-ORG-TRUSTED-SSL-CERT

      

+3


source


This answer worked for me.



rvm autolibs read-only

This way rvm doesn't try to download dependencies from redhat. But it tells us what is missing, so we can install what is missing manually using yum install from the centos repository.

0


source


The solution that worked for me was copying the certificate from another server

0


source







All Articles