mirror of
https://github.com/actix/examples
synced 2025-02-02 09:39:03 +01:00
update security/rustls/README.md (#472)
This commit is contained in:
parent
7aece3d511
commit
6e34f07fbf
@ -19,7 +19,7 @@ mkcert 127.0.0.1 localhost
|
||||
```
|
||||
|
||||
For `rsa` keys use `rsa_private_keys` function instead `pkcs8_private_keys`
|
||||
```
|
||||
```rs
|
||||
let mut keys = pkcs8_private_keys(key_file).unwrap(); // pkcs8
|
||||
let mut keys = rsa_private_keys(key_file).unwrap(); // rsa
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user