fixed cert perms

This commit is contained in:
Devaev Maxim
2021-02-15 04:56:06 +03:00
parent 058d82c812
commit 9911914e70
2 changed files with 7 additions and 5 deletions

View File

@@ -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