Browse Source

fix test endpoint

pull/3104/head
neil 4 years ago
parent
commit
b3a801df11
  1. 8
      acme.sh

8
acme.sh

@ -2593,16 +2593,16 @@ _initpath() {
fi fi
if [ -z "$ACME_DIRECTORY" ]; then if [ -z "$ACME_DIRECTORY" ]; then
if [ "$STAGE" ]; then
ACME_DIRECTORY="$DEFAULT_STAGING_CA"
_info "Using stage ACME_DIRECTORY: $ACME_DIRECTORY"
else
default_acme_server=$(_readaccountconf "DEFAULT_ACME_SERVER") default_acme_server=$(_readaccountconf "DEFAULT_ACME_SERVER")
_debug default_acme_server "$default_acme_server" _debug default_acme_server "$default_acme_server"
if [ "$default_acme_server" ]; then if [ "$default_acme_server" ]; then
ACME_DIRECTORY="$default_acme_server" ACME_DIRECTORY="$default_acme_server"
else else
if [ -z "$STAGE" ]; then
ACME_DIRECTORY="$DEFAULT_CA" ACME_DIRECTORY="$DEFAULT_CA"
else
ACME_DIRECTORY="$DEFAULT_STAGING_CA"
_info "Using stage ACME_DIRECTORY: $ACME_DIRECTORY"
fi fi
fi fi
fi fi

Loading…
Cancel
Save