Skip to content

Add option to disable SSL verification #419

@synthead

Description

@synthead

Subject of the issue

When cloning a git repo over HTTPS, the user currently has no option to ignore SSL verification, if necessary. The GIT_SSL_NO_VERIFY environment variable can be set, but it would be better to also allow the user to explicitly set this in the global settings, like so:

  Git.configure do |config|
    # If you need to ignore SSL verification
    config.git_ssl_no_verify = true
  end

Your environment

git 2.23.0
ruby-git 1.5.0
ruby 2.6.4p104

Steps to reproduce

This is a feature request and cannot be reproduced.

Expected behaviour

Allow an option to skip SSL verification.

Actual behaviour

There is no option to skip SSL verification.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions