Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Trying to get a gem:

$gem install puppet
ERROR:  Could not find a valid gem 'puppet' (>= 0), here is why:
          Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://s3.amazonaws.com/production.s3.rubygems.org/latest_specs.4.8.gz)

I looked at the certificate used by rubygems.org:

$openssl s_client -showcerts -connect rubygems.org:443 
...
Certificate chain
0 s:/serialNumber=RRAXldgzDrRZWQpGo6FHdTHV3qwvwXtD/OU=GT35895174/OU=See www.rapidssl.com/resources/cps (c)13/OU=Domain Control Validated - RapidSSL(R)/CN=*.rubygems.org
  i:/C=US/O=GeoTrust, Inc./CN=RapidSSL CA
...
1 s:/C=US/O=GeoTrust, Inc./CN=RapidSSL CA
  i:/C=US/O=GeoTrust Inc./CN=GeoTrust Global CA
...

So I downloaded the GeoTrust CA:

$wget http://www.geotrust.com/resources/root_certificates/certificates/GeoTrust_Global_CA.pem

And now I'm left with the last task, install this CA. But I can't find the proper way to do it. Specifically, using certutil as described here:

$cd /var/lib/instance_name/alias
$certutil -A -n cert-name -t trustargs -d . -a -i certificate_file

My old Fedora 8 system does not have a /var/lib/instance_name/alias 'subsystem security database directory' and I really failed at locating one.

Any hints?

share|improve this question

1 Answer 1

Have you tried installing ca-certificates (via sudo yum install ca-certificates)? If it is installed, you could try reinstalling it.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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