obynio / certbot-plugin-gandi

Certbot plugin for authentication using Gandi LiveDNS
https://pypi.org/project/certbot-plugin-gandi/
MIT License
195 stars 27 forks source link

certbot: error: unrecognized arguments: --certbot-plugin-gandi:dns-credentials gandi.ini #18

Closed kdekooter closed 4 years ago

kdekooter commented 4 years ago

Installed the gandi plugin and tried to run the following command:

sudo certbot certonly -a certbot-plugin-gandi:dns --certbot-plugin-gandi:dns-credentials gandi.ini -d XXXXX.nl -d \*.XXXXX.nl --server https://acme-v02.api.letsencrypt.org/directory

Certbot returns the following error: certbot: error: unrecognized arguments: --certbot-plugin-gandi:dns-credentials gandi.ini

Using the latest certbot, version 0.31.0.

Am I missing something here?

svalo commented 4 years ago

I think its a duplicate of #16

kdekooter commented 4 years ago

Could well be if I were able to decipher the actual solution from that issue :-).

Maybe the documentation should be updated accordingly?

obynio commented 4 years ago

The documentation has been updated accordingly

GiantFrog commented 4 years ago

Hey, I'm having this same issue, only unlike #16 I am not trying to do anything with cli.ini and am just trying to get this working in the command line. It sounds like you were also just trying to get it working the same way I am, @kdekooter, so did you ever succeed? What was the issue?

Protinon commented 4 years ago

I also had the same error, not entirely sure how I solved it but I figured out my issue. Running sudo certbot renew -a certbot-plugin-gandi:dns --server https://acme-v02.api.letsencrypt.org/directory showed that certbot didn't recognize the Gandi plugin. Re-installing Certbot, the Gandi plugin, and trying again the next day got my renewal to succeed.

dimzeta commented 4 years ago

Hey, I'm having this same issue, only unlike #16 I am not trying to do anything with cli.ini and am just trying to get this working in the command line. It sounds like you were also just trying to get it working the same way I am, @kdekooter, so did you ever succeed? What was the issue?

I had the same issue as you. My mistake was I installed the plugin without sudo. I don't know if it's sensitive, but once I did sudo pip3 install certbot-plugin-gandi the error disappeared and my certificate has been successfully generated.

GiantFrog commented 4 years ago

@dimitribocquet That's all it took! Haha, thanks so much. What an easy fix.