Something weird and I am unable to figure out what is wrong.
I am trying to get the plugin for certbot and acme-dns working. I followed your instructions at
It seems I have done something wrong. But this is what certbot says:
# certbot plugins --text
Saving debug log to /var/log/letsencrypt/letsencrypt.log
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
* dns-acmedns
Description: Obtain certificates using a DNS TXT record (if you are using
ACME-DNS for DNS.)
Interfaces: Authenticator, Plugin
Entry point: EntryPoint(name='dns-acmedns',
value='certbot_dns_acmedns.dns_acmedns: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')
Which seems ok. But:
# certbot certonly --dry-run --test-cert --authenticator certbot-dns-acmedns:dns-acmedns --certbot-dns-acmedns:dns-acmedns-credentials /etc/acmedns/acmedns-credentials.ini -vv --de
bug-challenges
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: --certbot-dns-acmedns:dns-acmedns-credentials /etc/acmedns/acmedns-credentials.ini
So, the plugin is there, I am using the arguments as per instructions, but the argument isn't recognised.
I am running from a container, created with:
FROM python:alpine AS build
RUN apk update \
&& apk upgrade \
&& python3 -m venv /opt/certbot/ \
&& /opt/certbot/bin/pip install --upgrade pip \
&& /opt/certbot/bin/pip install certbot certbot \
&& /opt/certbot/bin/pip install certbot-dns-acmedns
# While experimenting:
WORKDIR /tmp
ADD https://github.com/acme-dns/acme-dns-client/releases/download/v0.3/acme-dns-client_0.3_linux_386.tar.gz acme-dns-client_0.3_linux_386.tar.gz
RUN tar xzvf acme-dns-client_0.3_linux_386.tar.gz
FROM python:alpine
COPY --from=build /opt/certbot /opt/certbot
COPY --from=build /tmp/acme-dns-client /opt/certbot/acme-dns-client
RUN ln -s /opt/certbot/bin/certbot /usr/bin/certbot
ENTRYPOINT [ "certbot" ]
(though I override the entrypoint while testing)
What is going wrong here?