From a0344aa1758bd9af57de1437ad4d939ee6a7a9cf Mon Sep 17 00:00:00 2001 From: Rob Ruana Date: Fri, 27 Jul 2018 21:23:05 -0400 Subject: [PATCH 1/2] Fixes #22: Replaces '--standalone-supported-challenges' with '--preferred-challenges' for standalone mode --- letsencrypt/client/domain.sls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/letsencrypt/client/domain.sls b/letsencrypt/client/domain.sls index 6fa2ab1..c9e2697 100644 --- a/letsencrypt/client/domain.sls +++ b/letsencrypt/client/domain.sls @@ -25,7 +25,7 @@ certbot_{{ domain }}: - name: > certbot certonly {{ staging }} --non-interactive --agree-tos --no-self-upgrade --email {{ params.email|default(client.email) }} {%- if auth.method == 'standalone' %} - --standalone --standalone-supported-challenges {{ auth.type }} --http-01-port {{ auth.port }} + --standalone --preferred-challenges {{ auth.type }} --http-01-port {{ auth.port }} {%- elif auth.method == 'webroot' %} --webroot --webroot-path {{ auth.path }} {%- elif auth.method in ['apache', 'nginx'] %} From 1cb545ffe9675c5a1c51eafdfc7c1b19bba44d6c Mon Sep 17 00:00:00 2001 From: Rob Ruana Date: Wed, 19 Sep 2018 10:14:39 -0400 Subject: [PATCH 2/2] Updates --preferred-challenges flag in README.rst Replaces --standalone-supported-challenges flag with --preferred-challenges flag for standalone mode in README.rst. --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 6105e79..c122ea7 100644 --- a/README.rst +++ b/README.rst @@ -237,7 +237,7 @@ Example of authentication via another port without stopping nginx server:: ... renew-by-default = True http-01-port = 9999 - standalone-supported-challenges = http-01 + preferred-challenges = http-01 domainset: www: - example.com