@ -210,6 +210,7 @@ issue_cert()
local user_cleanup
local user_cleanup
local ret
local ret
local domain_dir
local domain_dir
local acme_server
config_get_bool enabled " $section " enabled 0
config_get_bool enabled " $section " enabled 0
config_get_bool use_staging " $section " use_staging
config_get_bool use_staging " $section " use_staging
@ -223,6 +224,7 @@ issue_cert()
config_get dns " $section " dns
config_get dns " $section " dns
config_get user_setup " $section " user_setup
config_get user_setup " $section " user_setup
config_get user_cleanup " $section " user_cleanup
config_get user_cleanup " $section " user_cleanup
config_get acme_server " $section " acme_server
UPDATE_NGINX = $update_nginx
UPDATE_NGINX = $update_nginx
UPDATE_UHTTPD = $update_uhttpd
UPDATE_UHTTPD = $update_uhttpd
@ -277,6 +279,11 @@ issue_cert()
[ -n " $ACCOUNT_EMAIL " ] && acme_args = " $acme_args --accountemail $ACCOUNT_EMAIL "
[ -n " $ACCOUNT_EMAIL " ] && acme_args = " $acme_args --accountemail $ACCOUNT_EMAIL "
[ " $use_staging " -eq "1" ] && acme_args = " $acme_args --staging "
[ " $use_staging " -eq "1" ] && acme_args = " $acme_args --staging "
if [ -n $acme_server ] ; then
log "Using custom ACME server URL"
acme_args = " $acme_args --server $acme_server "
fi
if [ -n " $dns " ] ; then
if [ -n " $dns " ] ; then
log "Using dns mode"
log "Using dns mode"
acme_args = " $acme_args --dns $dns "
acme_args = " $acme_args --dns $dns "