On 26.05.2011 11:10, Issac Goldstand wrote:
> I just upgraded a machine from 2.2.8 to 2.2.19 and suddenly Apache
> wouldn't let me run non-SSL vhosts on port 443. A snippet like below:
>
> <VirtualHost a.b.c.d:443>
> DocumentRoot /home/foo/httpdocs
> ServerName foo
> <Directory "/home/foo/httpdocs/">
> allow from all
> Options +Indexes
> </Directory>
> </VirtualHost>
>
> Suddenly caused the following fatal startup error to be logged:
> [error] Server should be SSL-aware but has no certificate configured
> [Hint: SSLCertificateFile] ((null):0)
>
> Was this an intentional decision made some while ago that I just didn't
> know about or is it a bug?
>
> (I'd personally only expect to see that with an explicit SSLEngine On
> and no certificate/key files configured)
Could it be this entry from the 2.2.12 changelog:
*) Set Listen protocol to "https" if port is set to 443 and no proto is
specified (as documented but not implemented). PR 46066
[Dan Poirier <poirier pobox.com>]
Regards,
Rainer