mirror of
https://github.com/actix/examples
synced 2025-02-02 17:39:05 +01: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:
parent
4ada3c9ed1
commit
7ac0b75fc7
@ -18,6 +18,11 @@ If you want to generate your own cert/private key file, then run:
|
|||||||
mkcert 127.0.0.1
|
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
|
[`mkcert`]: https://github.com/FiloSottile/mkcert
|
||||||
|
|
||||||
### server
|
### server
|
||||||
|
Loading…
x
Reference in New Issue
Block a user