Page 1 of 1
Suddenly, error with Let's Encrypt renew.
Posted: Sat Feb 25, 2017 11:00 am
by Trentor
Hi there.
I had VestaCP working perfectly with Apache + nginx + Let's Encrypt until now.
The last night, I received a mail from VestaCP with an error trying to renew Let's Encrypt certificates:
Code: Select all
Error: Could not connect to domain.tld
sed: can't read /usr/local/vesta/data/queue/letsencrypt.pipe: No such file or directory
Error: Invalid response from http://subdomain.domain.tld/.well-known/acme-challenge/uFNs7dDumrnPhzJ6fNUWEy9D3dbxsb1K0xSVk10ZHoU: \
I changed nothing in my server in the last month that can explain this error, no changes at all in my server.
What's happening?, any help please?
Thanks!!
Re: Suddenly, error with Let's Encrypt renew.
Posted: Sat Feb 25, 2017 7:59 pm
by xjlin0
Try this:
Under your client's public_(s)html folder, create .well-known/index.html and .well-known/acme-challenge/index.html
(don't miss the dot, and just some plain text in index.html would be fine)
Re: Suddenly, error with Let's Encrypt renew.
Posted: Sat Feb 25, 2017 8:20 pm
by Trentor
xjlin0 wrote:Try this:
Under your client's public_(s)html folder, create .well-known/index.html and .well-known/acme-challenge/index.html
(don't miss the dot, and just some plain text in index.html would be fine)
Thanks @xjlin0.
No, it has not worked.
Thanks again.
Re: Suddenly, error with Let's Encrypt renew.
Posted: Sun Feb 26, 2017 4:14 pm
by xjlin0
OK, if you are using Nginx, take a look at
viewtopic.php?f=16&t=13773
Good luck!
Re: Suddenly, error with Let's Encrypt renew.
Posted: Mon Feb 27, 2017 7:18 pm
by skurudo
Re: Suddenly, error with Let's Encrypt renew.
Posted: Fri Apr 28, 2017 6:43 am
by m.-ahmad
I have same issue please help
Re: Suddenly, error with Let's Encrypt renew.
Posted: Fri Apr 28, 2017 9:41 am
by Trentor
System: CentOS 7 + Apache + nginx + Force https template.
Same problem again...
New email received with problems with
Code: Select all
/usr/local/vesta/bin/v-update-letsencrypt-ssl
Code: Select all
Error: Invalid response from http://mydomain/.well-known/acme-challenge/kkmfyrbXYs2IUmyrnUbUwK42oxEqOo8fgJ6I7WFixq4: \
sed: can't read /usr/local/vesta/data/queue/letsencrypt.pipe: No such file or directory
I did the changes suggested by @skurudo in
this thread, and the problem is again here.
And I tried with with no success:
Code: Select all
sudo touch /usr/local/vesta/data/queue/letsencrypt.pipe
Using "touch", the error is:
Code: Select all
Error: Invalid response from http://mydomain/.well-known/acme-challenge/47-lhPjShCVtUhsnVR_xWVETrpk7yaD4zNIprN_VFo8: \
The problem arise when one month of validity of the certificate is left.
Please, I need some help with this.
Thanks.
Re: Suddenly, error with Let's Encrypt renew.
Posted: Fri Apr 28, 2017 11:12 am
by Trentor
********************* SOLVED *********************
The solution is in
this post from @skurudo
I wasn't doing
Rebuild web for users who uses those templates.
Important: I had to do:
Code: Select all
touch /usr/local/vesta/data/queue/letsencrypt.pipe
Thanks skurudo!!!
Re: Suddenly, error with Let's Encrypt renew.
Posted: Mon May 01, 2017 7:58 pm
by skurudo
force-http templates were really old without actual LE support, now we made fixes and will be nice.
Thanks for patience, ;-)