warp icon indicating copy to clipboard operation
warp copied to clipboard

TLS via native-tls

Open igor-raits opened this issue 6 years ago • 4 comments

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!

igor-raits avatar Mar 14 '19 07:03 igor-raits

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 !

sarmahaj avatar Aug 01 '23 10:08 sarmahaj

warp::service can turn warp routes into a hyper::Service. From there you can use any tls with hyper support

asonix avatar Aug 01 '23 13:08 asonix

@asonix Thanks ! will try that.

sarmahaj avatar Aug 02 '23 08:08 sarmahaj

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.

msabansal avatar Oct 23 '23 21:10 msabansal