SSL Update fix does not work
For ubuntu 18.04 this does not work: As described in the document: Went to https://raw.githubusercontent.com/rubygems/rubygems/master/lib/rubygems/ssl_certs/index.rubygems.org/GlobalSignRootCA.pem Copied cert.
Went to folder on server:
cd /usr/lib/ruby/2.5.0/rubygems/ssl_certs
Note - no other ssl's in the folder- though the doc stated there should be.
Created/Opened the file
sudo nano GlobalSignRootCA.pem
pasted CA in
saved and exited.
librenms@usmlbnetmon:/usr/lib/ruby/2.5.0/rubygems/ssl_certs$ sudo gem install oxidized ERROR: Could not find a valid gem 'oxidized' (>= 0), here is why: Unable to download data from https://rubygems.org/ - Errno::ECONNRESET: Connection reset by
peer - SSL_connect (https://api.rubygems.org/specs.4.8.gz)
So the method described to fix does not work. Date/Time are all correct so not ntp related.
@davidshirk80 thanks for sharing; we'll look into it. And if you find a fix in the meantime, you're welcome to open up a PR (the SSL guide lives here: https://github.com/bundler/bundler-site/blob/master/source/v2.0/guides/rubygems_tls_ssl_troubleshooting_guide.html.md#debian-or-ubuntu-installed-with-apt-get)