Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The `spin-cli` now supports the `tls-key` and `tls-crt` options, e.g. ```spin up -tls-key <path/to/key> -tls-crt <path/to/crt> ...``` For convenience, the following environment variables can be set in lieu of their respective flags. ``` SPIN_TLS_CRT=<path/to/crt> SPIN_TLS_KEY=<path/to/key> ``` NOTE: Explicitly set flags take precedence over the environment. ``` export RUST_LOG=spin_engine=info,spin_http,wact=info export SPIN_TLS_CRT=crates/http/tests/local.crt.pem export SPIN_TLS_KEY=crates/http/tests/local.key.pem spin up --app templates/spin-http/spin.toml curl -k https://127.0.0.1:3000/test/hello ``` Signed-off-by: Brian Hardock <brian.hardock@fermyon.com> Co-authored-by: Michelle Dhanani <michelle@fermyon.com> Signed-off-by: Brian Hardock <brian.hardock@fermyon.com>
- Loading branch information