Author Topic: Please help cwp wont start with SSL error  (Read 8651 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Please help cwp wont start with SSL error
« on: October 18, 2017, 08:35:12 PM »
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.

Offline
**
Re: Please help cwp wont start with SSL error
« Reply #1 on: October 19, 2017, 06:11:59 AM »
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 !!

Offline
*
Re: Please help cwp wont start with SSL error
« Reply #2 on: January 07, 2018, 05:18:17 PM »
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

Offline
*
Re: Please help cwp wont start with SSL error
« Reply #3 on: January 09, 2018, 02:53:25 PM »
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)
« Last Edit: January 09, 2018, 02:57:37 PM by xjlin0 »