diff --git a/security/rustls/README.md b/security/rustls/README.md index 8a6be173..9d8ae94b 100644 --- a/security/rustls/README.md +++ b/security/rustls/README.md @@ -26,14 +26,17 @@ let mut keys = rsa_private_keys(key_file).unwrap(); // rsa [`mkcert`]: https://github.com/FiloSottile/mkcert -### server +### Running the Example Server ```bash -cd examples/rustls -cargo run (or ``cargo watch -x run``) +cd security/rustls +cargo run # Started http server: 127.0.0.1:8443 ``` +If you prefer reloading you can substitute `cargo watch -x run`. +That requires you install the `cargo-watch` crate. + ### web client - curl: ``curl -v https://127.0.0.1:8443/index.html --compressed -k``