1
0

Fix forced renewal of certificates

This commit is contained in:
Nicolas Duchon 2017-11-01 18:21:47 +01:00 committed by GitHub
parent 2974fc183d
commit 420d32d397
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

@ -70,7 +70,7 @@ update_certs() {
params_d_str=""
[[ $DEBUG == true ]] && params_d_str+=" -v"
[[ $REUSE_KEY == true ]] && params_d_str+=" --reuse_key"
[[ "${1}" == "--force-renew" ]] && params_d_str+=" --valid_min 7776000" && shift
[[ "${1}" == "--force-renew" ]] && params_d_str+=" --valid_min 7776000"
hosts_array_expanded=("${!hosts_array}")
# First domain will be our base domain