SUSE Support

Here When You Need Us

Error: ssl_error_rx_record_too_long when trying to turn on SSL for Apache

This document (7012859) is provided subject to the disclaimer at the end of this document.

Environment

Apache
SUSE Linux Enterprise Server 10
SUSE Linux Enterprise Server 11

Situation

Browser returning Error: ssl_error_rx_record_too_long  when attempting to view website over https.
 
For example, load browser, in the address bar, enter the url as follows: https://<ip_or dns_name> , hit <enter>
Page displays: ssl_error_rx_record_too_long

Resolution

Often times this error is seen with Apache, when port 443 has been enabled (i.e. by adding a vhost-ssl.conf file), but SSL itself has NOT yet been loaded and enabled.
 
Open the /etc/sysconfig/apache2 file and look for the APACHE_MODULES= line, and make sure that ssl is in the list of modules (if ssl is not part of the list, go ahead and add it just before the closing quotes).  Here's an example:
 
APACHE_MODULES="actions alias auth_basic authn_file authz_host authz_groupfile authz_default authz_user
authn_dbm autoindex cgi dir env expires include log_config mime negotiation setenvif ssl suexec userdir php5 jk proxy proxy_ajp"
 
Notice ssl in the line.  (NOTE: the position here is NOT important)
 
Next look for the Line APACHE_SERVER_FLAGES = "" and make sure the value between the quotes is SSL as follows:
APACHE_SERVER_FLAGS="SSL"

 
Save the changes and run rcapache2 restart.

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7012859
  • Creation Date: 16-Jul-2013
  • Modified Date:03-Mar-2020
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.