diff --git a/synapse/config/tls.py b/synapse/config/tls.py index e78ad32e84..16f6f3aba6 100644 --- a/synapse/config/tls.py +++ b/synapse/config/tls.py @@ -31,7 +31,7 @@ class TlsConfig(Config): self.tls_private_key = self.read_tls_private_key( args.tls_private_key_path ) - self.tls_dh_params_path = self.check_path( + self.tls_dh_params_path = self.check_file( args.tls_dh_params_path, "tls_dh_params" )