Don't require client cert validation (rest_api.py)

This commit is contained in:
jesopo 2019-02-10 13:26:35 +00:00
parent 985f4d60a4
commit 25096c651a

View file

@ -120,7 +120,7 @@ class Module(ModuleManager.BaseModule):
self.httpd.socket = utils.security.ssl_wrap(self.httpd.socket,
cert=self.bot.config["tls-api-certificate"],
key=self.bot.config["tls-api-key"],
server_side=True)
server_side=True, verify=False)
self.thread = threading.Thread(target=self.httpd.serve_forever)
self.thread.daemon = True