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

Example of unsafe ssl client with native-tls #306

Open
EverlastingBugstopper opened this issue Dec 17, 2019 · 2 comments
Open

Example of unsafe ssl client with native-tls #306

EverlastingBugstopper opened this issue Dec 17, 2019 · 2 comments

Comments

@EverlastingBugstopper
Copy link

With the closing of #202 came support for native-tls. This is great because my use case requires cross-platform builds and native-tls fits that requirement very nicely.

Unfortunately I'm having a rough time migrating this example to using native-tls.

I've been able to get it to build, but when I run the process, I get this error:

[2019-12-17T21:55:22Z ERROR ws::handler] WS Error <Internal>: Failed to upgrade client to SSL: the handshake process was interrupted

The relevant diff can be found here.

If I get this working I would love to submit a PR that adds this example to the docs!

Thanks so much for your help on this 😄

@EverlastingBugstopper
Copy link
Author

@wiomoc or @housleyjk do either of you have some time to help with this?

@wiomoc
Copy link
Contributor

wiomoc commented Jan 6, 2020

I remember having some issues on macOS back then, for that reason I created kornelski/rust-security-framework#63. I seams like that change didn't made the way into ws-rs yet, so try updating native-ssl

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

No branches or pull requests

2 participants