Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SSL Error

Status
Not open for further replies.

ValleyWeb

Technical User
Feb 17, 2008
7
US
Hi all,

I am running an Apache server with OpenSSL and I am getting an ssl error that is driving me nuts.... Whenever someone tries to access the page they get the error

Secure Connection Failed

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.

I get this error in Firefox. Opera, Chrome and IE all give errors.....

Anyone have a clue how to fix this?

Thanks in advance!
Jim
 
With ssl the server doesn't get the domain name from the header so name based addressing won't work. You will need to use ip based addressing. If you only have one ssl vhost however, you can use something like <VirtualHost _default_:443>. I tried the link above to see the error for myself but I got the regular http page.
 
The error code has to do with a mistake in the Apache configuration. When initially attempting to activate the SSL, I encountered the same problem. Unfortunately, I am having trouble remembering what the cause was.

Look into the following:

1 - Have you included a listen:443?
2 - Do you have ssl.conf and ssl.load included in the mods-enabled?
3 - In your website declaration, do you have SSLEngineOn?
4 - Do you have a .crt and .key file and do you declare these in the website?

If the above fails, google the term, "Error code: ssl_error_rx_record_too_long" and try the things listed in the forums that this will point you to. That is ultimately what I did.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top