Skip to content
Snippets Groups Projects
Unverified Commit bce55717 authored by timfi's avatar timfi Committed by GitHub
Browse files

Allow empty federation_certificate_verification_whitelist (#6849)

parent 99fcc962
No related branches found
No related tags found
No related merge requests found
Fix Synapse refusing to start if `federation_certificate_verification_whitelist` option is blank.
......@@ -109,6 +109,8 @@ class TlsConfig(Config):
fed_whitelist_entries = config.get(
"federation_certificate_verification_whitelist", []
)
if fed_whitelist_entries is None:
fed_whitelist_entries = []
# Support globs (*) in whitelist values
self.federation_certificate_verification_whitelist = [] # type: List[str]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment