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

The plugin is not accepting https connections #8

Closed
Katekko opened this issue Mar 28, 2020 · 1 comment
Closed

The plugin is not accepting https connections #8

Katekko opened this issue Mar 28, 2020 · 1 comment
Labels
question Further information is requested

Comments

@Katekko
Copy link

Katekko commented Mar 28, 2020

I need a way to set certificate false when I are in localhost. Otherwise thats the error that I get :(

image

@jamiewest
Copy link
Owner

Set the client in HttpConnectionOptions like so:

HttpConnectionOptions(
   client: IOClient(HttpClient()..badCertificateCallback = (x, y, z) => true)
)

This will force the client to accept whatever cert is being used. If you need to use a specific cert, you can set the SecurityContext within the HttpClient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants