From c4a81aadf94dcf40e8d3835b0b2e7f35c691a19c Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Tue, 1 Nov 2022 19:12:37 +0100 Subject: Rename "LETSENCRYPT_ENDPOINT" to "ACME_ENDPOINT" --- package/sbin/painless-le | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'package/sbin') diff --git a/package/sbin/painless-le b/package/sbin/painless-le index d970ef7..a990ef7 100755 --- a/package/sbin/painless-le +++ b/package/sbin/painless-le @@ -24,8 +24,8 @@ #=============================================================================== # Define ACME endpoint address and BEFORE/AFTER commands #=============================================================================== -LETSENCRYPT_ENDPOINT="https://acme-v02.api.letsencrypt.org/directory" -#LETSENCRYPT_ENDPOINT="https://acme-staging-v02.api.letsencrypt.org/directory" +ACME_ENDPOINT="https://acme-v02.api.letsencrypt.org/directory" +#ACME_ENDPOINT="https://acme-staging-v02.api.letsencrypt.org/directory" #LETSENCRYPT_COMMAND_BEFORE="systemctl stop apache2" #LETSENCRYPT_COMMAND_AFTER="systemctl start apache2" @@ -109,7 +109,7 @@ fi #=============================================================================== # Run Certbot to accomplish the ACME challenge to get the certificate #=============================================================================== -certbot certonly --authenticator standalone --server "${LETSENCRYPT_ENDPOINT}" --csr "${REQUESTFILE}" \ +certbot certonly --authenticator standalone --server "${ACME_ENDPOINT}" --csr "${REQUESTFILE}" \ --cert-path "${CERTIFICATE_ONLY}.$$" --fullchain-path "${CERTIFICATE_FULL}.$$" --chain-path "${INTERMEDIATE}.$$" #=============================================================================== -- cgit v1.2.3