I just started having trouble with this after using EasyApache to update to Apache 2.4.9. Self-signed SSL certs were working fine before that, on 2.4.7 and before. Deleting the self-signed certs resolves the apache start issue. I always use WHM's SSL tools, so I'm not setting anything up manually for any of this. My SSL certs work for years, and then I update to Apache 2.4.9 and then they don't work. I have a 3rd party signed certificate for my server domain, and then two self-signed certs on two other domains.
After adding a self-signed certificate via the WHM SSL tools, the SSL domain works temporarily (apparently apache just reloads but doesn't do a full restart). This warning shows up in the log at that time:
But when doing a full restart of apache, it won't startup again, with this error in the logs:
Deleting the SSL config from WHM's SSL Management resolves the issue and Apache starts properly again.
I just checked for a Cpanel update, and there is no update for the RELEASE tier, so I'm on WHM 11.42.0 (build 23). Apache is built with PHP5, DSO, mod_ruid2.
- - - Updated - - -
I should note that my main server certificate is fine throughout this. I just can't add any self-signed certificates, or Apache won't restart.
Can anyone else duplicate this?
After adding a self-signed certificate via the WHM SSL tools, the SSL domain works temporarily (apparently apache just reloads but doesn't do a full restart). This warning shows up in the log at that time:
Code:
[Tue Apr 01 14:21:35.000801 2014] [ssl:warn] [pid 24921] AH01906: 123domain.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
Code:
[Tue Apr 01 14:21:36.000698 2014] [ssl:emerg] [pid 24922] AH02562: Failed to configure certificate 123domain.com:443:0 (with chain), check /var/cpanel/ssl/installed/certs/123domain_com_daaab_509a3_1427922863_9947ad6b02ca51d7df5521b4806b4043.crt
[Tue Apr 01 14:21:36.000770 2014] [ssl:emerg] [pid 24922] SSL Library Error: error:0906D06C:PEM routines:PEM_read_bio:no start line (Expecting: DH PARAMETERS) -- Bad file contents or format - or even just a forgotten SSLCertificateKeyFile?
[Tue Apr 01 14:21:36.000785 2014] [:emerg] [pid 24922] AH00020: Configuration Failed, exiting
I just checked for a Cpanel update, and there is no update for the RELEASE tier, so I'm on WHM 11.42.0 (build 23). Apache is built with PHP5, DSO, mod_ruid2.
- - - Updated - - -
I should note that my main server certificate is fine throughout this. I just can't add any self-signed certificates, or Apache won't restart.
Can anyone else duplicate this?