mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-27 07:59:23 -05:00
Fix federation_custom_ca_list
configuration option.
Previously, setting this option would cause an exception at startup.
This commit is contained in:
parent
94f6c674df
commit
f8a45302c9
1
changelog.d/5362.bugfix
Normal file
1
changelog.d/5362.bugfix
Normal file
@ -0,0 +1 @@
|
|||||||
|
Fix `federation_custom_ca_list` configuration option.
|
@ -107,7 +107,7 @@ class TlsConfig(Config):
|
|||||||
certs = []
|
certs = []
|
||||||
for ca_file in custom_ca_list:
|
for ca_file in custom_ca_list:
|
||||||
logger.debug("Reading custom CA certificate file: %s", ca_file)
|
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
|
# Parse the CA certificates
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user