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
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
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.
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.
The solution that worked for me was copying the certificate from another server