mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-01-12 22:49:27 -05:00
*cough*
This commit is contained in:
parent
64afbe6ccd
commit
465acb0c6a
@ -29,14 +29,15 @@ class TlsConfig(Config):
|
|||||||
"tls_certificate"
|
"tls_certificate"
|
||||||
)
|
)
|
||||||
|
|
||||||
tls_certificate_chain_path =
|
tls_certificate_chain_path = config.get("tls_certificate_chain_path")
|
||||||
config.get("tls_certificate_chain_path")
|
|
||||||
|
|
||||||
if tls_certificate_chain_path and os.path.exists(tls_certificate_chain_path):
|
if tls_certificate_chain_path and os.path.exists(tls_certificate_chain_path):
|
||||||
self.tls_certificate_chain = self.read_tls_certificate(
|
self.tls_certificate_chain = self.read_tls_certificate(
|
||||||
config.get("tls_certificate_chain_path"),
|
config.get("tls_certificate_chain_path"),
|
||||||
"tls_certificate_chain"
|
"tls_certificate_chain"
|
||||||
)
|
)
|
||||||
|
else:
|
||||||
|
self.tls_certificate_chain = None
|
||||||
|
|
||||||
self.no_tls = config.get("no_tls", False)
|
self.no_tls = config.get("no_tls", False)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user