Dave's Brain

Browse - Computer Tips - Why is Firefox giving "hostname has sent an incorrect or unexpected message. Error code -12263".

Date: 2008jan30

Q. Why is Firefox giving "<hostname> has sent an incorrect or unexpected message. Error code -12263".
I setup SSL with Apache.
It looks OK but when I browse to my site with Firefox I get that error.
What's up?

A.  Your browser is talking SSL but your site isn't.  As proof try
going to port 443 (the SSL port) using a regular (unencrypted) connection:

http://www.example.com:443 (Replace www.example.com with the actual name of your host, of course)
You'll probably see your site fine. The problem is this line in your /etc/httpd/conf.d/ssl.conf file:
<VirtualHost _default_:443>
Its not acting as you would expect. Instead its doing nothing. So everything inside the <VirtualHost> is ignored! Change it to the actual name of your host.
<VirtualHost www.example.com:443>
And it'll work.

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.