acmesh-official / acmesh-official/acme.sh

acme sh don't add TXT record to dns zone with dns_yc api

Ouverte
#6,220 3 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Shell
Étoiles
47.6k
Forks
5.7k
Merge moyen
6 j 5 h
PR mergées (30 j)
15

Description

> Hey!
>
>
>
> I've tried your plugin but received following error (i replaced my actual domain with "domain.net")
>
> I assume yandex cloud dns expexts full record name like "_acme-challenge.domain.net."
>
>
>
> ```
>
> response='{
>
> "code": 9,
>
> "message": "'_acme-challenge.' does not belong to zone 'domain.net.'",
>
> "details": [
>
> {
>
> "@type": "type.googleapis.com/google.rpc.RequestInfo",
>
> "requestId": "d0fa48b7-f780-4dfd-a45e-5a8c8d08b595"
>
> }
>

_Originally posted by @hempalex in [#4210](https://github.com/acmesh-official/acme.sh/issues/4210#issuecomment-1211586907)_

Hey!
I have a similar problem. When trying to issue a certificate, I get an error

[Wed Feb 5 10:01:28 PM UTC 2025] response='{
"code": 9,
"message": "'_acme-challenge.my.sub.domain.' does not belong to zone 'my.domain.ru.'",
"details": [
{
"@type": "type.googleapis.com/google.rpc.RequestInfo",
"requestId": "e992c3ee-262c-4fa0-8e22-87f2e568c01e"
}
]
}'
[Wed Feb 5 10:01:28 PM UTC 2025] Add txt record error.
[Wed Feb 5 10:01:28 PM UTC 2025] Error adding TXT record to domain: _acme-challenge.my.sub.domain.my.domain.ru

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Start by locating the dns_yc plugin and reviewing how it constructs the TXT record name from the ACME challenge and DNS zone. Reproduce certificate issuance for a nested domain such as _acme-challenge.my.sub.domain.my.domain.ru, then verify that Yandex Cloud DNS accepts the generated record and the TXT record is added successfully.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
shell
Domaine
networking
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
Calme
Clarté
Plutôt claire
Accessibilité débutants
52/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.