mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-10-21 21:31:51 +00:00
ARI - Add support for switching ACME Server during renewal (#6983)
* ARI - Add support for switching ACME Server during renewal https://github.com/acmesh-official/acme.sh/issues/6964 * Restore old condition while adding malformed
This commit is contained in:
1 parent
ce07759ced
commit
d9ce7fefa1
1 file changed
+1
-1
@@ -4895,7 +4895,7 @@ issue() {
|
|||||||
# (Let's Encrypt) may also reject with a malformed error if the prior cert
|
# (Let's Encrypt) may also reject with a malformed error if the prior cert
|
||||||
# was issued by a different issuer / different CA. Retry without "replaces"
|
# was issued by a different issuer / different CA. Retry without "replaces"
|
||||||
# whenever the failure mentions ARI or the replaces field.
|
# whenever the failure mentions ARI or the replaces field.
|
||||||
if [ "$_replaces_certID" ] && { _contains "$response" "alreadyReplaced" || _contains "$response" "'replaces'" || _contains "$response" "ARI"; }; then
|
if [ "$_replaces_certID" ] && { _contains "$response" "alreadyReplaced" || _contains "$response" "urn:ietf:params:acme:error:malformed" || _contains "$response" "'replaces'" || _contains "$response" "ARI"; }; then
|
||||||
_info "ARI 'replaces' rejected by CA, retrying newOrder without 'replaces'."
|
_info "ARI 'replaces' rejected by CA, retrying newOrder without 'replaces'."
|
||||||
if ! _send_signed_request "$ACME_NEW_ORDER" "$_newOrderObj}"; then
|
if ! _send_signed_request "$ACME_NEW_ORDER" "$_newOrderObj}"; then
|
||||||
_err "Error creating new order."
|
_err "Error creating new order."
|
||||||
|
|||||||