Help needed over setting up DNS-01 challenge with self hosted BIND9 server and Step CA ACME sever using RFC2136 #2159
Unanswered
silversurfer98
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hello,
Lego doesn't create CNAME, it just follows CNAME by default. The problem is related to the CNAME wildcard record. Can you set the env var |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a test environment with Docker, where I wanted to test wildcard cert genration using self hosted Bind9 DNS server and a step CA ACME server. I'm facing issues with DNS challenge
While I am able to obtain certificates for all individual *.silverdev.fun internal domains using the HTTP-01 challenge using certbot, my goal was to secure a wildcard certificate using the DNS challenge. The most relevant solution I found in the documentation was the RCF2136 provider. Consequently, I set up a BIND9 server and correctly configured all the records as follows:
named.conf
and /etc/bind/silver-dev.zone
With this configuration, I can successfully obtain a wildcard certificate when I employ certbot in the following manner:
However, when I execute the lego container, I observe in the bind9 logs that lego is generating _acme challenge CNAME records. It doesn't succeed in obtaining the wildcard certificate. I need help regarding this
Steps I followed
I have to create a separate lego container where I trusted my self hosted step-ca's root.crt
go-acme logs
I'm stuck here, I don't know what else I can do, I have also raised a discussion in traefik forum since that was my first try traefik discussion
Beta Was this translation helpful? Give feedback.
All reactions