Simple example of hyper-rustls
Run as follows.
cargo run
Access to the server as follows.
curl -k https://localhost:3000/
You can make certificates as follows.
mkdir ssl_certs && cd ssl_certs && openssl req -x509 -newkey rsa:4096 -keyout server.key -out server.crt -days 365 -sha256 -nodes --subj '/CN=localhost/' && cd -