Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Fix federation_custom_ca_list configuration option.
Browse files Browse the repository at this point in the history
Previously, setting this option would cause an exception at startup.
  • Loading branch information
richvdh committed Jun 5, 2019
1 parent 94f6c67 commit f8a4530
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/5362.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix `federation_custom_ca_list` configuration option.
2 changes: 1 addition & 1 deletion synapse/config/tls.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def read_config(self, 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:
Expand Down

0 comments on commit f8a4530

Please sign in to comment.