Hi,
Why is my SSL vhost not working?
The Errormsg I get is "The Port used (443) for the VirtualHost www.mysurface.shop is not a Listen port"
But it is defined as a listen port.
The 3 SSL modules are activated, the keys are in place.
this is the vhost.conf
<VirtualHost *:80>
DocumentRoot "c:/wamp64/www/foo"
ServerName www.foo.com
ServerAlias foo.com
<Directory "c:/wamp64/www/foo/">
Require local
</Directory>
</VirtualHost>
<VirtualHost *:443>
ServerName www.foo.com
ServerAlias foo.com
<Location />
Require local
Require ip xxx
Require ip xxx
</Location>
DocumentRoot "c:/wamp64/www/foo"
<Directory "c:/wamp64/www/foo/">
Require all granted
Options +Includes +FollowSymLinks
AllowOverride All
</Directory>
SSLEngine on
SSLCertificateFile "path"
SSLCertificateKeyFile "path"
SSLCertificateChainFile "path"
</VirtualHost>
httpd-ssl.conf
Listen 0.0.0.0:443 https
Listen [::0]:443 https
#Listen 443
httpd.conf
#Listen 0.0.0.0:443
#Listen [::0]:443
Listen 0.0.0.0:80
Listen [::0]:80
Why is my SSL vhost not working?
The Errormsg I get is "The Port used (443) for the VirtualHost www.mysurface.shop is not a Listen port"
But it is defined as a listen port.
The 3 SSL modules are activated, the keys are in place.
this is the vhost.conf
<VirtualHost *:80>
DocumentRoot "c:/wamp64/www/foo"
ServerName www.foo.com
ServerAlias foo.com
<Directory "c:/wamp64/www/foo/">
Require local
</Directory>
</VirtualHost>
<VirtualHost *:443>
ServerName www.foo.com
ServerAlias foo.com
<Location />
Require local
Require ip xxx
Require ip xxx
</Location>
DocumentRoot "c:/wamp64/www/foo"
<Directory "c:/wamp64/www/foo/">
Require all granted
Options +Includes +FollowSymLinks
AllowOverride All
</Directory>
SSLEngine on
SSLCertificateFile "path"
SSLCertificateKeyFile "path"
SSLCertificateChainFile "path"
</VirtualHost>
httpd-ssl.conf
Listen 0.0.0.0:443 https
Listen [::0]:443 https
#Listen 443
httpd.conf
#Listen 0.0.0.0:443
#Listen [::0]:443
Listen 0.0.0.0:80
Listen [::0]:80