With a little side of applesauce...

Sunday, May 13, 2007

Debian - Apache 2.0 -> 2.2 upgrade - Unexpected error on 443

This was a difficult one to track down. I upgraded from apache 2.0 to apache 2.2 (both Debian packages), and the following errors, (as described in the bug):

Firefox complains: server has sent an incorrent or unexpected message.
Error Code: -12263.

Apache2 error.log shows: [client ip] Invalid method in request
\x16\x03\x01


It all boiled down to a problem with the -DSSL not being passed from the /etc/init.d/apache2 script, to the /usr/sbin/apache2ctl script... As a quick work-around, (until I can really trace it down), I modified the apache2ctl file:

$HTTPD -k $ARGV

To:

$HTTPD -k start -DSSL

No comments: