mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-05-08 13:47:01 +00:00
Travis 12
This commit is contained in:
parent
f9131b703d
commit
76d196a21a
@ -116,7 +116,7 @@ dns_aruba_add() {
|
|||||||
if ! _get_root "$fulldomain"; then
|
if ! _get_root "$fulldomain"; then
|
||||||
_err "invalid domain"
|
_err "invalid domain"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
_info "Get domain details"
|
_info "Get domain details"
|
||||||
|
|
||||||
if ! _aruba_rest GET "api/domains/dns/$_domain/details" || _contains "$response" "error" || _contains "$response" "denied"; then
|
if ! _aruba_rest GET "api/domains/dns/$_domain/details" || _contains "$response" "error" || _contains "$response" "denied"; then
|
||||||
@ -127,7 +127,7 @@ dns_aruba_add() {
|
|||||||
# get all Ids and peek only values
|
# get all Ids and peek only values
|
||||||
temp="$(echo "$domainData" | _egrep_o "Id\": [^,]*" | cut -d : -f 2 | head -1)" # first element is zone Id
|
temp="$(echo "$domainData" | _egrep_o "Id\": [^,]*" | cut -d : -f 2 | head -1)" # first element is zone Id
|
||||||
domain_id=$temp
|
domain_id=$temp
|
||||||
_info "DomainId is: $domain_id"
|
_info "DomainId is: $domain_id"
|
||||||
|
|
||||||
_debug "Check if _acme-challenge record exists in " "$_domain"
|
_debug "Check if _acme-challenge record exists in " "$_domain"
|
||||||
if ! _extract_record_id "$fulldomain."; then # notice dot at the end, aruba TXT is like this: _acme-challenge.www.domain.com.
|
if ! _extract_record_id "$fulldomain."; then # notice dot at the end, aruba TXT is like this: _acme-challenge.www.domain.com.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user