When rubygems replaced taobaoshource, certificate verified failed.

  question, ruby

When rubygems replaced taobaoshource, certification verified failed. The details are as follows:

gem sources --add  https://ruby.taobao.org/ --remove  https://rubygems.org/
 Error fetching  https://ruby.taobao.org/:
 SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://rubygems-china.oss-cn-hangzhou.aliyuncs.com/specs.4.8.gz)

What?

It is the problem of Taobao.com.

Look at this issue:https://github.com/alibaba/ruby.taobao.org/issues/54

Besides, ruby’s Taobao source has various questions to look at this post.https://ruby-china.org/topics/29250

Change the source: what I am using now ishttps://gems.ruby-china.org/

As the largest ruby forum in the country, ruby-china can still be trusted as a source.