Apache SSL error after reboot: Error 107 (net::ERR_SSL_PROTOCOL_ERROR)

Solution 1:

Resolved!!

The setting in ports.conf was:

 <IfModule mod_ssl.c>
     Listen 443
    NameVirtualHost 1.2.3.4:443 # ipv4
    NameVirtualHost 1:2::3:4:5:6:443 # ipv6
 </IfModule>

sites-available/default-ssl was:

<VirtualHost 1.2.3.4:443>
...
...
</VirtualHost>

<VirtualHost 1:2::3:4:5:6:443>
...# same setting as ipv4
...
</VirtualHost>

When I fix this to the following, https works after rebooting!

ports.conf:

 <IfModule mod_ssl.c>
     Listen 443
    NameVirtualHost *:443
 </IfModule>

sites-available/default-ssl:

<VirtualHost *:443>
...
...
</VirtualHost>

Thanks to these two pages although it's not the same problem:

http://ubuntuforums.org/showthread.php?t=806884 http://www.noah.org/wiki/Apache2_Invalid_method_in_request_%5Cx16%5Cx03%5Cx01