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
thebumblecat
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
thebumblecat
source
to share
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
Tiongks
source
to share
The solution that worked for me was copying the certificate from another server
0
Al3x
source
to share