Make keys world-readable, since they're not only used by root

This commit is contained in:
Ian Gulliver
2016-09-02 20:52:11 -07:00
parent d94c305fa8
commit 0cd3f3c5a1

View File

@@ -116,7 +116,7 @@ SUBJECT="$(echo '%(subject)s' | sed s/SYSTEMID/$(hostname)/g)"
if test ! -s "${KEY}"; then
openssl ecparam -name secp384r1 -genkey | openssl ec -out "${KEY}"
chmod 0400 "${KEY}"
chmod 0444 "${KEY}"
fi
chvt 9