-
Notifications
You must be signed in to change notification settings - Fork 117
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
Missing SSL Support #13
Comments
Hi! Yes, documentation was accidentally copied from
Yes. It should not be a problem with |
Thanks for the quick response! Waiting a week is no big deal for me. Let me know if you end up not having time for this though. |
It appears to be harder than i thought but now i'm a bit closer (sfackler/rust-native-tls#54). |
Hey, I noticed that the latest release of Given that you haven't yet closed this issue, is there still additional work that you need to do? Also, I noticed that unlike in I've been successfully using |
Hi.
Yeah, ssl on linux is still broken at the moment. I hope to solve this in near future. |
Oh. Well. This one was easyer than i thought. It turns out that certificate of my custom CA should not go to pkcs12 but should be provided separetely. I've added Anyway. let mut ssl_opts = SslOpts::new("./test/client.p12".as_ref());
ssl_opts.set_root_cert_path(Some("./test/ca-cert.der".as_ref()));
ssl_opts.set_password(Some("pass")); |
Cool, I can confirm that SSL now works for me on Linux. Thanks for your quick response! |
Does this crate have support for SSL encryption and X.509 authentication?
There is a comment for
OptsBuilder
that implies that there is SSL support, but it doesn't look like this is actually implemented in this crate. (I'm guessing that this example was perhaps accidentally copied over fromrust-mysql-simple
?)If that was in fact an error, are there plans to add SSL support to this crate? I'm working on a project that requires X.509 authentication. I'd be sending SQL queries from within a
Future
so I'd prefer to use an async MySQL driver. I suspect that adding support would just involve adapting the appropriate pieces of SSL code fromrust-mysql-simple
. If there are no immediate plans, I'm happy to give this a shot. Thanks!The text was updated successfully, but these errors were encountered: