Control Web Panel

WebPanel => CentOS 6 Problems => Topic started by: eguan88 on May 15, 2019, 11:53:01 PM

Title: Apache Server fail to start after auto SSL installation
Post by: eguan88 on May 15, 2019, 11:53:01 PM
Hi, everyone,  I recently tried to enable https on websites hosted on Centos 6 in my vultr VPS

I used CWP to WebServer Setting -> SSL certificates ->Auto SSL to install Let's Encrypt SSL certificates. Right after installation and restart the Apache Server , the dashboard shows the following error message:

Stopping httpd: [  OK  ]
Starting httpd: [Wed May 15 23:47:18.035256 2019] [so:warn] [pid 18049:tid 3078354624] AH01574: module filter_module is already loaded, skipping
[Wed May 15 23:47:18.045833 2019] [so:warn] [pid 18049:tid 3078354624] AH01574: module suphp_module is already loaded, skipping

AH00526: Syntax error on line 4 of /usr/local/apache/conf.d/ssl.conf:
Cannot define multiple Listeners on the same IP:port
[FAILED]




and here's the content of my ssl.conf

<IfModule !ssl_module>
LoadModule ssl_module modules/mod_ssl.so
</IfModule>
listen 443
SSLProtocol All -SSLv2 -SSLv3
SSLHonorCipherOrder on
SSLCipherSuite EECDH+ECDSA+AESGCM:EECDH+aRSA+AESGCM:EECDH+ECDSA+SHA384:EECDH+ECDSA+SHA256:EECDH+aRSA+SHA384:EECDH+aRSA+SHA256:EECDH+aRSA!RC4:EECDH:!RC4:!aNULL:!eNULL:!LOW:!3DES:!MD5:!EXP:!PSK:!SRP:!DSS


However if I comment out  listen 443 , the Apache server would start but it would only listen to port 80, no https available


hope someone could help me out here? thanks in advance
Title: Re: Apache Server fail to start after auto SSL installation
Post by: Igor S. on May 16, 2019, 06:08:48 AM
Hello.

Could you try to reinstall cwp-httpd?
Code: [Select]
yum -y reinstall cwp-httpd