Control Web Panel

WebPanel => SSL => Topic started by: y0us3f on April 14, 2017, 10:16:53 AM

Title: Syntax error on line 2 of /usr/local/apache/conf.d/ssl.conf:
Post by: y0us3f on April 14, 2017, 10:16:53 AM
Hello guys,

I got this issue when starting my httpd after updating CWP6Pro

AH00526: Syntax error on line 2 of /usr/local/apache/conf.d/ssl.conf:
Invalid command 'SSLCipherSuite', perhaps misspelled or defined by a module not included in the server configuration
[FAILED]

I had SSL before, but now I'm getting this and apache won't start.

I tried adding LoadModule ssl_module modules/mod_ssl.so but then I get another problem of something 98 already there port 80...

what should I do?

Thanks
Title: Re: Syntax error on line 2 of /usr/local/apache/conf.d/ssl.conf:
Post by: Administrator on April 14, 2017, 08:06:48 PM
edit your file /usr/local/apache/conf.d/ssl.conf and add this into it but delete all old from it

Code: [Select]
<IfModule !ssl_module>
LoadModule ssl_module modules/mod_ssl.so
</IfModule>
Listen 443
SSLProtocol All -SSLv2 -SSLv3
SSLHonorCipherOrder on
SSLCipherSuite ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS

then restart your httpd, if you still get the issue about the ports then you can rebuild vhosts by using rebuild vhosts option in the cwp under "Apache" menu.