Control Web Panel
WebPanel => SSL => Topic started by: Yun 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...
-
use auto ssl from ssl category
-
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?