https是否过期?
graysonchen opened this issue · 11 comments
graysonchen commented
hi all.
https是否过期?
Fetching source index from https://ruby.taobao.org/
Retrying fetcher due to error (2/4): Bundler::Fetcher::CertificateFailureError Could not verify the SSL certificate for https://ruby.taobao.org/.
There is a chance you are experiencing a man-in-the-middle attack, but most likely your system doesn't have the CA certificates needed for verification. For information about OpenSSL certificates, see http://bit.ly/ruby-ssl. To connect without using SSL, edit your Gemfile sources and change 'https' to 'http'.
Retrying fetcher due to error (3/4): Bundler::Fetcher::CertificateFailureError Could not verify the SSL certificate for https://ruby.taobao.org/.
There is a chance you are experiencing a man-in-the-middle attack, but most likely your system doesn't have the CA certificates needed for verification. For information about OpenSSL certificates, see http://bit.ly/ruby-ssl. To connect without using SSL, edit your Gemfile sources and change 'https' to 'http'.
Retrying fetcher due to error (4/4): Bundler::Fetcher::CertificateFailureError Could not verify the SSL certificate for https://ruby.taobao.org/.
There is a chance you are experiencing a man-in-the-middle attack, but most likely your system doesn't have the CA certificates needed for verification. For information about OpenSSL certificates, see http://bit.ly/ruby-ssl. To connect without using SSL, edit your Gemfile sources and change 'https' to 'http'.
Could not verify the SSL certificate for https://ruby.taobao.org/.
There is a chance you are experiencing a man-in-the-middle attack, but most likely your system doesn't have the CA certificates needed for
verification. For information about OpenSSL certificates, see http://bit.ly/ruby-ssl. To connect without using SSL, edit your Gemfile
sources and change 'https' to 'http'.
Xenofex commented
相同的问题,证书已经过期了没法更新
zl810881283 commented
相同问题,求尽快解决
cui-liqiang commented
问题已经解决
graysonchen commented
Thanks! cool.
unifreak commented
FGFW commented
网上已经有人碰到与楼上同样的问题了。
Tommassissimo commented
还是存在证书问题,更新openssl证书也没解决。
fishermancome commented
现在好像还没解决
JonyFang commented
修改下 Bundler 的 Gem 源代码镜像,执行如下命令即可
$ bundle config mirror.https://rubygems.org https://gems.ruby-china.org
这样你不用再去改 Gemfile 的 source 了
source 'https://rubygems.org/'
JonyFang commented
RubyGems 镜像的管理已经交由 Ruby China 负责了,需要切换下原先的 source
$ gem sources --add https://gems.ruby-china.org/ --remove https://rubygems.org/
执行完,校验下 source 是否切换过来了,就可以了
$ gem sources -l
*** CURRENT SOURCES ***
https://gems.ruby-china.org
songzy12 commented
当前应该使用
bundle config mirror.https://rubygems.org https://gems.ruby-china.com