I have read that the general solution to this issue is to add
NameVirtualHost *:80
and
NameVirtualHost *:443
to the VirtualHosts. However Apache 2.4 tells me:
AH00548: NameVirtualHost has no effect and will be removed in the next release
I have no idea what to do:
My ports.conf:
Listen 80
<IfModule ssl_module>
Listen 443
</IfModule>
<IfModule mod_gnutls.c>
Listen 443
</IfModule>
Adding
<IfModule mod_ssl.c>
Listen 443
</IfModule>
instead of the ssl_module section above does not change a thing.
My VirtualHost looks like
<VirtualHost *:443>
ServerAdmin me@name.tdl
ServerName www.example.org
DocumentRoot /var/www/htdocs/mw/
...
<IfModule mod_ssl.c>
SSLEngine on
SSLCertificateFile /etc/letsencrypt/live/example.org/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/example.org/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/example.org/chain.pem
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 EDH+aRSA RC4 !aNULL !eNUL$
</IfModule>
...
</VirtualHost>
I have no idea why it is so painful to add a VirtualHost for SSL. I believe to have followed the instructions.
Thanks for your time.