]> git.0d.be Git - botaradio.git/commitdiff
Added infos for certificate
authorslipenbois <slipenbois666@gmail.com>
Mon, 21 Jan 2019 01:01:21 +0000 (02:01 +0100)
committerGitHub <noreply@github.com>
Mon, 21 Jan 2019 01:01:21 +0000 (02:01 +0100)
README.md

index c068bd55ef93c1eb835595b794eabf0a6e86b59d..bc5caa2f49b03012401bf0ca711446c9705664c1 100644 (file)
--- a/README.md
+++ b/README.md
@@ -31,9 +31,10 @@ $ python3 -m venv venv
 $ venv/bin/pip install wheel
 $ venv/bin/pip install -r requirements.txt
 ```
-
+### (Optionnal) Generate a certificate
+`$ openssl req -x509 -nodes -days 3650 -newkey rsa:2048 -keyout botamusique.pem -out botamusique.pem -subj "/CN=botamusique"`
 ### Starting the bot
-`$ venv/bin/python mumbleBot.py -s HOST -u BOTNAME -P PASSWORD -p PORT -c CHANNEL`
+`$ venv/bin/python mumbleBot.py -s HOST -u BOTNAME -P PASSWORD -p PORT -c CHANNEL -C -C /path/to/botamusique.pem`
 
 The bot listen to the 8181 port so you should redirect to this one in you NAT configuration to let others peoples access the web interface. (DISABLED)