]> git.proxmox.com Git - mirror_acme.sh.git/commitdiff
fix ip cert
authorneil <win10@neilpang.com>
Sat, 6 Nov 2021 03:26:06 +0000 (11:26 +0800)
committerneil <win10@neilpang.com>
Sat, 6 Nov 2021 03:26:06 +0000 (11:26 +0800)
acme.sh

diff --git a/acme.sh b/acme.sh
index 107bd998a5c4de209721da8ac27974e72086d74a..a385aa07e195b7a7e35b8c9ee19016e0b4028a02 100755 (executable)
--- a/acme.sh
+++ b/acme.sh
@@ -5941,7 +5941,7 @@ _deactivate() {
     _initAPI
   fi
 
-  _identifiers="{\"type\":\"dns\",\"value\":\"$_d_domain\"}"
+  _identifiers="{\"type\":\"$(_getIdType "$_d_domain")\",\"value\":\"$_d_domain\"}"
   if ! _send_signed_request "$ACME_NEW_ORDER" "{\"identifiers\": [$_identifiers]}"; then
     _err "Can not get domain new order."
     return 1