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

How to use native tls with tokio_tls feature? #31

Closed
xyaman opened this issue May 27, 2020 · 3 comments
Closed

How to use native tls with tokio_tls feature? #31

xyaman opened this issue May 27, 2020 · 3 comments

Comments

@xyaman
Copy link

xyaman commented May 27, 2020

No description provided.

@sdroege
Copy link
Owner

sdroege commented May 28, 2020

What's exactly the problem here? When enabling the tokio-tls feature, TLS connections would be done via tokio-tls, which uses native-tls (i.e. SChannel on Windows, Secure Transport on macOS/iOS, OpenSSL elsewhere).

This should be moved from tokio-tls to tokio-native-tls on the next breaking release, but that should be basically the same.

@xyaman
Copy link
Author

xyaman commented May 28, 2020

Sorry, I was thinking that tokio-tls uses openssl, because my program needed openssl, then I realized that was another crate. My bad

@sdroege
Copy link
Owner

sdroege commented May 28, 2020

Ok, no worries :)

@sdroege sdroege closed this as completed May 28, 2020
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