summary refs log tree commit diff
path: root/synapse/config
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2015-07-08 21:33:02 +0100
committerMatthew Hodgson <matthew@matrix.org>2015-07-08 21:33:02 +0100
commitf26a3df1bf6cabee28f5f91778082c0f26b2378c (patch)
tree18dda432ac4e524ce1380446882dcbb9057a81a3 /synapse/config
parenttypo (diff)
downloadsynapse-f26a3df1bf6cabee28f5f91778082c0f26b2378c.tar.xz
oops, context.tls_certificate_chain_file() expects a file, not a certificate.
Diffstat (limited to '')
-rw-r--r--synapse/config/tls.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/synapse/config/tls.py b/synapse/config/tls.py
index 945af38053..5fef63846d 100644
--- a/synapse/config/tls.py
+++ b/synapse/config/tls.py
@@ -32,10 +32,7 @@ class TlsConfig(Config):
         tls_certificate_chain_path = config.get("tls_certificate_chain_path")
 
         if tls_certificate_chain_path and os.path.exists(tls_certificate_chain_path):
-            self.tls_certificate_chain = self.read_tls_certificate(
-                config.get("tls_certificate_chain_path"),
-                "tls_certificate_chain"
-            )
+            self.tls_certificate_chain_file = tls_certificate_chain_path
         else:
             self.tls_certificate_chain = None