class Bundler::Fetcher::CertificateFailureError

如果 OpenSSL 证书验证失败,则会引发此错误

公共类方法

new(remote_uri) 点击切换源代码
调用父类方法
# File bundler/fetcher.rb, line 27
def initialize(remote_uri)
  remote_uri = filter_uri(remote_uri)
  super "Could not verify the SSL certificate for #{remote_uri}.\nThere" \
    " 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" \
    " https://railsapps.github.io/openssl-certificate-verify-failed.html."
end