Don't require client cert validation (rest_api.py)
This commit is contained in:
parent
985f4d60a4
commit
25096c651a
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
self.httpd.socket = utils.security.ssl_wrap(self.httpd.socket,
|
self.httpd.socket = utils.security.ssl_wrap(self.httpd.socket,
|
||||||
cert=self.bot.config["tls-api-certificate"],
|
cert=self.bot.config["tls-api-certificate"],
|
||||||
key=self.bot.config["tls-api-key"],
|
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 = threading.Thread(target=self.httpd.serve_forever)
|
||||||
self.thread.daemon = True
|
self.thread.daemon = True
|
||||||
|
|
Loading…
Reference in a new issue