"TLS" is not making the protocol super complicated
My fucking ass
First I tried rust-native-tls, but it had *no* support for client certificates.
Then I tried rustls, this time things looked a lot more promising. In general I actually quite like the way that it has been designed.
But as it turned out, it relies on webpki, which has no support for v1 certificates, which are the default certificates used by Lagrange (and probably others).
At this point I feel like I am better off just implementing the TLS protocol myself (or maybe abandoning the idea of doing it in rust and just going back to C)
3 years ago ยท ๐ skyfaller
and then you could just terminate ssl in haproxy ๐ which is what I am doing and then route via SNI. I am not missing anything ยท 3 years ago
I might have overreacted a bit.
I ended up importing a v3 cert into lagrange which works. It seems gemserv uses "rust-openssl" and if indeed they have gotten that to work with lagrange and user certs, I might just switch.
Thank you :) ยท 3 years ago
I feel your pain. You might glean useful information from the gemserv project. It's written in rust, supports client certificates, and works with lagrange. ยท 3 years ago