Author Topic: Hostname SSL with Letsencrypt after Upgrade  (Read 9241 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Hostname SSL with Letsencrypt after Upgrade
« on: April 19, 2017, 02:05:31 PM »
After upgrade of my CWP6 hostname SSL with Letsencrytp don't work. I have tried some combinations, at last I got it.
May be help you..

I have referenced CWP Wiki http://wiki.centos-webpanel.com/hostname-ssl-with-letsencrypt
But Wiki info is need some update according to CWP7 and CWP6 upgrade.

Change in 1st step:
/usr/local/apache/htdocs/   --> /usr/local/cwpsrv/htdocs/admin       Change the "DocumentRoot" and "Directory". Save and restart Apache.

2nd Step is same... (maybe most of them already did before)

Change in 3rd Step:
go to /usr/local/cwpsrv/conf/cwpsrv.conf and change it like below;

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

        ssl                 on;
        ssl_session_timeout 90m;
        ssl_certificate     /etc/letsencrypt/live/host.hostname.com/cert.pem;
        ssl_certificate_key /etc/letsencrypt/live/host.hostname.com/privkey.pem;
        ssl_protocols       TLSv1 TLSv1.1 TLSv1.2;
        ssl_ciphers         HIGH:!aNULL:!MD5;
        ssl_prefer_server_ciphers   on;
.
.
.

Save and 'service cwpsrv restart'

That's it. It was worked for me. Good luck...

Offline
*****
Re: Hostname SSL with Letsencrypt after Upgrade
« Reply #1 on: April 20, 2017, 10:46:21 AM »
use auto ssl from ssl category

Offline
*
Re: Hostname SSL with Letsencrypt after Upgrade
« Reply #2 on: April 29, 2017, 07:39:13 AM »
Thanks Yum, worked a treat!

They keep referring us to Auto SSL but my experience is that this produces a self signed cert that throws up browser warnings & who would want that?
Web Design, Development & Web Hosting
https://6sense.com.au