Use Let's Encrypt as CA if BuyPass isn't used

Since acme.sh now uses ZeroSSL as default CA for new certs
This commit is contained in:
Alex Thomassen 2021-06-13 14:25:05 +02:00
parent 1055702def
commit c05f7443a7
Signed by: Alex
GPG Key ID: 10BD786B5F6FF5DE
1 changed files with 4 additions and 0 deletions

View File

@ -79,6 +79,10 @@ fi
# Make sure we point to the right CA.
if [[ $BUYPASS -eq 1 ]]; then
ACME_PARAMS+=" --server https://api.buypass.com/acme/directory"
else
# For some reason acme.sh is now using ZeroSSL as the default CA for new certs.
# I hate change, so we force Let's Encrypt unless BuyPass is used.
ACME_PARAMS+=" --server letsencrypt"
fi
echo "${ECHO_PREFIX} Reload command? For example: nginx -s reload"