New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Please help cwp wont start with SSL error

Started by NukeSter, October 18, 2017, 08:35:12 PM

Previous topic - Next topic

NukeSter

Quote[root@srv1 ~]# service cwpsrv start
Starting cwpsrv: 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)
                                                           [FAILED]
I get this error and cwp wont start.


Please help.

24x7servermanagement

Generate the new SSL certificate for hostname using this command.

sh generate_hostname_ssl
https://www.24x7servermanagement.com/
Server Management, Server Security, Server Monitoring.
India's Leading Managed Service Provider !!

xjlin0

Quote from: 24x7servermanagement on October 19, 2017, 06:11:59 AM
Generate the new SSL certificate for hostname using this command.

sh generate_hostname_ssl

Thanks I run the command.  Even it complains failed to create symbolic link, the CWP panel site is back after restart cwpserv, and the original installed site for end_users are running fine with their https/SSL

Quote$ sudo service cwpsrv start
Redirecting to /bin/systemctl start cwpsrv.service

xjlin0

#3
Taking it back ..... the regeneration of new SSL certificate now makes the site SSL (generated by AutoSSL) invalid.

How can I resolve it? thanks for the suggestion.

mydomain.org  => main SSL  (invalid)
other.mydomain.org (subdomain from alias)  ==> another SSL (still good)