Control Web Panel

WebPanel => CentOS 6 Problems => Topic started by: canmese on October 17, 2017, 11:11:45 AM

Title: Cwpsrv couldn't start due to ssl
Post by: canmese on October 17, 2017, 11:11:45 AM
Hello,
After installation of the latest update, cwp was suddenly stop and then when I try to start the cwpsrv, I receive the below error. How can i fix it?
Quote
Starting cwpsrv: cwpsrv:  SL_CTX_use_PrivateKey_file("/etc/pki/tls/private/hostname.key") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/pki/tls/private/hostname.key','r') error:20074002:BIO routines:FILE_CTRL:system lib error:140B0002:SSL routines:SSL_CTX_use_PrivateKey_file:system lib)
Title: Re: Cwpsrv couldn't start due to ssl
Post by: Sandeep on October 18, 2017, 06:06:27 AM
run this command :
Code: [Select]
sh generate_hostname_ssl
Title: Re: Cwpsrv couldn't start due to ssl
Post by: canmese on October 18, 2017, 06:32:50 AM
I solved the problem by deleting all the crt and key files. Now, i need to setup ssl again for dovecot.
Title: Re: Cwpsrv couldn't start due to ssl
Post by: Yokohamasobo on October 24, 2017, 03:51:59 AM
t any site...and you can simply whitelist the rules causing you