Page 1 of 1
"Invalid response" error when enabling SSL support via Let's Encrypt GUI
Posted: Sun Dec 11, 2016 5:42 am
by baijianpeng
Today I re-installed my server, totally new fresh installation of Ubuntu 16.04, then install latest VestaCP (0.9.8-17).
Next, when I create new domain, I checked the "SSL support" and also checked "Lets Encrypt support", but when I click the Save button, I got following error message in a pop-up dialog:
I also tried to enable SSL/Let's Encrypt support via CLI, with following command:
Code: Select all
v-add-letsencrypt-domain USERNAME joomlagate.com
but system returned following error message:
sed: can't read /usr/local/vesta/data/queue/letsencrypt.pipe: No such file or directory
I don't know why I can not get it work? Did I missed something?
Thank you.
Re: "Invalid response" error when enabling SSL support via Let's Encrypt GUI
Posted: Sun Dec 11, 2016 10:25 am
by skamasle
This is a know bug, alredy reported.
Re: "Invalid response" error when enabling SSL support via Let's Encrypt GUI
Posted: Sun Dec 11, 2016 1:01 pm
by baijianpeng
I had checked that folder, there is no file named "letsencrypt.pipe".
I noticed that on this page:
https://github.com/Daplie/letsencrypt-cli ,they said user need to install node.js and install LetsEncrypt first.
Does this mean that I should manually install "let's encrypt client" on my Ubuntu BEFORE I run the above mentioned command?
If it is true, why not just install node.js and install "let's encrypt client" at the same time when installing VestaCP itself?
Thank you.
Re: "Invalid response" error when enabling SSL support via Let's Encrypt GUI
Posted: Fri Dec 23, 2016 1:55 pm
by baijianpeng
Today I tried the "command line" method, and got the same error message:
Code: Select all
#v-add-letsencrypt-domain [user] [domain]
sed: can't read /usr/local/vesta/data/queue/letsencrypt.pipe: No such file or directory
Then I followed this topic:
viewtopic.php?f=17&t=13171&p=53565&hili ... ipe#p53577
Then I checked the /home/[user]/conf/web/ folder, and noticed that there are 4 new files generated:
sapache2.conf
ssl.joomlagate.com.ca
ssl.joomlagate.com.crt
ssl.joomlagate.com.key
ssl.joomlagate.com.pem
Does this means that I have to use the file sapache2.conf to configue SSL related parameters such as "http/2" and "OCSP Stapling"?
My VestaCP installation is the default type, use both Apache2 and Nginx on Ubuntu 16.04. I remember I should use "snginx.conf" to configure those parameters. But now the file snginx.conf is empty.
What should I do now?
Thank you.
Re: "Invalid response" error when enabling SSL support via Let's Encrypt GUI
Posted: Thu Feb 02, 2017 12:02 pm
by pandabb
i have encountered this too but was able to make it work.
make sure proxy support is enabled . e.g default
then tick the box letsencrypt and save :)
Re: "Invalid response" error when enabling SSL support via Let's Encrypt GUI
Posted: Tue Feb 07, 2017 9:15 pm
by virooz
touch /usr/local/vesta/data/queue/letsencrypt.pipe as root
then set permissions as follows:
-rwxr-x--- 1 root root 0 Feb 7 21:31 /usr/local/vesta/data/queue/letsencrypt.pipe
Next turn off SSL via GUI, save.
Turn on SSL via GUI, save.
Worked for me.
Cheers
Damian
Re: "Invalid response" error when enabling SSL support via Let's Encrypt GUI
Posted: Wed Mar 08, 2017 1:02 pm
by baijianpeng
There is no file named "letsencrypt.pipe" in the folder "/usr/local/vesta/data/queue/".
Do yo mean I create a new empty file and name it as letsencrypt.pipe?
Re: "Invalid response" error when enabling SSL support via Let's Encrypt GUI
Posted: Thu Mar 09, 2017 12:33 pm
by skurudo
Code: Select all
sudo touch /usr/local/vesta/data/queue/letsencrypt.pipe
Re: "Invalid response" error when enabling SSL support via Let's Encrypt GUI
Posted: Thu Mar 09, 2017 11:36 pm
by baijianpeng
Understand now. Thank you. I will try this trick later (at present I am using another letsencrypt-vesta script instead of the built-in SSL).