aboutsummaryrefslogtreecommitdiffstats
path: root/package/sbin
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2022-11-01 19:12:37 +0100
committerThomas Lange <code@nerdmind.de>2022-11-01 19:13:37 +0100
commitc4a81aadf94dcf40e8d3835b0b2e7f35c691a19c (patch)
tree66551ea31888d106a653abdfbc3ad505521c7181 /package/sbin
parent094e9d130195156f31d32b7cd250e6de55b88fe2 (diff)
downloadpainlessle-c4a81aadf94dcf40e8d3835b0b2e7f35c691a19c.tar.gz
painlessle-c4a81aadf94dcf40e8d3835b0b2e7f35c691a19c.tar.xz
painlessle-c4a81aadf94dcf40e8d3835b0b2e7f35c691a19c.zip
Rename "LETSENCRYPT_ENDPOINT" to "ACME_ENDPOINT"
Diffstat (limited to 'package/sbin')
-rwxr-xr-xpackage/sbin/painless-le6
1 files changed, 3 insertions, 3 deletions
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}.$$"
#===============================================================================