full of … these

apache + mod_ssl, 12263 error

Posted: March 13th, 2008 | Author: | Filed under: fun, howto, linux | Tags: , , , , , | 2 Comments »

Recently I wanted to enable https on a opensuse 10.2 server. After generating certificates using easy-rsa from openvpn package, and installing them in apache’s config I got an 12263 error in firefox.

Searching logs didn’t help: only messages about “Invalid method in request \x16\x03\x01“.

Googling for about 30-40 minutes didn’t help but i have found the following link:

http://en.opensuse.org/Apache_Howto_SSL

where, at the end of the page says:

to check your vhost setup, use "httpd2 -S -DSSL"

Cause: client speaks HTTPS, server speaks HTTP. If that happens to be port 443, it means that the server is listening on the port but not with SSL.

I went in apache’s config from sysconfig (/etc/sysconfig/apache2) and I have added “SSL” like below:

APACHE_SERVER_FLAGS="SSL"

and it worked :).