New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSCache and CWP CageFS at no extra cost with all CWPpro licences. The LSCache plugin is integrated into our WordPress and other script installers, and CWP CageFS gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Cannot start apache

Started by bolado, April 27, 2018, 07:57:53 PM

Previous topic - Next topic

bolado

When I try to start apache it shows: Starting httpd: [FAILED]

I looked at the error_log and it shows this:

[Fri Apr 27 14:54:06.516332 2018] [ssl:emerg] [pid 24482:tid 139785491539776] AH02561: Failed to configure certificate server.bolado.cloud:443:0, check /etc/pki/tls/certs/server.bolado.cloud.cert
[Fri Apr 27 14:54:06.516432 2018] [ssl:emerg] [pid 24482:tid 139785491539776] SSL Library Error: error:0906D06C:PEM routines:PEM_read_bio:no start line (Expecting: CERTIFICATE) -- Bad file contents or format - or even just a forgotten SSLCertificateKeyFile?
[Fri Apr 27 14:54:06.516451 2018] [ssl:emerg] [pid 24482:tid 139785491539776] SSL Library Error: error:140AD009:SSL routines:SSL_CTX_use_certificate_file:PEM lib
AH00016: Configuration Failed


can you please help me to fix that?

cubehost

You have a bad ssl certificate, or configuration, for the domain "server.bolado.cloud"

You need to fix the ssl for that domain and then start httpd.

Administrator

since this looks like hostname certificate issue you can try to fix it like this

sh /scripts/generate_hostname_ssl

if that doesn't help then you can manually edit mentioned file/files in the error.