Control Web Panel

WebPanel => SSL => Topic started by: VPREATR on March 02, 2017, 12:10:22 AM

Title: Can't install Let's Encrypt SSL on admin for CWP7 - need assistance.
Post by: VPREATR on March 02, 2017, 12:10:22 AM
I've been attempting to install a Let's Encrypt certificate for the admin panel for CWP7 and here's the steps I've followed:

First I attempted to follow this guide:
http://wiki.centos-webpanel.com/hostname-ssl-with-letsencrypt

(Including the YouTube video)

It appears that a few file names might be wrong, because the video wants the file /usr/local/apache/conf.d/vhosts-hostname.conf edited, but in the Video, it's showing the edit of /usr/local/apache/conf.d/vhosts.conf through the admin page.

So as a test I setup my admin virtual host through the admin page (i.e. vhosts.conf) per the video with proper host.hostname.com entries/IP and then I installed the Let's Encrypt Cert, followed by checking my admin panel server page for SSL and that appeared functional on port 443.   The next stage was to add the ability to use the cert on port 2031. 

The guide indicates to make changes to: /usr/local/cwpsrv/conf.d/cwp-ssl.conf

The file cwp-ssl.conf didn't exist, so I created the file with the proper entries and then attempted to restart CWP, that lead this error:

Redirecting to /bin/systemctl restart  cwpsrv.service
Job for cwpsrv.service failed because the control process exited with error code. See "systemctl status cwpsrv.service" and "journalctl -xe" for details.

After searching, making adjustments based on other attempts discovered online and so forth, it appeared this wasn't going work and then I noticed ALL the guides and videos I've been reading/viewing were related to CWP (v6) and not CWP7 - does anyone have a guide and/or advice on setting up the admin page (port 2031) using the Let's Encrypt certs.

FWIW, it seems that any changes made to cwp-ssl.conf lead to a restart error.

Thanks!
Title: Re: Can't install Let's Encrypt SSL on admin for CWP7 - need assistance.
Post by: Sandeep on March 02, 2017, 11:55:01 AM
this tutorial will no longer work in near future we'll update this guide
Title: Re: Can't install Let's Encrypt SSL on admin for CWP7 - need assistance.
Post by: banane on March 18, 2017, 05:04:20 PM
any news for this tutorial?
Title: Re: Can't install Let's Encrypt SSL on admin for CWP7 - need assistance.
Post by: joaomach on March 27, 2017, 08:10:48 PM
this tutorial will no longer work in near future we'll update this guide

But what is the fix? I am at a stand still at this point. I don't want to start hosting my other sites until I get SSL turned on.
I donated my $10 for the year, so I can we get a simple text how to get around this issue?
Title: Re: Can't install Let's Encrypt SSL on admin for CWP7 - need assistance.
Post by: MarkE on March 30, 2017, 04:48:25 PM
+1
Title: Re: Can't install Let's Encrypt SSL on admin for CWP7 - need assistance.
Post by: Sandeep on April 02, 2017, 10:59:18 AM
you can contact us so we can check and install it.
Title: Re: Can't install Let's Encrypt SSL on admin for CWP7 - need assistance.
Post by: locvfx on April 29, 2017, 04:57:22 PM
Follow this:
- Go to SSL certificate manager > SSL generator
Then generate your certificate

- Get back to let's encrypt and install it manually