mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-23 05:31:42 +00:00
fix for PebbleStrict mode test.
This commit is contained in:
parent
11b980f574
commit
199ca77c2a
4
acme.sh
4
acme.sh
@ -5823,7 +5823,7 @@ _deactivate() {
|
|||||||
_URL_NAME="uri"
|
_URL_NAME="uri"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
entries="$(echo "$response" | _egrep_o "[^{]*\"type\":\"[^\"]*\", *\"status\": *\"valid\", *\"$_URL_NAME\"[^}]*")"
|
entries="$(echo "$response" | tr '][' '=' | _egrep_o "challenges\": *=[^=]*=" | tr '}{' '\n' | grep "\"status\": *\"valid\"")"
|
||||||
if [ -z "$entries" ]; then
|
if [ -z "$entries" ]; then
|
||||||
_info "No valid entries found."
|
_info "No valid entries found."
|
||||||
if [ -z "$thumbprint" ]; then
|
if [ -z "$thumbprint" ]; then
|
||||||
@ -5866,7 +5866,7 @@ _deactivate() {
|
|||||||
_debug _vtype "$_vtype"
|
_debug _vtype "$_vtype"
|
||||||
_info "Found $_vtype"
|
_info "Found $_vtype"
|
||||||
|
|
||||||
uri="$(echo "$entry" | _egrep_o "\"$_URL_NAME\":\"[^\"]*" | cut -d : -f 2,3 | tr -d '"')"
|
uri="$(echo "$entry" | _egrep_o "\"$_URL_NAME\":\"[^\"]*\"" | tr -d '" ' | cut -d : -f 2-)"
|
||||||
_debug uri "$uri"
|
_debug uri "$uri"
|
||||||
|
|
||||||
if [ "$_d_type" ] && [ "$_d_type" != "$_vtype" ]; then
|
if [ "$_d_type" ] && [ "$_d_type" != "$_vtype" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user