3

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

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

3 Answers 3

4

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

(as root)

cd /usr/share/rhn/
cp RHNS-CA-CERT RHN-ORG-TRUSTED-SSL-CERT
1
  • I'm not sure if this is a correct way to remedy this issue... if anyone has any information, please post it. Thanks! Commented Aug 2, 2014 at 21:50
0

This answer worked for me.

rvm autolibs read-only

In that way rvm do not try to download the dependencies from redhat. But it tell us what is missing, so we can install what is missing manually with yum install from centos repository.

0

A solution that worked for me was to copy the cert from another server

Not the answer you're looking for? Browse other questions tagged or ask your own question.