Skip to content

Add HTTP Client option to disable SSL verification #543

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

Closed
wants to merge 2 commits into from

Conversation

kanapuli
Copy link

Description

The current OkHTTPClient do not have an option to disable SSL verification. This makes it hard to use this library to test with local mock clients. The PR add a new HttpClient builder option called disableSslVerification(true) to disable SSL verification.

Fixes #540

@kanapuli kanapuli requested a review from a team as a code owner July 18, 2025 09:03
@TomerAberbach
Copy link
Collaborator

Thanks for the PR, but this setter is too specific. If someone wants to do something more complex, then they cannot.

Instead, I've exposed the following 3f74519, which is available in v2.17.0 (once it finishes publishing)

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.

Add option for configuring SSL
2 participants