Author Topic: Starting cwpsrv: cwpsrv: [emerg] SL_CTX_use_PrivateKey_file("/etc/pki/tls/privat  (Read 250 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Quote
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)

How to fix this ?

Offline
*
I had the same error after creating a subdomain for my hostname and generating a letsencrypt-ssl forit.I was ableto resolve that error by logging in as root via ssh and running

Code: [Select]
root@hostname# ./scripts/generate_hostname_ssl
then

Code: [Select]
root@hostname# systemctl start cwpsrv.service
That got cwpsrv.service running, however after that httpd.service didn't want to start, so right now i'm going to try a couple things to get that going (rebuild vhosts, etc). But atleast I'm able to access cwp-admin now.

Best of luck, I'll update this when I find the fix for httpd.service