diff --git a/src/freedombone-utils-web b/src/freedombone-utils-web index 0292545c..f9a2f8b4 100755 --- a/src/freedombone-utils-web +++ b/src/freedombone-utils-web @@ -741,6 +741,7 @@ function update_default_domain { cp /etc/ssl/certs/${MATRIX_DOMAIN_NAME}.dhparam /var/lib/matrix/${MATRIX_DOMAIN_NAME}.tls.dh cp /etc/ssl/private/${MATRIX_DOMAIN_NAME}.key /var/lib/matrix/${MATRIX_DOMAIN_NAME}.tls.key chown -R matrix:matrix /var/lib/matrix + chmod -R 700 /var/lib/matrix/*.crt chmod -R 700 /var/lib/matrix/*.pem chmod -R 700 /var/lib/matrix/*.key chmod -R 700 /var/lib/matrix/*.dhparam