summaryrefslogtreecommitdiff
path: root/scripts/kvmd-gencert
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/kvmd-gencert')
-rwxr-xr-xscripts/kvmd-gencert2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kvmd-gencert b/scripts/kvmd-gencert
index f96f0c8f..1e635b3e 100755
--- a/scripts/kvmd-gencert
+++ b/scripts/kvmd-gencert
@@ -58,6 +58,6 @@ openssl req -new -x509 -sha256 -nodes -key server.key -out server.crt -days 3650
-subj "/C=RU/ST=Moscow/L=Moscow/O=Pi-KVM/OU=Pi-KVM/CN=localhost"
chown root:kvmd-$target /etc/kvmd/$target/ssl/*
-chmod 400 server.key
+chmod 440 server.key
chmod 444 server.crt
chmod 755 /etc/kvmd/$target/ssl