Fix key file permissions

Introduced in 8201458332.

Related to #1256.
This commit is contained in:
Jose Luis Duran 2018-02-14 06:44:06 -02:00
parent 3c394f08b0
commit 7b92371a03

View File

@ -4545,7 +4545,7 @@ _installcert() {
cat "$CERT_KEY_PATH" >"$_real_key"
else
cat "$CERT_KEY_PATH" >"$_real_key"
chmod 700 "$_real_key"
chmod 600 "$_real_key"
fi
fi