load tls-key, not tls-certificate

This commit is contained in:
jesopo 2019-09-15 11:47:22 +01:00
parent 97afbc1e40
commit 13072f53a7

View file

@ -171,7 +171,7 @@ class Server(object):
event["response"].code = 404 event["response"].code = 404
def _private_key(self, id): def _private_key(self, id):
filename = self.bot.config["tls-certificate"] filename = self.bot.config["tls-key"]
return ap_security.PrivateKey(filename, id) return ap_security.PrivateKey(filename, id)
def ap_inbox(self, event): def ap_inbox(self, event):