1
votes

I downloaded Ruby installer for Windows, Installed Ruby, then tried

gem update --system

ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)

SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://api.rubygems.org/specs.4.8.gz)

gem update --system --source http://rubygems.org

Updating installed gems

ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)

SSL_connect returned=1 errno=0 state=error: certificate verify failed (https://api.rubygems.org/specs.4.8.gz)

How to force it to use HTTP version of the host?

  • ruby 2.3.1p112 (2016-04-26 revision 54768) [i386-mingw32]
  • gem 2.6.7
1
what version of ruby are you trying to install? rubygems 2.4.4 is broken on windows. check out gist.github.com/luislavena/f064211759ee0f806c88baseballlover723
@baseballlover723: I added version information to the question.Paul
try updating ruby gems to 2.6.8 because it has better ssl error messages and check out these github issues, they might be what your experiencing. github.com/rubygems/rubygems/issues/1758. guides.rubygems.org/ssl-certificate-updatebaseballlover723

1 Answers

0
votes

Hi sorry for the late response. Having the same problem and I've gotten to the point where it's actually api.rubygems.org sending the redirect to https!