SSL on webpanel

Started by hwd72, April 12, 2019, 11:45:07 AM

Previous topic - Next topic

hwd72

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 ?

studio4host

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.

hwd72

Thanks, that did not work with Auto SSL. site just not working

Netino

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

hwd72

Hey.
Thanks. wil that work for the hostpanel management site? Its the host1.panel.xwy that i want to installe a ssl.

Netino

Yes, but for the main host you will not need to install from CWP.
Just put in place the files:

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

/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:

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


carlosx2

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://


glorency

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