Skip to content

Certbot and Cloudflare DNS challenge automation tool (certbot already has a plugin for this, but it does not work yet)

License

Notifications You must be signed in to change notification settings

alexrsagen/go-certbot-cloudflare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-certbot-cloudflare

A helper to automate Certbot domain authentication using the DNS challenge with Cloudflare as DNS provider.

Usage

The application, with executables downloadable from GitHub releases, should be used in the Certbot command-line flags --manual-auth-hook and --manual-cleanup-hook.

Info/debug-level output may be obtained by passing the -verbose flag.

Cleanup mode is set by passing the -cleanup flag. This should be used in the --manual-cleanup-hook of certbot.

Example (API user key auth)

CF_API_EMAIL="[email protected]" CF_API_KEY="xxxxx" /opt/certbot/certbot-auto renew --server https://acme-v02.api.letsencrypt.org/directory --manual --manual-auth-hook="/path/to/go-certbot-cloudflare" --manual-cleanup-hook="/path/to/go-certbot-cloudflare -cleanup" --manual-public-ip-logging-ok --preferred-challenges dns

Example (API access token auth)

CF_ACCESS_TOKEN="xxxxx" /opt/certbot/certbot-auto renew --server https://acme-v02.api.letsencrypt.org/directory --manual --manual-auth-hook="/path/to/go-certbot-cloudflare" --manual-cleanup-hook="/path/to/go-certbot-cloudflare -cleanup" --manual-public-ip-logging-ok --preferred-challenges dns

About

Certbot and Cloudflare DNS challenge automation tool (certbot already has a plugin for this, but it does not work yet)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages