summary refs log tree commit diff
path: root/synapse/config/tls.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-07-09 11:55:52 +0100
committerErik Johnston <erik@matrix.org>2015-07-09 11:55:52 +0100
commit4019b48aaa2f107887d911909bcd4cadcd828e48 (patch)
treec853d6dd17c3aa2f419332ec0283aaeca6af7b29 /synapse/config/tls.py
parentChange format of receipts to allow inclusion of data (diff)
parentWe don't want semicolons. (diff)
downloadsynapse-4019b48aaa2f107887d911909bcd4cadcd828e48.tar.xz
Merge branch 'develop' of github.com:matrix-org/synapse into erikj/receipts
Diffstat (limited to 'synapse/config/tls.py')
-rw-r--r--synapse/config/tls.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/synapse/config/tls.py b/synapse/config/tls.py
index ecb2d42c1f..6c1df35e80 100644
--- a/synapse/config/tls.py
+++ b/synapse/config/tls.py
@@ -27,6 +27,7 @@ class TlsConfig(Config):
         self.tls_certificate = self.read_tls_certificate(
             config.get("tls_certificate_path")
         )
+        self.tls_certificate_file = config.get("tls_certificate_path")
 
         self.no_tls = config.get("no_tls", False)
 
@@ -49,7 +50,11 @@ class TlsConfig(Config):
         tls_dh_params_path = base_key_name + ".tls.dh"
 
         return """\
-        # PEM encoded X509 certificate for TLS
+        # PEM encoded X509 certificate for TLS.
+        # You can replace the self-signed certificate that synapse
+        # autogenerates on launch with your own SSL certificate + key pair
+        # if you like.  Any required intermediary certificates can be
+        # appended after the primary certificate in hierarchical order.
         tls_certificate_path: "%(tls_certificate_path)s"
 
         # PEM encoded private key for TLS