Author Topic: Cwpsrv couldn't start due to ssl  (Read 1135 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Cwpsrv couldn't start due to ssl
« 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)
« Last Edit: October 17, 2017, 11:32:08 AM by canmese »

Offline
*****
Re: Cwpsrv couldn't start due to ssl
« Reply #1 on: October 18, 2017, 06:06:27 AM »
run this command :
Code: [Select]
sh generate_hostname_ssl

Offline
*
Re: Cwpsrv couldn't start due to ssl
« Reply #2 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.

Offline
*
Re: Cwpsrv couldn't start due to ssl
« Reply #3 on: October 24, 2017, 03:51:59 AM »
t any site...and you can simply whitelist the rules causing you