1
0
mirror of https://github.com/actix/examples synced 2025-06-27 01:27:43 +02:00

update mkcert command

This commit is contained in:
Rob Ede
2023-05-22 14:18:07 +01:00
parent 48565526e7
commit 8c1b59ff9e
2 changed files with 4 additions and 2 deletions

View File

@ -13,7 +13,7 @@ mkcert -install
If you want to generate your own private key/certificate pair, then run:
```sh
mkcert 127.0.0.1 localhost
mkcert -key-file key.pem -cert-file cert.pem 127.0.0.1 localhost
```
A new `key.pem` and `cert.pem` will be saved to the current directory. You will then need to modify `main.rs` where indicated.