diff options
author | Thomas Lange <code@nerdmind.de> | 2022-11-01 19:12:37 +0100 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2022-11-01 19:13:37 +0100 |
commit | c4a81aadf94dcf40e8d3835b0b2e7f35c691a19c (patch) | |
tree | 66551ea31888d106a653abdfbc3ad505521c7181 /package | |
parent | 094e9d130195156f31d32b7cd250e6de55b88fe2 (diff) | |
download | painlessle-c4a81aadf94dcf40e8d3835b0b2e7f35c691a19c.tar.gz painlessle-c4a81aadf94dcf40e8d3835b0b2e7f35c691a19c.tar.xz painlessle-c4a81aadf94dcf40e8d3835b0b2e7f35c691a19c.zip |
Rename "LETSENCRYPT_ENDPOINT" to "ACME_ENDPOINT"
Diffstat (limited to 'package')
-rwxr-xr-x | package/sbin/painless-le | 6 |
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}.$$" #=============================================================================== |