From 58e596ed5d1bdc9da82e45d994d9412ab98e7eb4 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Thu, 21 Nov 2019 14:49:03 +0100 Subject: [PATCH] Force a cert request when something changed. --- .../letsencrypt-acme-sh-client/templates/acme_sh_request_env.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/roles/letsencrypt-acme-sh-client/templates/acme_sh_request_env.j2 b/library/roles/letsencrypt-acme-sh-client/templates/acme_sh_request_env.j2 index 2f30aa13..0a95e3e2 100644 --- a/library/roles/letsencrypt-acme-sh-client/templates/acme_sh_request_env.j2 +++ b/library/roles/letsencrypt-acme-sh-client/templates/acme_sh_request_env.j2 @@ -45,7 +45,7 @@ ACME_SH_FIRST_REQUEST_CERT_DOMAINS="{% for dom in letsencrypt_acme_sh_domains %} ACME_SH_ISSUE_CERT_REQUEST="$ACME_SH_ISSUE_CERT_REQUEST_OPTIONS $ACME_SH_ISSUE_CERT_DOMAINS" # The complete command line to issue a certificate. The first time we have to use port 80 when not using the dns protocol -ACME_SH_FIRST_CERT_REQUEST="$ACME_SH_ISSUE_CERT_REQUEST_OPTIONS $ACME_SH_FIRST_REQUEST_CERT_DOMAINS" +ACME_SH_FIRST_CERT_REQUEST="$ACME_SH_ISSUE_CERT_REQUEST_OPTIONS --force $ACME_SH_FIRST_REQUEST_CERT_DOMAINS" # # Certificate install options