{"record":{"id":"1657d12496509742","repo":"ruby/rubygems","slug":"17-1657d1","errorCode":"17","errorMessage":"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.","messagePattern":"Could not verify the SSL certificate for #(.+?)\\.\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\\.","errorType":"http","errorClass":"CertificateFailureError","httpStatus":null,"severity":"error","filePath":"lib/bundler/fetcher/index.rb","lineNumber":13,"sourceCode":"# frozen_string_literal: true\n\nrequire_relative \"base\"\n\nmodule Bundler\n  class Fetcher\n    class Index < Base\n      def specs(_gem_names)\n        Bundler.rubygems.fetch_all_remote_specs(remote, gem_remote_fetcher)\n      rescue Gem::RemoteFetcher::FetchError => e\n        case e.message\n        when /certificate verify failed/\n          raise CertificateFailureError.new(display_uri)\n        when /401/\n          raise BadAuthenticationError, remote_uri if remote_uri.userinfo\n          raise AuthenticationRequiredError, remote_uri\n        when /403/\n          raise AuthenticationForbiddenError, remote_uri\n        else\n          raise HTTPError, \"Could not fetch specs from #{display_uri} due to underlying error <#{e.message}>\"\n        end\n      end\n    end\n  end\nend\n","sourceCodeStart":1,"sourceCodeEnd":26,"githubUrl":"https://github.com/ruby/rubygems/blob/86cbb817a38ce8477b181c17467a703ded3f2be8/lib/bundler/fetcher/index.rb#L1-L26","documentation":"Error \"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.\" thrown in ruby/rubygems.","triggerScenarios":"Thrown at lib/bundler/fetcher/index.rb:13 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"86cbb817a38ce8477b181c17467a703ded3f2be8","analyzedAt":"2026-08-23T06:27:48.159Z","schemaVersion":2},"datasetVersion":"2026-08-23T08:06:27.607Z"}