Fix derp
This commit is contained in:
@@ -22,8 +22,6 @@
|
|||||||
# NOTE: The webroot method does NOT support wildcard domains, Let's Encrypt requires wildcard domains to
|
# NOTE: The webroot method does NOT support wildcard domains, Let's Encrypt requires wildcard domains to
|
||||||
# use DNS challenges, which the CPANEL uapi does not support (use dns_cpaneldns plugin instead)
|
# use DNS challenges, which the CPANEL uapi does not support (use dns_cpaneldns plugin instead)
|
||||||
|
|
||||||
source functions.sh
|
|
||||||
|
|
||||||
unset SITES_DIR USEREMAIL DOMAIN_FILES DOMAIN_GROUPS DEPLOY_CMD_PREFIX ISSUE_CMD_PREFIX DEBUG GROUP
|
unset SITES_DIR USEREMAIL DOMAIN_FILES DOMAIN_GROUPS DEPLOY_CMD_PREFIX ISSUE_CMD_PREFIX DEBUG GROUP
|
||||||
|
|
||||||
DEBUG="true" # quote this line to stop DEBUG mode and issue certificates for real, or use --force in user options
|
DEBUG="true" # quote this line to stop DEBUG mode and issue certificates for real, or use --force in user options
|
||||||
@@ -167,6 +165,7 @@ issue_and_deploy_certs() {
|
|||||||
echo "Running:" "${issue_cmd[@]}"
|
echo "Running:" "${issue_cmd[@]}"
|
||||||
if ! "${issue_cmd[@]}"; then
|
if ! "${issue_cmd[@]}"; then
|
||||||
echo "Failed to issue certificate"
|
echo "Failed to issue certificate"
|
||||||
|
fi
|
||||||
# Deploy certificates one by one
|
# Deploy certificates one by one
|
||||||
for domain in $domain_group; do
|
for domain in $domain_group; do
|
||||||
deploy_cmd=("${DEPLOY_CMD_PREFIX[@]}" "-w" "$domain_root" "-d" "$domain")
|
deploy_cmd=("${DEPLOY_CMD_PREFIX[@]}" "-w" "$domain_root" "-d" "$domain")
|
||||||
|
|||||||
Reference in New Issue
Block a user