Skip to content

Commit e6959f0

Browse files
authored
Merge pull request #4070 from acmesh-official/dev
sync
2 parents 6887805 + 8d783e8 commit e6959f0

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

acme.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env sh
22

3-
VER=3.0.3
3+
VER=3.0.4
44

55
PROJECT_NAME="acme.sh"
66

@@ -2691,6 +2691,13 @@ _initAPI() {
26912691
return 1
26922692
}
26932693

2694+
_clearCA() {
2695+
export ACME_DIRECTORY=
2696+
export CA_CONF=
2697+
export ACCOUNT_KEY_PATH=
2698+
export ACCOUNT_JSON_PATH=
2699+
}
2700+
26942701
#[domain] [keylength or isEcc flag]
26952702
_initpath() {
26962703
domain="$1"
@@ -5357,6 +5364,7 @@ renew() {
53575364
#renewAll [stopRenewOnError]
53585365
renewAll() {
53595366
_initpath
5367+
_clearCA
53605368
_stopRenewOnError="$1"
53615369
_debug "_stopRenewOnError" "$_stopRenewOnError"
53625370
_ret="0"

0 commit comments

Comments
 (0)