In case anyone wants a template for using `rustls` for ad-hoc self signed certs (and actually an ad-hoc CA), I polished up what I was hacking on today. It also dynamically regenerates a cert every time your IPs change, which seems useful to me. github.com/OneVariable/...
github.comGitHub - OneVariable/rustls-self-signed-demo: A demo of rustls, tokio-rustls, and rcgen in one placeA demo of rustls, tokio-rustls, and rcgen in one place - OneVariable/rustls-self-signed-demo
4 reposts29 likes