Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is:
spidershomelab.net
I ran this command:
lego --dns pdns --email SpiderUnderUrBed@proton.me --domains spidershomelab.net --server https://localhost:14000/dir --accept-tos run
It produced this output:
My web server is (include version):
nginx latest
The operating system my web server runs on is (include version):
Debian (raspberry pi os)
My hosting provider, if applicable, is:
I can login to a root shell on my machine (yes or no, or I don't know):
Yes
I'm using a control panel to manage my site (no, or provide the name and version of the control panel):
no
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot):
spiderunderurbed@raspberrypi:~ $ lego --version
lego version dev linux/arm64
Onto describing my issue:
I am trying to set up a local CA (purely because i can, i dont have a pratical use case, i just want to see how to set it up and maybe ill use it as a backup incase i have a issue with renewals) So i am using letsencrypt's pebble, and i am using powerdns (all hosted on my pi)I tried lego and certbot, and the DNS-01 and Http-01 challanges but i get issues with both challanges, i just need one of them to work, here is my attempt with the DNS-01 challange,
also i tried using dig _acme-challange.spidershomelab.net, it cant find it that way either
My command:
lego --dns pdns --email SpiderUnderUrBed@proton.me --domains spidershomelab.net --server
https://localhost:14000/dir --accept-tos run
Output:
2024/05/22 19:15:26 [INFO] [spidershomelab.net] acme: Waiting for DNS record propagation. 2024/05/22 19:15:28 [INFO] [spidershomelab.net] acme: Cleaning DNS-01 challenge 2024/05/22 19:15:28 [INFO] Deactivating auth: https://localhost:14000/authZ/-unszpQ3heXcBWajI9XIfMaC8uf7PtD_Kis2tslB7YE 2024/05/22 19:15:28 Could not obtain certificates: error: one or more domains had a problem: [spidershomelab.net] time limit exceeded: last error: NS ns1.spidershomelab.net. returned NXDOMAIN for _acme-challenge.spidershomelab.net. root@raspberrypi:~#
Image of powerdns:
And it should not return nxdomain, because _acme-challange does exist!
I am using pebble via docker, since thats kinda the only way to run it, i am purely using the stock configuration, but i thought i ought to share the whole docker-compose in case that MAY be related: