** Description changed:

  1. Ubuntu version: 22.04 LTS
  
  2. Package version: 4.1.3-3ubuntu1
  
  3. What I expected to happen: running lego with the `--dns cloudflare`
  option should request a certificate from LetsEncrypt with the Cloudflare
  DNS validation mode.
  
  4. What happened: Lego failed to request a certificate, and gave the
  following error message: `unrecognized DNS provider: Cloudflare`
  
  Further details:
- My usage scenario involved setting the `CF_DNS_API_TOKEN_FILE` and 
`LEGO_PATH` envvars, and the `--key-type ec384`, `--pem`, and `--dns 
cloudflare` flags for lego (in addition to the relevant flags for domain name 
and email address).
+ I confirmed that the cloudflare provider is listed in the output of `lego 
dnshelp`
+ 
+ My usage scenario involved setting the `CF_DNS_API_TOKEN_FILE` and
+ `LEGO_PATH` envvars, and the `--key-type ec384`, `--pem`, and `--dns
+ cloudflare` flags for lego (in addition to the relevant flags for domain
+ name and email address).
  
  I confirmed that the issue did not persist when I cloned the upstream
  git repo and compiled the tool myself, which suggests that pulling in a
  newer upstream release is all that's required to resolve the issue. (The
  output of `lego -v` from my build is `lego version
  5228f6dbcfa6b78bd5763f1e27e9ba9914eb98fb linux/amd64`)
  
  Unfortunately I am not able to test whether other DNS providers
  supported by lego are also affected, as I only own domains through
  Cloudflare.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1971029

Title:
  Cloudflare not recognized for DNS validation

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/golang-github-xenolf-lego/+bug/1971029/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to