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

update security/rustls/README.md (#472)

This commit is contained in:
Kisaragi
2022-01-25 17:46:35 +09:00
committed by GitHub
parent 7aece3d511
commit 6e34f07fbf

View File

@ -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
```