fszlin / certes

A client implementation for the Automated Certificate Management Environment (ACME) protocol
MIT License
552 stars 122 forks source link

Challenge.Status = invalid when Authorizing the forth level subdomain #289

Closed engahmedtaha closed 1 year ago

engahmedtaha commented 2 years ago

after making a new order that contains a base domain , wildcard and forth level order = Await acme.NewOrder({ "example.com" , "*.example.com" , "*.acc.example.com" }) I got a valid challenge state on the first two authzs but the third one I always get Challenge.Status = invalid

engahmedtaha commented 2 years ago

solved by adding "_acme-challenge.acc" not "_acme-challenge" as DNS TXT record

but how to get the the right name for DNS TXT RECORD from current IAuthorizationContext validation