Skip to content

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