1
0
mirror of https://github.com/actix/examples synced 2024-11-27 16:02:57 +01:00

Merge pull request #341 from ReTWi/patch-1

Example tip for key.pem to work
This commit is contained in:
Yuki Okushi 2020-07-19 16:36:37 +09:00 committed by GitHub
commit 7d80c4c3d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,6 +18,11 @@ If you want to generate your own cert/private key file, then run:
mkcert 127.0.0.1
```
If your key doesn't work, convert it to rsa:
```bash
openssl rsa -in key.pem -out key-rsa.pem
```
[`mkcert`]: https://github.com/FiloSottile/mkcert
### server