CWP SRV ( CWP PANEL)
Starting cwpsrv : [emerg] SL_CTX_use_PrivateKey_file(“/etc/pki/tls/private/hostname.key”) failed (SSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch)
This means that you have conflict in your cwp srv or mismatch on your information’s this can cause changing your hostname
if you trying to change your hostname while your sites and cwp already works and your primary domain name it can cause this issue..
we find a fix ..
login to your root via ssh
and
write ./scripts/generate_hostname_ssl
than start cwpsrv.service
by the way you can find (generate_hostname_ssl) in /usr/local/cwpsrv/htdocs/resources/scripts/generate_hostname_ssl
official website for centos web panel click here
If this tutorial ( fix ) don’t help you please feel free to contact us via our
Our portfolio link