diff --git a/modules/fediverse/ap_server.py b/modules/fediverse/ap_server.py index 7d579fe2..5ae93a50 100644 --- a/modules/fediverse/ap_server.py +++ b/modules/fediverse/ap_server.py @@ -171,7 +171,7 @@ class Server(object): event["response"].code = 404 def _private_key(self, id): - filename = security.private_key(self.bot.config["tls-certificate"]) + filename = self.bot.config["tls-certificate"] return ap_security.PrivateKey(filename, id) def ap_inbox(self, event):