certificate permission
This commit is contained in:
parent
e87f4286bb
commit
dceb07a885
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue