Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to skip certificate validation #6

Merged
merged 2 commits into from
Feb 28, 2022
Merged

Conversation

Hamcha
Copy link
Contributor

@Hamcha Hamcha commented Feb 28, 2022

Description

Adds a flag to skip TLS certificate validation (for running selfhosted github/gitlab with selfsigned certs, for example).

Testing

No test has been added for this since it's mostly a transport/defaults change.

Checklist

  • I have added documentation for new/changed functionality in this or a different PR.
  • I have signed off my commits as required by the DCO
  • The correct base branch is being used, if not main

Alessandro Gatti added 2 commits February 28, 2022 17:41
Also use http.DefaultTransport for most HTTP clients since it has better defaults, plus we can mutate it from the main app.

Signed-off-by: Alessandro Gatti <alessandro.gatti@mikamai.com>
Signed-off-by: Alessandro Gatti <alessandro.gatti@mikamai.com>
@Hamcha Hamcha self-assigned this Feb 28, 2022
@MatteoJoliveau MatteoJoliveau merged commit 0908cdb into main Feb 28, 2022
@MatteoJoliveau MatteoJoliveau deleted the feature/no-verify-tls branch February 28, 2022 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants