Control Web Panel

WebPanel => CentOS 6 Problems => Topic started by: parkzaa on April 24, 2017, 12:11:31 PM

Title: [Help] cwp-ssl.conf does not exist CentOS 6
Post by: parkzaa on April 24, 2017, 12:11:31 PM
/usr/local/cwpsrv/conf.d/cwp-ssl.conf does not exist

CentOS 6
Title: Re: [Help] cwp-ssl.conf does not exist CentOS 6
Post by: Yun on April 24, 2017, 01:48:08 PM
I don't know why do you need that file, Maybe it can help you.
Try this link:
http://forum.centos-webpanel.com/ssl/hostname-ssl-with-letsencrypt-after-upgrade/
Title: Re: [Help] cwp-ssl.conf does not exist CentOS 6
Post by: parkzaa on April 24, 2017, 07:31:26 PM
/usr/local/cwpsrv/conf/cwpsrv.conf
should start at line 47

 server {
        listen       2031;
        listen       2087;
        listen       2083;
        server_name  localhost;

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