Author Topic: After change hostname, "service cwpsrv start" -> failed.  (Read 6811 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
After change hostname, "service cwpsrv start" -> failed.
« 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]

Offline
*
Re: After change hostname, "service cwpsrv start" -> failed.
« Reply #1 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.