Mental Jetsam

By Peter Finch

  •  

    March 2009
    M T W T F S S
    « Feb   Apr »
     1
    2345678
    9101112131415
    16171819202122
    23242526272829
    3031  
  • My del.icio.us links

  • Flickr Photos

    S5001187

    S5001169

    S5001136

    More Photos
  • Wordpress Stuff

Firefox HTTPS error ssl_error_rx_record_too_long

Posted by pcfinch on March 11, 2009

I just had an interesting problem when accessing a HTTPS (SSL) service in Firefox. I got the following error message.

SSL received a record that exceeded the maximum permissible length.
(Error code: ssl_error_rx_record_too_long)

It turned out the the HTTPS service (on port 443) was not actually a HTTPS service and it was configured as a normal HTTP service. The initial connection from the browser was communicating in HTTPS, and expecting a security certificate, but instead it was getting back the normal HTTP “Bad Request” HTML. A confusing error message, but an easy problem to fix.

3 Responses to “Firefox HTTPS error ssl_error_rx_record_too_long”

  1. Hi Peter!

    What was your fix to this problem?

    I’m having the same issue but haven’t found a way to fix it.

    Tks

  2. dwight said

    I hit this on my debian installation. If you look in /etc/apache2/sites-available and sites-enabled/, make sure that if there is a “default-ssl” in the ‘available’ directory, that it’s also linked in the ‘enabled’ directory. Until I did this, I was getting the error.

    basically, apache is listening on port 443, but doesn’t know that it’s supposed to be using SSL on that port, until you configure it to do so.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>