Add key generation section

This commit is contained in:
Felix Niederwanger 2024-03-23 18:54:45 +01:00
parent 355381e584
commit f1de88e478
Signed by: phoenix
GPG key ID: 6E77A590E3F6D71C

View file

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