From dceb07a885c91fbda8db834b77b787e4ff96801a Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 4 May 2017 22:21:12 +0100 Subject: [PATCH] certificate permission --- src/freedombone-utils-web | 1 + 1 file changed, 1 insertion(+) 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