From a5f29ce4c07c9e7c9c264119b5f16872a7b08c21 Mon Sep 17 00:00:00 2001 From: PeGaSuS Date: Fri, 12 Feb 2021 17:31:13 +0100 Subject: [PATCH] Update config.md Add an example of how to create a self-signed cert and key to use with bitbot --- docs/help/config.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/help/config.md b/docs/help/config.md index 4db2b78a..845c6f8c 100644 --- a/docs/help/config.md +++ b/docs/help/config.md @@ -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. +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 the bot to use SASL to authenticate (usually used for `NickServ` identification)