Skip to content

insecure ssl/tls #7

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

Lood
Copy link

@Lood Lood commented Jul 24, 2025

Hello!
Sometimes, during the development process, you need to send requests to web services with self-signed certificates.
This is a one-time task to get a resource and it doesn't make sense to add a certificate to the keystore or create a certificate file.
To do this, cURL has the --insecure parameter. I suggest adding in to SslExtenstions.kt is an OkHttpClient.Builder.insecure() extension function. I propose the following this is implementation.

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.

1 participant