Let's encrypt certs aren’t uploaded via SFTP to /etc/letsencrypt/live correctly
|Operating system type:
|Operating system version:
I reported this bug on lets encrypt and was told that it's a Filezilla bug
Reproduction steps, taken from the internal documentation for my company, which I've written, doing dns verification method, on windows 10, uploading to centos, using latest version of Filezilla, over sftp.
- Download certbot for windows and run it in Powershell as administrator
- do this command
certbot certonly --manual --preferred-challenges=dns --email email@example.com --server https://acme-v02.api.letsencrypt.org/directory --agree-tos --manual-public-ip-logging-ok -d *.example.com -d example.com
- Once done the certificates will be downloaded to
C:/Certbot, upload everything inside that folder to
/etc/letsencrypt. Override all existing files in that folder, if that folder doesn't exist, create it.
Okay now when doing this
Note: make sure that the files inside
C:\Certbot\live\example.com are uploaded correctly to
/etc/letsencrypt/live/example.com because often filezilla fails to upload those
if I just upload what's in
certbot folder to the empty
/etc/letsencrypt/live/, only the readme file will be uploaded. All other files get uploaded correctly
If I then go to
C:\Certbot\live\example.com And upload to
/etc/letsencrypt/live/example.com everything gets uploaded correctly.
So it's not a permission error. Does anyone have a clue what's happening?