warp
warp copied to clipboard
TLS via native-tls
In Fedora we don't want to package yet another crypto libraries (in this case I am talking about ring) so we want to stick to openssl as our TLS backend. It would be great if you could use native-tls for TLS implementation.
Thanks in advance!
Currently we are using warp as our web framework in FDO implementation of rust. We are also facing similar problem with 'ring' crate not being FIPS ( Federal Information Processing Standards ) compliant. I was following some of the PRs that were created for supporting TLS options. Can someone pls point if 'native-tls' or 'hyper-tls' is planned for support or is there a way where warp can be used so as avoid rustls ? Thanks !
warp::service can turn warp routes into a hyper::Service. From there you can use any tls with hyper support
@asonix Thanks ! will try that.
We also had a similar requirement to use openssl as the TLS layer in one of our rust based webservers. We built a compatibility layer for it and have open sourced it at https://github.com/Azure/warp-openssl
Any feedback is appreciated. Docs will be improved in coming weeks.