summary refs log tree commit diff
path: root/synapse/config/tls.py
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2019-06-05 22:54:41 +0100
committerGitHub <noreply@github.com>2019-06-05 22:54:41 +0100
commita39be79216153421be91a68b40d924ee40bd582d (patch)
treeb7b8f4ce7048ff11393031a5069ccf6d14ef6f91 /synapse/config/tls.py
parentNeilj/add r0.5 to versions (#5360) (diff)
parentFix `federation_custom_ca_list` configuration option. (diff)
downloadsynapse-a39be79216153421be91a68b40d924ee40bd582d.tar.xz
Merge pull request #5362 from matrix-org/rav/fix_custom_ca
Fix `federation_custom_ca_list` configuration option.
Diffstat (limited to 'synapse/config/tls.py')
-rw-r--r--synapse/config/tls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/config/tls.py b/synapse/config/tls.py
index 72dd5926f9..94a53d05f9 100644
--- a/synapse/config/tls.py
+++ b/synapse/config/tls.py
@@ -107,7 +107,7 @@ class TlsConfig(Config):
             certs = []
             for ca_file in custom_ca_list:
                 logger.debug("Reading custom CA certificate file: %s", ca_file)
-                content = self.read_file(ca_file)
+                content = self.read_file(ca_file, "federation_custom_ca_list")
 
                 # Parse the CA certificates
                 try: