Hi, sorry a bit unsure how to title this as I am a novice with regards to certificates and so it's not clear where the process is breaking. I'm sure it's something simple I haven't comprehended so I hope you don't mind me posting.
I have followed the "Getting Started" documentation, currently unable to generate a certificate.
Here is how my configuration appears:




If I try to place a new order for this certificate, I get the following in the log:
4/16/2025, 9:28:59 AM, error, challenges/solver.go:101, challenges: deprovision failed (porkbun: unknown record ID for '_acme-challenge.pi*****.home.mydomain.net.' '***************************************8Qz4')
4/16/2025, 9:27:59 AM, info, orders/fulfilling_do.go:100, orders: fulfilling worker 2: order 5 done
4/16/2025, 9:27:59 AM, error, orders/fulfilling_do.go:99, orders: fulfilling worker 2: fulfill auths error: porkbun: failed to create record: status: 400 message: {"status":"ERROR","message":"Invalid domain."}
4/16/2025, 9:27:57 AM, info, orders/fulfilling_do.go:24, orders: fulfilling worker 2: ordering order id 5 (certificate name: pi*****.home.mydomain.net, subject: pi*****.home.mydomain.net)
I downloaded Lego, set my Porkbun API keys and ran the following:
lego --server=https://acme-staging-v02.api.letsencrypt.org/directory --email myemail@example.com --dns porkbun -d pi*****.home.mydomain.net run
This successfully generated the certificate.
Maybe the issue relates to the fact I am trying to generate a certificate for a host on a subdomain of my domain that I own through Porkbun? I can see in Porkbun when I manage my DNS there are two prebuilt TXT entries for _acme-challenge.mydomain.net, do I need to manually create additional entries here or something?