1
0
mirror of https://github.com/actix/examples synced 2025-06-28 18:00:37 +02:00

Tip for key to work

For some reason mkcert default generated sertificate doesn't work. Rust panic on `keys.remove(0)`.
This commit is contained in:
Max
2020-07-19 00:57:15 +03:00
committed by GitHub
parent 4ada3c9ed1
commit 7ac0b75fc7

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