1
0
mirror of https://github.com/actix/examples synced 2025-02-02 09:39:03 +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:
Max 2020-07-19 00:57:15 +03:00 committed by GitHub
parent 4ada3c9ed1
commit 7ac0b75fc7
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 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