We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
не работает Lets encrypt для кириллических доменов
не работает Lets encrypt для кириллических доменов
добавляю кириллический домен в WEB
для домена .рф получаю такой ответ
{
"type": "urn:ietf:params:acme:error:rejectedIdentifier",
"detail": "Error creating new order :: Policy forbids issuing for \"мойдомен.рф\" and 1 more identifiers. Refer to sub-problems for more information",
"status": 400
}
если добавить домен в ascii xn-.... то норм
пока вышел из ситуации таим образом:
в файле: vesta/bin/v-add-letsencrypt-domain
# Placing new order / STEP 2
url="$API/acme/new-order"
payload='{"identifiers":['
for identifier in $(echo $domain,$aliases |tr ',' '\n' |sort -u); do
payload=$payload'{"type":"dns","value":"'$identifier'"},'
done
поменял на это:
tmp_domain=$(idn -a --quiet $domain)
tmp_aliases=$(idn -a --quiet $aliases)
# Placing new order / STEP 2
url="$API/acme/new-order"
payload='{"identifiers":['
for identifier in $(echo $tmp_domain,$tmp_aliases |tr ',' '\n' |sort -u); do
payload=$payload'{"type":"dns","value":"'$identifier'"},'
done
что сделать, чтобы работало без моего костыля с преобразованием в ascii перед отправкой запроса на LE?
для домена .рф получаю такой ответ
Code: Select all
HTTP/1.1 400 Bad Request
Server: nginx
Content-Type: application/problem+json
Content-Length: 256
Boulder-Requester: 56616151
Link: <https://acme-v02.api.letsencrypt.org/directory>;rel="index"
Expires: Sun, 09 Jun 2019 22:27:46 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Sun, 09 Jun 2019 22:27:46 GMT
Connection: close
"type": "urn:ietf:params:acme:error:rejectedIdentifier",
"detail": "Error creating new order :: Policy forbids issuing for \"мойдомен.рф\" and 1 more identifiers. Refer to sub-problems for more information",
"status": 400
}
если добавить домен в ascii xn-.... то норм
пока вышел из ситуации таим образом:
в файле: vesta/bin/v-add-letsencrypt-domain
# Placing new order / STEP 2
url="$API/acme/new-order"
payload='{"identifiers":['
for identifier in $(echo $domain,$aliases |tr ',' '\n' |sort -u); do
payload=$payload'{"type":"dns","value":"'$identifier'"},'
done
поменял на это:
tmp_domain=$(idn -a --quiet $domain)
tmp_aliases=$(idn -a --quiet $aliases)
# Placing new order / STEP 2
url="$API/acme/new-order"
payload='{"identifiers":['
for identifier in $(echo $tmp_domain,$tmp_aliases |tr ',' '\n' |sort -u); do
payload=$payload'{"type":"dns","value":"'$identifier'"},'
done
что сделать, чтобы работало без моего костыля с преобразованием в ascii перед отправкой запроса на LE?