When I update the server with new SSL certificates, and restart httpd, I get errors :
[root@umedealer conf]# service httpd restart
Stopping httpd: [FAILED]
rm: cannot remove `/usr/local/apache2/bin/httpd/logs/httpd.pid': Not a directory
Starting httpd: [FAILED]
[root@umedealer conf]# /usr/bin/apachectl -f /usr/local/apache2/conf/extra/httpd-ssl.conf
AH00526: Syntax error on line 48 of /usr/local/apache2/conf/extra/httpd-ssl.conf:
Invalid command 'SSLCipherSuite', perhaps misspelled or defined by a module not included in the server configuration
[root@umedealer conf]#
This is a customised installation. The SSLCertificateFile, Key File & Chain File are all put in the directory called "/app/UmobileSSL".
These files are pointed to in the file named /usr/local/apache2/conf/extra/httpd-ssl.conf :
SSLCertificateFile "/app/UmobileSSL/wildcard.u.com.my.crt"
SSLCertificateKeyFile "/app/UmobileSSL/wildcard.u.com.my.key"
SSLCertificateChainFile "/app/UmobileSSL/intermediate_ca.crt"
However, when I restart apache after installing the certificates, I get the error mentioned above. I tried with both the commands above.
I googled for solutions, and the solution given was to make sure that the lines :
> LoadModule ssl_module modules/mod_ssl.so
> Include conf/extra/httpd-ssl.conf
are NOT commented out in httpd.conf. I have checked this file, and the 2 lines above are indeed not commented out.
I have also checked that the mod_ssl.so module is indeed present in the "modules" directory (/usr/local/apache2/modules).
How do I resolve the errors above?