miigotu / certbot-dns-godaddy

A godaddy dns plugin using lexicon for cerbot to authenticate and retrieve letsencrypt certificates

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I am facing an error: unrecognized arguments

agarwalvaibhav0211 opened this issue · comments

I ran
certbot certonly --authenticator dns-godaddy --dns-godaddy-credentials $FILENAME --dns-godaddy-propagation-seconds 900 --keep-until-expiring --non-interactive --expand --server https://acme-v02.api.letsencrypt.org/directory -d '$DOMAINNAME'

But I am facing this Error:

certbot: error: unrecognized arguments: --dns-godaddy-credentials $FILENAME --dns-godaddy-propagation-seconds 900

I am using certbot v1.22.0 and python v3.9 pip v20.3.4

same problem here

i resolved just adding "sudo" to the commands

that did not fix it for me :(

that did not fix it for me :(

This package must be installed with the same interpreter and user that installed certbot. They have to be in the same environment. If you used sudo to install certbot, you have to use sudo to install certbot-dns-godaddy. If you did not use sudo for one, you cant use it for either of them.

I suggest you remove certbot and just install this package, which will reinstall certbot at the right version and place.

pip3 uninstall certbot certbot-dns-godaddy
python3 -m venv ~/certbot
source ~/certbot/bin/activate
pip3 install certbot-dns-godaddy
# Use the full path to the certbot inside the venv:
~/certbot/bin/certbot certonly --authenticator dns-godaddy --dns-godaddy-credentials $FILENAME --dns-godaddy-propagation-seconds 900 --keep-until-expiring --non-interactive --expand --server https://acme-v02.api.letsencrypt.org/directory -d '$DOMAINNAME'

Thank you so much! That worked fine for me!