I've just updated Apache to 2.4.3 on my AWS instance (running Linux AMI). After the update finished, Apache crashed with the following:
Starting httpd: AH00526: Syntax error on line 5 of /etc/httpd/conf.d/ssl.conf:
Cannot define multiple Listeners on the same IP:port
I went into the above file and commented out line 5: #Listen 443
, because the new httpd.conf
contains a line where the above listener is already set:
httpd.conf:
40 ...
41 #Listen 12.34.56.78:80
42 Listen 80
43 Listen 443
44
45 ...
My question is, if I configure SSL certificates individually in my VirtualHost's config files, could I just comment out every line in the httpd/conf.d/ssl.conf? I mean is it still important to have it included? And why Apache 2.4.3 sets Listen 443
twice?
Thanks!