I followed every step from the readme, but i am having issues with the commands, i allways get an “file or directory” did not exist error message. Not sure if i am missing something ?.
Installation:
Enter the directory and use the pip executable distributed with letsencrypt to install the plugin ~ $ git clone https://github.com/Gandi/letsencrypt-gandi.git ~ $ cd letsencrypt-gandi ~/letsencrypt-gandi $ ~/.local/share/letsencrypt/bin/pip install -e . < gives me a file not found error
yes, i installed certbot for ubuntu from the EFF site.
`macbroadcast@macbroadcast:~$ sudo letsencrypt renew --dry-run
[sudo] Passwort für macbroadcast:
** DRY RUN: simulating ‘letsencrypt renew’ close to cert expiry
** (The test certificates below have not been saved.)
No renewals were attempted.
** DRY RUN: simulating ‘letsencrypt renew’ close to cert expiry
** (The test certificates above have not been saved.)
macbroadcast@macbroadcast:~$ cd development
macbroadcast@macbroadcast:~/development$ cd letsencrypt-gandi
macbroadcast@macbroadcast:~/development/letsencrypt-gandi$ sudo /letsencrypt-gandi $ ~/.local/share/letsencrypt/bin/pip install -e .
sudo: /letsencrypt-gandi: command not found
macbroadcast@macbroadcast:~/development/letsencrypt-gandi$
`
Yes, that's fine - in which case you shouldn't need to do the "~/.local/share/letsencrypt/bin/pip install -e ." command. The instructions on that plugin look a little out of date.
Thanks a lot for your help @serverco i made some progress , after i changed the keys i get thru the installation prozess , now i have a permission problem:
xxxxx@sftp.dc1.gpaas.net's password:
Connected to sftp.dc1.gpaas.net.
sftp> exit
Permission denied (publickey,password).
Couldn't read packet: Connection reset by peer
Permission denied (publickey,password).
Couldn't read packet: Connection reset by peer
Permission denied (publickey,password).
Couldn't read packet: Connection reset by peer
Couldn't place file in domain: vhosts/macbroadcast.org/htdocs//.well-known/acme-challenge
But i am able to login without my password, just using keys to:
I'm assuming that your host doesn't insist on keys and does allow sftp via password.
The plugin does say
If the connection via sftp works, but the script still has authentication issues, make sure you have added your SSH Key to ssh-agent on your computer (see the Requirements section for instructions).
Personally, I wrote the getssl script for automating certificates remotely - which will allow you to upload the validation tokens, and certificates, on the server. if you wanted to try a different approach.
Hi, I’m having the same problem trying to use letsencrypt-gandi on Debian Stretch. When I tried the solution from this thread (with my site information substituted):
I think you would need to install the gandi plugin - yes. the instructions are on the gandi plugin page . As above I don’t personally use the gandi plugin, hence can’t debug fully ( although there may be others around who do ).