SSL received a record that exceeded the maximum permissible length

| October 14, 2011 | 0 Comments

Getting the error while trying to access secure page from apache. This is how the Error looks like

An error occurred during a connection to
SSL received a record that exceeded the maximum permissible length.
(Error code: ssl_error_rx_record_too_long)
The page you are trying to view can not be shown because the authenticity of the received data could not be verified.
Please contact the web site owners to inform them of this problem. Alternatively, use the command found in the help menu to report this broken site.

Check apache error logs

tail -F /var/log/httpd/error.log

[Thu Oct 09 22:17:59 2011] [error] [client] Invalid method in request x16x03x01

This happens due to misconfiguration in virtual host for ssl. This error is due to a misconfiguration of VirtualHost with SSL. The server is trying to respond to a request on port 443 for a host of IP not existing on this server.

It can be either

Check for
Usually this is defined in

Or the problem is that your server is using this default or the server is not matching your virtual
host’s IP at all. For SSL to work you must match the virtual host by IP address not name.
[Apache2_mod_vhost_alias_ssl|Named virtual host won't work with SSL].

  • Digg
  • Facebook
  • Twitter
  • Google Bookmarks
  • LinkedIn
  • RSS

No related posts.

Category: Linux, Software

Leave a Reply