coldfix/certbot-dns-netcup

unrecognized arguments: --certbot-dns-netcup

Closed this issue · 1 comments

It seems that something didn't install correctly on my server.

I issued the following command:

certbot certonly \
   --authenticator certbot-dns-netcup:dns-netcup \
   --certbot-dns-netcup:dns-netcup-propagation-seconds 900 \
   --certbot-dns-netcup:dns-netcup-credentials \
       ~/.secrets/certbot/netcup.ini \
   --server https://acme-v02.api.letsencrypt.org/directory \
   -d 'example.com' -d '*.example.com'

and this was the result:

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-netcup:dns-netcup-propagation-seconds 900 --certbot-dns-netcup:dns-netcup-credentials /user/.secrets/certbot/netcup.ini

I've installed certbot with the commands found here:

sudo apt-get update
sudo apt-get install software-properties-common
sudo add-apt-repository universe
sudo add-apt-repository ppa:certbot/certbot
sudo apt-get update
sudo apt-get install certbot python-certbot-apache 

Hi,

my first guess would be that certbot-dns-netcup wasn't installed into the same python environment as the certbot you're invoking.

Type head -n 1 $(which certbot) to check which python is used for certbot.

Then, type /path/to/python -m pip list to show a list of installed packages using the same python binary.

Best, Thomas