Merged
Conversation
Collaborator
|
DNS and email challenges work with the testbed CA. Instructions worked as well but using using |
a-thieme
approved these changes
Sep 24, 2025
Collaborator
a-thieme
left a comment
There was a problem hiding this comment.
changes worked for me. see my previous comment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
PR to add the DNS challenge support. It contains two parts: the client implementation and
certclisupport.Background
The DNS challenge spec tries to do things very similar to Let's Encrypt dns-01. Currently the testbed root CA already supports this challenge, feel free to test this code against it.
Comments
Semi-related implementation decisions I deliberately made:
certcliskips the PROBE and forces to append the domain name under the CA name (e.g., /ndn/example.org)certcliSupportcertcliusage to test the DNS challenge. It requires you to get the ndnd cert PEM for testbed root.Hope the below can help you (assume you have
curlandbase64)Run the certificate client without specifying a challenge type to be prompted to choose:
When prompted, select "3. dns" for DNS challenge.
Direct DNS Challenge
Specify the DNS challenge directly:
Pre-specify Domain
You can provide the domain name upfront to reduce prompts:
Challenge Flow
Step 1: Domain Specification
--domainflag is not provided, you'll be prompted to enter the domain nameStep 2: DNS Record Creation
The client will display instructions like:
Step 3: DNS Record Creation (User Action)
Create the DNS TXT record using your DNS provider's interface
Step 4: Verification
Step 5: Certificate Issuance
Same with the existing ndncert implementation