Update config.md

Add an example of how to create a self-signed cert and key to use with bitbot
This commit is contained in:
PeGaSuS 2021-02-12 17:31:13 +01:00 committed by GitHub
parent bd76b20183
commit a5f29ce4c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,6 +14,9 @@
Generate a TLS keypair and point `bot.conf`'s `tls-key` to the private key and `tls-certificate` to the public key. Generate a TLS keypair and point `bot.conf`'s `tls-key` to the private key and `tls-certificate` to the public key.
Below is an OpenSSL command example that will create a `bitbot-cert.pem` and `bitbot-key.pem` with `10y` validity (self-signed):
> openssl req -x509 -nodes -sha512 -newkey rsa:4096 -keyout bitbot-key.pem -out bitbot-cert.pem -days 3650 -subj "/CN=YourBotNick"
### Configure SASL ### Configure SASL
Configure the bot to use SASL to authenticate (usually used for `NickServ` identification) Configure the bot to use SASL to authenticate (usually used for `NickServ` identification)