DNS-01 Challenge Support #41
Open
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.
This pull request introduces a significant enhancement to the
w2c-letsencrypt-esxiby adding support for DNS-01 challenges. Included with it are improved configuration options, a modular approach to supporting DNS providers viadnsapi/dns_api.sh, and an initial integration with Cloudflare's DNS API throughdnsapi/dns_cloudflare.sh. These changes enhance flexibility, particularly for environments where HTTP-01 challenges are not feasible, and improve the overall usability of the project.Enhancements to ACME Challenge Support:
acme_tiny.pyfor handling DNS-01 challenges and interacting with DNS APIs.Cloudflare DNS API Integration:
dnsapi/dns_cloudflare.sh, a new script for managing DNS records via Cloudflare's API. This script supports adding and removing TXT records for DNS-01 challenges and includes robust error handling and logging.Improvements to Configuration:
README.mdto provide detailed instructions for configuring both HTTP-01 and DNS-01 challenges, including examples for using Cloudflare or manual DNS record management.renew.cfg.examplefile to serve as a template for customizing renewal settings.Build Script Updates:
build/create_vib.shensures the newdnsapi/dns_api.shscript and any available DNS provider handler scripts are included in the VIB package.