gem install giving me an ssl error

1,198 views
Skip to first unread message

Joshua Toyota

unread,
Nov 1, 2013, 10:27:43 PM11/1/13
to rubyge...@googlegroups.com
Sorry if I haven't done sufficient research before posting.  However, I am currently unable to install new gems due to an ssl error.

Here is the command I am running with the output:

$> gem install annotate -v '2.5.0'
ERROR:  Could not find a valid gem 'annotate' (= 2.5.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/specs.4.8.gz)

Do I have to update on my end, or is this an uptime/status issue for rubygems?

Joshua Toyota

unread,
Nov 1, 2013, 10:50:22 PM11/1/13
to rubyge...@googlegroups.com
Progress made, updated info:

Each file that would give an SSL error:

I was able to access/download it with my browser.  Doing this somehow resolved the SSL issue for that file.  However, the next file that tried to download would give me the same issue:

After downloading specs.4.8.gz:

Gem::RemoteFetcher::FetchError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://rubygems.global.ssl.fastly.net/gems/annotate-2.5.0.gem)
An error occurred while installing annotate (2.5.0), and Bundler cannot continue.
Make sure that `gem install annotate -v '2.5.0'` succeeds before bundling.

After downloading annotate-2.5.0.gem:

$> gem install ~/Downloads/annotate-2.5.0.gem
Successfully installed annotate-2.5.0
WARNING:  Unable to pull 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)
1 gem installed

I found this weird.  Maybe it will help diagnose the issue.  Keep in mind, I was able to accomplish my goal (installing annotate).  This currently isn't a priority issue for me, but it may be smart to get it resolved now in case it remains an issue in the future.

Joshua Toyota

unread,
Nov 2, 2013, 1:57:16 PM11/2/13
to rubyge...@googlegroups.com
SSL Errors continued.  Running the following command fixed it:

sudo rvm osx-ssl-certs update all

Thanks for the patients.

jwi...@figleaf.com

unread,
Aug 1, 2014, 11:12:53 AM8/1/14
to rubyge...@googlegroups.com
Hi group.
I am trying to install vagrant on a CentOS (7) system.
I type in yum install vagrant, and am getting the same error as Joshua Toyota.

"B: certificate verify failed (https://rubygems.org/latest_specs.4.8.gz)"

Please advise best way to resolve this.
Thanks!




On Friday, November 1, 2013 10:27:43 PM UTC-4, Joshua Toyota wrote:

Sam Kottler

unread,
Aug 1, 2014, 12:13:46 PM8/1/14
to rubyge...@googlegroups.com
On Fri, Aug 1, 2014 at 11:12 AM, <jwi...@figleaf.com> wrote:
Hi group.
I am trying to install vagrant on a CentOS (7) system.
I type in yum install vagrant, and am getting the same error as Joshua Toyota.

yum?

Install vagrant from here: http://www.vagrantup.com/downloads.html, the version from RubyGems is no longer supported.

-s
 

"B: certificate verify failed (https://rubygems.org/latest_specs.4.8.gz)"

Please advise best way to resolve this.
Thanks!




On Friday, November 1, 2013 10:27:43 PM UTC-4, Joshua Toyota wrote:
Sorry if I haven't done sufficient research before posting.  However, I am currently unable to install new gems due to an ssl error.

Here is the command I am running with the output:

$> gem install annotate -v '2.5.0'
ERROR:  Could not find a valid gem 'annotate' (= 2.5.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/specs.4.8.gz)

Do I have to update on my end, or is this an uptime/status issue for rubygems?

--
You received this message because you are subscribed to the Google Groups "rubygems.org" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubygems-org...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages