Add key generation section
This commit is contained in:
parent
355381e584
commit
f1de88e478
11
README.md
11
README.md
|
@ -25,6 +25,17 @@ While the program itself does support tls, to avoid a whole class of security is
|
|||
|
||||
In it's current implementation, `weblug` requires to remain running as root without dropping privileges when using custom UID/GIDs.
|
||||
|
||||
### TLS
|
||||
|
||||
`weblug` now supports tls. To generate self-signed keys
|
||||
|
||||
```
|
||||
openssl genrsa -out weblug.key 2048
|
||||
openssl req -new -x509 -sha256 -key weblug.key -out weblug1.pem -days 365
|
||||
```
|
||||
|
||||
Then configure the `weblug.yml` file accordingly. You can use multiple keys/certificates.
|
||||
|
||||
## Build
|
||||
|
||||
make # Build weblug
|
||||
|
|
Loading…
Reference in a new issue