Hello,

the issue can be fixed by removing the check for certifacte/key files in the
init script. See the attached patch.
matrix-synapse does not require these files anymore, if tls is not configured.
Thus the init script should not check for these files.

Cheers,
Lars
--- matrix-synapse.orig	2021-01-10 17:19:42.921852639 +0100
+++ matrix-synapse	2021-01-10 17:21:23.356979220 +0100
@@ -59,19 +59,6 @@
 	    return 0
 	fi
 
-	TLS_CERT_FILE="$(get_config_key tls_certificate_path)"
-	if [ ! -f "$TLS_CERT_FILE" ]
-	then
-	    log_failure_msg "TLS certificate file $TLS_CERT_FILE not found"
-	    return 2
-	fi
-	TLS_PRIV_FILE="$(get_config_key tls_private_key_path)"
-	if [ ! -f "$TLS_PRIV_FILE" ]
-	then
-	    log_failure_msg "TLS private key file $TLS_PRIV_FILE not found"
-	    return 2
-	fi
-
 	KEYFILE="$(get_config_key signing_key_path)"
 	# Running --generate-config to create keys if any are absent.
 	# Doesn't matter if not

Reply via email to