Exception: Bundler::Fetcher::CertificateFailureError
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
::Bundler::HTTPError ,
::Bundler::BundlerError ,
StandardError
|
|
Instance Chain:
self,
::Bundler::HTTPError ,
::Bundler::BundlerError ,
StandardError
|
|
Inherits: |
Bundler::HTTPError
|
Defined in: | lib/bundler/fetcher.rb |
Overview
This is the error raised if OpenSSL fails the cert verification
Class Method Summary
- .new(remote_uri) ⇒ CertificateFailureError constructor
::Bundler::BundlerError
- Inherited
Instance Method Summary
::Bundler::HTTPError
- Inherited
Constructor Details
.new(remote_uri) ⇒ CertificateFailureError
# File 'lib/bundler/fetcher.rb', line 25
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." \ " To connect without using SSL, edit your Gemfile" \ " sources and change 'https' to 'http'." end