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 :).


2 Comments on “apache + mod_ssl, 12263 error”

  1. 1Alexander Herrmann said at 1:36 am on March 26th, 2008:

    Unfortunatly this is not my solution to the same problem. The line in question is allready in my /etc/sysconfig/apache2
    Guess I have to google on.

  2. 2paul said at 2:09 am on March 26th, 2008:

    Try using dummy certificate, or one generated with easy_rsa from openvpn package.


Leave a Reply