Hi all,
I have a problem similar to this old question.
So the issue is the following: I'm trying to use the dns-01 authenticator plugin for Cloudfare. I'm on Ubuntu (without snap) and I'm correctly installed the certbot
and python3-certbot-dns-cloudfare
plugin.
Indeed, certbot reports it in the plugin list:
# certbot plugins
Saving debug log to /var/log/letsencrypt/letsencrypt.log
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
* dns-cloudflare
Description: Obtain certificates using a DNS TXT record (if you are using
Cloudflare for DNS).
Interfaces: Authenticator, Plugin
Entry point: EntryPoint(name='dns-cloudflare',
value='certbot_dns_cloudflare._internal.dns_cloudflare:Authenticator',
group='certbot.plugins')
* standalone
Description: Runs an HTTP server locally which serves the necessary validation
files under the /.well-known/acme-challenge/ request path. Suitable if there is
no HTTP server already running. HTTP challenge only (wildcards not supported).
Interfaces: Authenticator, Plugin
Entry point: EntryPoint(name='standalone',
value='certbot._internal.plugins.standalone:Authenticator',
group='certbot.plugins')
* webroot
Description: Saves the necessary validation files to a
.well-known/acme-challenge/ directory within the nominated webroot path. A
seperate HTTP server must be running and serving files from the webroot path.
HTTP challenge only (wildcards not supported).
Interfaces: Authenticator, Plugin
Entry point: EntryPoint(name='webroot',
value='certbot._internal.plugins.webroot:Authenticator',
group='certbot.plugins')
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
However, it does not recognize any argument of the plugin:
# certbot certonly --dns-cloudfare --dns-cloudfare-credentials /path/to/cloudfare.credentials --email abc@example.org -d example.org
usage:
certbot [SUBCOMMAND] [options] [-d DOMAIN] [-d DOMAIN] ...
Certbot can obtain and install HTTPS/TLS/SSL certificates. By default,
it will attempt to use a webserver both for obtaining and installing the
certificate.
certbot: error: unrecognized arguments: --dns-cloudfare --dns-cloudfare-credentials
I also tried with --authenticator dns-cloudfare
with no success (recognize this argument but not the credential one).
Versions as reported by pip3 are:
certbot==2.8.0
certbot-dns-cloudflare==2.0.0
Any idea?