1
0
mirror of https://github.com/actix/actix-website synced 2025-06-27 07:29:02 +02:00

docs: enable shell-session syntax

This commit is contained in:
Rob Ede
2024-05-27 22:24:26 +01:00
parent 2aacdf2f70
commit a0a2da114d
4 changed files with 19 additions and 6 deletions

View File

@ -69,13 +69,14 @@ openssl = { version = "0.10" }
To create the key.pem and cert.pem use the command. **Fill in your own subject**
```bash
$ openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365 -sha256 -subj "/C=CN/ST=Fujian/L=Xiamen/O=TVlinux/OU=Org/CN=muro.lxd"
```shell-session
$ openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem \
-days 365 -sha256 -subj "/C=CN/ST=Fujian/L=Xiamen/O=TVlinux/OU=Org/CN=muro.lxd"
```
To remove the password, then copy nopass.pem to key.pem
```bash
```shell-session
$ openssl rsa -in key.pem -out nopass.pem
```