Upon further review, I've found a bug report for this same issue on
Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=968964
The issue stems from this commit: https://salsa.debian.org/go-
team/packages/golang-github-xenolf-
lego/-/commit/f2a108f0528a5e0ec5038d43d7a85ec301cb1f96#8756c63497c
Update: I tried the 4.1.3 release from the upstream GitHub page, and
that version worked fine as well. So unfortunately, it must be something
to do with one of the Ubuntu or Debian patches.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubunt
** 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 f