Control Web Panel

WebPanel => SSL => Topic started by: glorency on April 19, 2018, 11:14:47 AM

Title: Secure your Webmail with Letsencrypt SSL Certificate , 100% Working
Post by: glorency on April 19, 2018, 11:14:47 AM
Hello Guys,

To secure your webmail with Green SSL bar , just follow the steps below describe

1. Follow the Link http://forum.centos-webpanel.com/ssl/install-letsencrypt-ssl-certificate-for-your-server-hostnamefqdn-100-working/

2. Go to "/usr/local/cwpsrv/conf.d/" and open
#vi webmail.conf

server {
    listen       2096;
    server_name  localhost;

    ssl                 on;
    ssl_session_timeout  90m;
    ssl_certificate     /etc/letsencrypt/live/server1.datahead.biz/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/server1.datahead.biz/privkey.pem;
    ssl_protocols       TLSv1 TLSv1.1 TLSv1.2;
    ssl_ciphers         HIGH:!aNULL:!MD5;
    ssl_prefer_server_ciphers   on;


save & exit .

3. Restart your centos webpanel .

4. Now Check https://server1.datahead.biz:2096/



Title: Re: Secure your Webmail with Letsencrypt SSL Certificate , 100% Working
Post by: nattapon_c on May 22, 2020, 02:52:10 PM
How to config alias webmail access with ssl ?

 i want to access webmail is url :  https://mail.mydomain.com   with letsencrypt
How to config is file location ?
Title: Re: Secure your Webmail with Letsencrypt SSL Certificate , 100% Working
Post by: rcschaff on May 22, 2020, 03:12:43 PM
This is built in now.  In cwp, search ssl on the left.  Find your domain.  Check all 4 boxes (mail, cpanel, webmail, ftp).  Request the cert