mirror of
https://github.com/myvesta/vesta
synced 2025-07-05 20:41:53 -07:00
Update v-add-letsencrypt-domain: Detecting valid status on wildcard variant
This commit is contained in:
parent
6dccbb8276
commit
83d12510e3
1 changed files with 5 additions and 0 deletions
|
@ -308,6 +308,11 @@ for auth in $authz; do
|
|||
if [[ $(echo "$answer" | grep 'addressesResolved') != "" ]]; then
|
||||
break
|
||||
fi
|
||||
if [ "$wildcard" = 'yes' ]; then
|
||||
if [[ $(echo "$answer" | grep '"status": "valid"') != "" ]]; then
|
||||
break
|
||||
fi
|
||||
fi
|
||||
i=$((i + 1))
|
||||
if ((i > 30)); then
|
||||
break
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue