Control Web Panel

WebPanel => SSL => Topic started by: erol on July 15, 2017, 07:03:15 PM

Title: After change hostname, "service cwpsrv start" -> failed.
Post by: erol on July 15, 2017, 07:03:15 PM
Hello.

After change hostname, cwp didnt start again. httpd too. I reinstalled httpd and its OK now.

But I saw that cwpsrv is not wotking too.

I change my hostname back to old. But nothing changed. I tried for 1 day. I couldnt find the solve it.

Starting cwpsrv: cwpsrv: [emerg] EM_read_bio_X509_AUX("/etc/pki/tls/certs/hostname.crt") failed (SSL: error:0906D06C:PEM routines:PEM_read_bio:no start line:Expecting: TRUSTED CERTIFICATE)
                                                           [FAILED]
Title: Re: After change hostname, "service cwpsrv start" -> failed.
Post by: erol on July 15, 2017, 07:15:36 PM
solved.

I generated SSL again.

And remove hostname.crt

cp old_hostname.crt hostname.crt

problem solved.