I've been attempting to install a Let's Encrypt certificate for the admin panel for CWP7 and here's the steps I've followed:
First I attempted to follow this guide: http://wiki.centos-webpanel.com/hostname-ssl-with-letsencrypt
(Including the YouTube video)
It appears that a few file names might be wrong, because the video wants the file /usr/local/apache/conf.d/vhosts-hostname.conf edited, but in the Video, it's showing the edit of /usr/local/apache/conf.d/vhosts.conf through the admin page.
So as a test I setup my admin virtual host through the admin page (i.e. vhosts.conf) per the video with proper host.hostname.com entries/IP and then I installed the Let's Encrypt Cert, followed by checking my admin panel server page for SSL and that appeared functional on port 443. The next stage was to add the ability to use the cert on port 2031.
The guide indicates to make changes to: /usr/local/cwpsrv/conf.d/cwp-ssl.conf
The file cwp-ssl.conf didn't exist, so I created the file with the proper entries and then attempted to restart CWP, that lead this error:
Redirecting to /bin/systemctl restart cwpsrv.service
Job for cwpsrv.service failed because the control process exited with error code. See "systemctl status cwpsrv.service" and "journalctl -xe" for details.
After searching, making adjustments based on other attempts discovered online and so forth, it appeared this wasn't going work and then I noticed ALL the guides and videos I've been reading/viewing were related to CWP (v6) and not CWP7 - does anyone have a guide and/or advice on setting up the admin page (port 2031) using the Let's Encrypt certs.
FWIW, it seems that any changes made to cwp-ssl.conf lead to a restart error.