mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-05-10 09:22:47 +00:00
adds file mode setting to private key
This commit is contained in:
parent
9c545059ae
commit
891ad79a25
@ -35,6 +35,10 @@ exim4_deploy() {
|
|||||||
_err "Error: write key file to: $_real_key"
|
_err "Error: write key file to: $_real_key"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
if ! chmod 600 "$_real_key"; then
|
||||||
|
_err "Error: set mode 600 on: $_real_key"
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
_real_fullchain="$_ssl_path/exim4.pem"
|
_real_fullchain="$_ssl_path/exim4.pem"
|
||||||
if ! cat "$_cfullchain" >"$_real_fullchain"; then
|
if ! cat "$_cfullchain" >"$_real_fullchain"; then
|
||||||
_err "Error: write key file to: $_real_fullchain"
|
_err "Error: write key file to: $_real_fullchain"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user