diff options
author | Devaev Maxim <[email protected]> | 2021-02-15 04:56:06 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2021-02-15 04:56:06 +0300 |
commit | 9911914e7024225a6524b96f5a9f10234613aa02 (patch) | |
tree | a0b2b224c01cefc44f6b8670ba1c44fc1b3f20ee /scripts | |
parent | 058d82c81208f816f5e93400d10ae7c2b2380ae3 (diff) |
fixed cert perms
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/kvmd-gencert | 2 |
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 |