I installed CWP on my server without any issues. I was able to access it, adjusted the security settings, and when I applied AutoSSL to my domains and restarted the server, the CWP service no longer starts. Here are the error messages:
[root@server ~]# 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.
[root@server ~]# systemctl status cwpsrv.service
● cwpsrv.service - CentOS Web Panel service (daemon)
Loaded: loaded (/usr/lib/systemd/system/cwpsrv.service; enabled; vendor preset: disabled)
Active: activating (auto-restart) (Result: exit-code) since Sat 2023-12-30 13:12:46 -03; 3s ago
Process: 90930 ExecStartPre=/usr/local/cwpsrv/bin/cwpsrv -t (code=exited, status=1/FAILURE)
[root@server ~]# journalctl -xe
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- A unidade cwpsrv.service está sendo iniciada.
dez 30 13:15:29 server.phinfo.com.br cwpsrv[91184]: cwpsrv: [warn] he "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /usr/local/cwpsrv/conf.d/api.conf:8
dez 30 13:15:29 server.phinfo.com.br cwpsrv[91184]: cwpsrv: [emerg] annot load certificate "/etc/pki/tls/certs/hostname.bundle": PEM_read_bio_X509_AUX() failed (SSL: error:0906D06C:PEM routines:PEM_read_bio:no>
dez 30 13:15:29 server.phinfo.com.br cwpsrv[91184]: cwpsrv:configuration file /usr/local/cwpsrv/conf/cwpsrv.conf test failed
dez 30 13:15:29 server.phinfo.com.br systemd[1]: cwpsrv.service: Control process exited, code=exited status=1
dez 30 13:15:29 server.phinfo.com.br systemd[1]: cwpsrv.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- The unit cwpsrv.service has entered the 'failed' state with result 'exit-code'.
dez 30 13:15:29 server.phinfo.com.br systemd[1]: Failed to start CentOS Web Panel service (daemon).
-- Subject: A unidade cwpsrv.service falhou
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- A unidade cwpsrv.service falhou.
--
-- O resultado é failed.
dez 30 13:15:29 server.phinfo.com.br kernel: Firewall: *TCP_IN Blocked* IN=eno1 OUT= MAC=08:94:ef:4f:8d:7c:b4:8a:5f:50:68:50:08:00 SRC=80.82.70.133 DST=177.234.149.165 LEN=40 TOS=0x00 PREC=0x00 TTL=245 ID=6970>