Solved: SSL_Error_rx_record_too_long

Better Stack Team
Updated on May 4, 2022

Problem

SSLErrorrxrecordtoo_long error message in the browser when loading your website.

Cause of the problem

The usual cause is that the implementation of SSL on your server is not correct. The error is usually caused by a server-side problem which the server administrator will need to investigate.

Solution

Here are steps to take when troubleshooting this error:

  1. Make sure that the 443 port is open on your system. This is essential as it is the default port for HTTPS communication
  2. Make sure that SSL is running on port 443. If SSL is running on the nonstandard port, the Firefox browser may throw this error.
  3. Make sure that you don't have more than one SSL certificate sharing the same IP address. Ensure that all SSL certificates utilize their own dedicated IP.
  4. If using Apache2, check your host config and make the following change if necessary: set the <VirtualHost> to the _default_

Make your mark

Join the writer's program

Are you a developer and love writing and sharing your knowledge with the world? Join our guest writing program and get paid for writing amazing technical guides. We'll get them to the right readers that will appreciate them.

Write for us
Writer of the month
Marin Bezhanov
Marin is a software engineer and architect with a broad range of experience working...
Build on top of Better Stack

Write a script, app or project on top of Better Stack and share it with the world. Make a public repository and share it with us at our email.

community@betterstack.com

or submit a pull request and help us build better products for everyone.

See the full list of amazing projects on github