# wget https://apt.puppetlabs.com/puppetlabs-release-jessie.deb
--2015-08-15 19:40:45-- https://apt.puppetlabs.com/puppetlabs-release-jessie.deb
Resolving apt.puppetlabs.com (apt.puppetlabs.com)... 192.155.89.90, 2600:3c03::f03c:91ff:fedb:6b1d
Connecting to apt.puppetlabs.com (apt.puppetlabs.com)|192.155.89.90|:443... connected.
ERROR: The certificate of `apt.puppetlabs.com' is not trusted.
ERROR: The certificate of `apt.puppetlabs.com' hasn't got a known issuer.
# gem install rhc
ERROR: Could not find a valid gem 'rhc' (>= 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://api.rubygems.org/latest_specs.4.8.gz)
>>
Fix:-
#apt-get install ca-certificates
--2015-08-15 19:40:45-- https://apt.puppetlabs.com/puppetlabs-release-jessie.deb
Resolving apt.puppetlabs.com (apt.puppetlabs.com)... 192.155.89.90, 2600:3c03::f03c:91ff:fedb:6b1d
Connecting to apt.puppetlabs.com (apt.puppetlabs.com)|192.155.89.90|:443... connected.
ERROR: The certificate of `apt.puppetlabs.com' is not trusted.
ERROR: The certificate of `apt.puppetlabs.com' hasn't got a known issuer.
# gem install rhc
ERROR: Could not find a valid gem 'rhc' (>= 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://api.rubygems.org/latest_specs.4.8.gz)
>>
Fix:-
#apt-get install ca-certificates