Author Topic: SSL on webpanel  (Read 9076 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
SSL on webpanel
« on: April 12, 2019, 11:45:07 AM »
Hi all.

Is there a how to, install SSL cert on the webpanel ?
Tryed what i could finde but with no luck.
Have a comodo ssl cert.

Is it getter to install the lets incrypt certs ?

Offline
*
Re: SSL on webpanel
« Reply #1 on: April 12, 2019, 12:01:13 PM »
you can use under  Webserver Settings SSL certificates and from there install AutoSSL = Free or Manual where you can install your own certificates
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

Offline
*
Re: SSL on webpanel
« Reply #2 on: April 12, 2019, 03:09:17 PM »
Thanks, that did not work with Auto SSL. site just not working

Offline
***
Re: SSL on webpanel
« Reply #3 on: April 14, 2019, 04:18:58 AM »
AutoSSL is for Letsencrypt certificates.
If you have already a Comodo Certificate, supposedly you must put the (file with the) cert in the "/etc/pki/tls/certs/" and put the key in "/etc/pki/tls/private/", and access CWP -> Webserver Settings -> Tab "Install From Server", and choose the file certificate, and user and the domain, and click in install.

Regards,
Netino

Offline
*
Re: SSL on webpanel
« Reply #4 on: April 14, 2019, 07:43:18 PM »
Hey.
Thanks. wil that work for the hostpanel management site? Its the host1.panel.xwy that i want to installe a ssl.

Offline
***
Re: SSL on webpanel
« Reply #5 on: April 15, 2019, 12:36:25 AM »
Yes, but for the main host you will not need to install from CWP.
Just put in place the files:
Code: [Select]
/etc/pki/tls/certs/hostname.bundle
/etc/pki/tls/certs/hostname.crt
/etc/pki/tls/private/hostname.key

In my case these files don't exist, I just create a symbolic link to the real files.
Code: [Select]
/etc/pki/tls/certs/hostname.bundle -> /etc/pki/tls/certs/host1.panel.xwy.bundle
/etc/pki/tls/certs/hostname.crt -> /etc/pki/tls/certs/host1.panel.xwy.cert
/etc/pki/tls/private/hostname.key -> /etc/pki/tls/private/host1.panel.xwy.key

To create the symbolic links:
Code: [Select]
ln -s /etc/pki/tls/certs/host1.panel.xwy.bundle /etc/pki/tls/certs/hostname.bundle
ln -s /etc/pki/tls/certs/host1.panel.xwy.cert /etc/pki/tls/certs/hostname.crt
ln -s /etc/pki/tls/private/host1.panel.xwy.key /etc/pki/tls/private/hostname.key

Offline
*
Re: SSL on webpanel
« Reply #6 on: May 20, 2019, 02:22:38 PM »
I've tried this and i have everything at the right place but I have no idea how to link this with my hostname from the control panel. I can't select the hostname when choosing from server. So how do i solve this, also how do i make sure the ip can also be accessed with https://

Offline
***
Re: SSL on webpanel
« Reply #7 on: May 20, 2019, 03:53:52 PM »

Offline
*
Re: SSL on webpanel
« Reply #8 on: May 22, 2019, 08:56:26 AM »
Step 6: Let'sEncypt SSL
1. Install Let'sEncypt for Server FQDN and also for Admin/User/Webmail
2. Configure Auto Renewal
3. CWP: Redirect Admin/User/Wemail panel from http to https
4. SSL Inconsistent server configuration [ Error: SSL_ERROR_RX_RECORD_TOO_LONG]
5. CWP: Auto_SSL is not working from both Admin/User Panel [Fixed]

Details:
https://www.awsmonster.com/2017/01/cwp-how-to-configure-let-encrypt-ssl.html
https://www.awsmonster.com/p/cwp-installation-and-configuration_12.html