Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

"Invalid response" error when enabling SSL support via Let's Encrypt GUI

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
9 posts • Page 1 of 1
baijianpeng
Posts: 301
Joined: Tue Dec 22, 2015 2:06 pm

"Invalid response" error when enabling SSL support via Let's Encrypt GUI
  • Quote

Post by baijianpeng » Sun Dec 11, 2016 5:42 am

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:
Error: Invalid response from http://www.joomlagate.com/.well-known/a ... HgHnBbsOq4: \
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.
Top

skamasle
Collaborator
Posts: 592
Joined: Mon Feb 29, 2016 6:36 pm

Re: "Invalid response" error when enabling SSL support via Let's Encrypt GUI
  • Quote

Post by skamasle » Sun Dec 11, 2016 10:25 am

This is a know bug, alredy reported.
Top

baijianpeng
Posts: 301
Joined: Tue Dec 22, 2015 2:06 pm

Re: "Invalid response" error when enabling SSL support via Let's Encrypt GUI
  • Quote

Post by baijianpeng » Sun Dec 11, 2016 1:01 pm

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.
Top

baijianpeng
Posts: 301
Joined: Tue Dec 22, 2015 2:06 pm

Re: "Invalid response" error when enabling SSL support via Let's Encrypt GUI
  • Quote

Post by baijianpeng » Fri Dec 23, 2016 1:55 pm

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.
Top

pandabb
Posts: 192
Joined: Sat Aug 08, 2015 3:03 am

Re: "Invalid response" error when enabling SSL support via Let's Encrypt GUI
  • Quote

Post by pandabb » Thu Feb 02, 2017 12:02 pm

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 :)
Top

virooz
Posts: 7
Joined: Thu Aug 06, 2015 9:03 pm

Re: "Invalid response" error when enabling SSL support via Let's Encrypt GUI
  • Quote

Post by virooz » Tue Feb 07, 2017 9:15 pm

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
Top

baijianpeng
Posts: 301
Joined: Tue Dec 22, 2015 2:06 pm

Re: "Invalid response" error when enabling SSL support via Let's Encrypt GUI
  • Quote

Post by baijianpeng » Wed Mar 08, 2017 1:02 pm

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?
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: "Invalid response" error when enabling SSL support via Let's Encrypt GUI
  • Quote

Post by skurudo » Thu Mar 09, 2017 12:33 pm

Code: Select all

sudo touch /usr/local/vesta/data/queue/letsencrypt.pipe
Top

baijianpeng
Posts: 301
Joined: Tue Dec 22, 2015 2:06 pm

Re: "Invalid response" error when enabling SSL support via Let's Encrypt GUI
  • Quote

Post by baijianpeng » Thu Mar 09, 2017 11:36 pm

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).
Top


Post Reply
  • Print view

9 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

cron

Login  •  Register

I forgot my password