This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
SSL / Re: Secure CWP Admin Panel Port 2031
« on: September 09, 2018, 05:25:30 PM »If you have a domain.com which is assigned to your IP(DNS: A Record) you can use:
For CentOS 6:
http://forum.centos-webpanel.com/ssl/certbot-installation-and-requesting-certificate-(centos-6)/
For CentOS 7:
http://forum.centos-webpanel.com/ssl/certbot-installation-and-requesting-certificate-(centos-7)/
Create SSL Certificate and Key with one of this manuals and replace in /usr/local/cwpsrv/conf/cwpsrv.conf:Code: [Select]ssl_certificate /etc/pki/tls/certs/hostname.crt;
with this:
ssl_certificate_key /etc/pki/tls/private/hostname.key;Code: [Select]ssl_certificate /etc/letsencrypt/live/YOUR-DOMAIN.COM/fullchain.pem;;
Once done, don`t forget to restart cwpsrv with:
ssl_certificate_key /etc/letsencrypt/live/YOUR-DOMAIN.COM/privkey.pem;Code: [Select]service cwpsrv restart
You are done. Now navigate to https://YOUR-DOMAIN.COM:2031 and you are supposed to have a GREEN bar and secured site.
Something like this:
Have fun. Hope it helps.
This solved the problem, thanks.
Pages: [1]