mirror of
https://github.com/aljazceru/addons.git
synced 2025-12-17 05:04:21 +01:00
Upgrade certbot; add preferred chain flag (#2230)
This commit is contained in:
@@ -123,12 +123,14 @@ if [ "$CHALLENGE" == "dns" ]; then
|
||||
certbot certonly --non-interactive --keep-until-expiring --expand \
|
||||
--email "$EMAIL" --agree-tos \
|
||||
--config-dir "$CERT_DIR" --work-dir "$WORK_DIR" \
|
||||
--preferred-challenges "$CHALLENGE" "${DOMAIN_ARR[@]}" "${PROVIDER_ARGUMENTS[@]}"
|
||||
--preferred-challenges "$CHALLENGE" "${DOMAIN_ARR[@]}" "${PROVIDER_ARGUMENTS[@]}" \
|
||||
--preferred-chain "ISRG Root X1"
|
||||
else
|
||||
certbot certonly --non-interactive --keep-until-expiring --expand \
|
||||
--email "$EMAIL" --agree-tos \
|
||||
--config-dir "$CERT_DIR" --work-dir "$WORK_DIR" \
|
||||
--preferred-challenges "$CHALLENGE" "${DOMAIN_ARR[@]}" "${ACME_CUSTOM_SERVER_ARGUMENTS[@]}" --standalone
|
||||
--preferred-challenges "$CHALLENGE" "${DOMAIN_ARR[@]}" "${ACME_CUSTOM_SERVER_ARGUMENTS[@]}" --standalone \
|
||||
--preferred-chain "ISRG Root X1"
|
||||
fi
|
||||
|
||||
# Get the last modified cert directory and copy the cert and private key to store
|
||||
|
||||
Reference in New Issue
Block a user