Control Web Panel

WebPanel => CentOS 7 Problems => Topic started by: LostnIL on August 07, 2018, 04:32:16 PM

Title: Client & Admin SSL Domain Verified URL
Post by: LostnIL on August 07, 2018, 04:32:16 PM
Is it possible to get the CWP Client and Admin login to use a Domain Verified SSL ?
Title: Re: Client & Admin SSL Domain Verified URL
Post by: bullten on August 08, 2018, 01:51:35 AM
Yes actually this is possible.

Use this link to generate autossl for hostname.

Code: [Select]
http://wiki.centos-webpanel.com/hostname-ssl-with-letsencrypt
edit

Code: [Select]
/usr/local/cwpsrv/conf/cwpsrv.conf
find

Code: [Select]
ssl_certificate     /etc/pki/tls/certs/hostname.cert;
ssl_certificate_key /etc/pki/tls/private/hostname.key;

Replace above hostname with hostname of your server.

Now restart cwpserver

Code: [Select]
server cwpsrv restart
Below is a test url to show you its working.

Code: [Select]
https://server1.bullten.net:2087/login/index.php
Title: Re: Client & Admin SSL Domain Verified URL
Post by: studio4host on August 08, 2018, 11:58:57 AM
by default if your hostname has a proper "A" record for the hostname it will get hostname certificate generated with autossl and all would be automatically set , so simply go to save hostname in the cwp.admin "change hostname" to get a hostname certificate generated an then you can access it by hostname and port 2031/2087/2083
Title: Re: Client & Admin SSL Domain Verified URL
Post by: LostnIL on August 09, 2018, 01:42:40 PM
Thanks!