ssl_error_rx_record_too_long – Apache SSL

I faced this error recently while configuring SSL on apache and got really confused. After doing some research figured this out that there was some mis-configurations which was causing the issue.

I checked meaning of this SSL response at http://www.mozilla.org/projects/security/pki/nss/ref/ssl/sslerr.html . Here you can check all the error codes for SSL. This error code says that this error comes when following thing happen.

“This generally indicates that the remote peer system has a flawed implementation of SSL, and is violating the SSL specification.”

I was sure this was not the problem. because i was using the a standard server setup by a reputed service provider so there are very rare chances that we get any faulty implementation installed on system. I did some more search and found that the problem was in Apache configurations which i changed while configuring SSL.

I configured two virtual hosts for same site one for 80 port and one for 443 (SSL port). so SSL got confused. As i removed virtual host for 443 port things worked.

Solution : Check your proxy configurations at apache web server. Please check with no bias and you will get the solution.

Most Commented Posts

If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

Comments

[...] Zobacz reszt? artyku?u: ssl_error_rx_record_too_long – Apache SSL [...]

I had the same issue using Apache Tomcat 6. I fixed by adding protocol=”org.apache.coyote.http11.Http11NioProtocol” to the connector, in server.xml

Leave a comment

(required)

(required)