Browse Source

Merge pull request #4070 from acmesh-official/dev

sync
pull/4081/head 3.0.4
neil 3 years ago
committed by GitHub
parent
commit
e6959f093c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      acme.sh

10
acme.sh

@ -1,6 +1,6 @@
#!/usr/bin/env sh #!/usr/bin/env sh
VER=3.0.3
VER=3.0.4
PROJECT_NAME="acme.sh" PROJECT_NAME="acme.sh"
@ -2691,6 +2691,13 @@ _initAPI() {
return 1 return 1
} }
_clearCA() {
export ACME_DIRECTORY=
export CA_CONF=
export ACCOUNT_KEY_PATH=
export ACCOUNT_JSON_PATH=
}
#[domain] [keylength or isEcc flag] #[domain] [keylength or isEcc flag]
_initpath() { _initpath() {
domain="$1" domain="$1"
@ -5357,6 +5364,7 @@ renew() {
#renewAll [stopRenewOnError] #renewAll [stopRenewOnError]
renewAll() { renewAll() {
_initpath _initpath
_clearCA
_stopRenewOnError="$1" _stopRenewOnError="$1"
_debug "_stopRenewOnError" "$_stopRenewOnError" _debug "_stopRenewOnError" "$_stopRenewOnError"
_ret="0" _ret="0"

Loading…
Cancel
Save