1
0

Merge pull request #270 from buchdag/patch-1

Fix forced renewal of certificates
This commit is contained in:
Yves Blusseau 2017-11-09 08:45:35 +01:00 committed by GitHub
commit 12e674899d
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