Gandi / letsencrypt-gandi

Gandi plugin for Let's Encrypt
https://www.gandi.net/
Apache License 2.0
91 stars 20 forks source link

Need clarification about renewal #29

Open mjammes opened 7 years ago

mjammes commented 7 years ago

Hi,

I have been using Let's Encrypt on my Simple Hosting but I had some issues with certificate renewal. As written in the documentation, I used the following command:

[sudo] certbot certonly --domains VHOST \ --authenticator letsencrypt-gandi:gandi-shs \ --letsencrypt-gandi:gandi-shs-name SHS-NAME \ --letsencrypt-gandi:gandi-shs-vhost VHOST \ --letsencrypt-gandi:gandi-shs-api-key API-KEY \ --installer letsencrypt-gandi:gandi-shs

I got a congratulations message and everything but if I go to my website afterwards, the certificate has not been renewed and the expiration date is still the same. Actually, if I understand correctly, the new certificate is generated and had been stored locally on my computer but not installed on my hosting.

So far, the only solution I found to renew my certificates is actually to use the original command:

[sudo] certbot run --domains VHOST \ --authenticator letsencrypt-gandi:gandi-shs \ --letsencrypt-gandi:gandi-shs-name SHS-NAME \ --letsencrypt-gandi:gandi-shs-vhost VHOST \ --letsencrypt-gandi:gandi-shs-api-key API-KEY \ --installer letsencrypt-gandi:gandi-shs

Am I missing something? Is there another step I should do after using the certonly command? Or is it a bug?

Thanks,

Marius

bcien commented 6 years ago

To renew AND install the certificate, the run command is a simple solution. I already filled the pull request #39 to make it clear in the documentation.