diff --git a/bot.conf.example b/bot.conf.example index c2e08aa2..6eed060d 100644 --- a/bot.conf.example +++ b/bot.conf.example @@ -1,6 +1,6 @@ [bot] -ssl-certificate = -ssl-key = +tls-certificate = +tls-key = # https://openweathermap.org/api openweathermap-api-key = # https://products.wolframalpha.com/api/ diff --git a/src/IRCServer.py b/src/IRCServer.py index 4ca764eb..35050ff3 100644 --- a/src/IRCServer.py +++ b/src/IRCServer.py @@ -93,8 +93,8 @@ class Server(IRCObject.Object): if self.get_setting("ssl-verify", True): context.verify_mode = ssl.CERT_REQUIRED - client_certificate = self.bot.config.get("ssl-certificate", None) - client_key = self.bot.config.get("ssl-key", None) + client_certificate = self.bot.config.get("tls-certificate", None) + client_key = self.bot.config.get("tls-key", None) if client_certificate and client_key: context.load_cert_chain(client_certificate, keyfile=client_key)