Tuesday, May 29, 2018

Unable to download data from https://rubygems.org/ - ... bad ecpoint

Hello,
If you reached this page, means you've hit this SSL error when trying to pull updates from RubyGems:
SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
This error is produced by changes in rubygems.org infrastructure, please keep reading to better understand it.
If you're one of those too long, didn't read just skip to the guide on how to workaround it.


The solution:
Execute the following command in the bash or CMD with administrator privileges.
CMD (as administrator):
gem sources -a http://rubygems.org
Bash:
sudo gem sources -a http://rubygems.org