• Register
0 votes

Problem :

I had to remove a +CompatEnvVars from following :

SSLOptions +FakeBasicAuth +ExportCertData +CompatEnvVars +StrictRequire

As it said it was an invalid command or something. So having removed that and following a instructions to a nail it get below error:

SSL received a record that exceeded the maximum permissible length.
(Error code: ssl_error_rx_record_too_long)

I am very new to SSL, any advice on what is going wrong?

7 5 2
3,870 points

1 Answer

0 votes

Solution :

I had also experienced this issue. For me it appeared when some of the erroneous code was trying to redirect to the HTTPS on port 80.

Example :


By removing a port 80 from a url, the redirect works.

HTTPS by default runs over the port 443.


In my case the Ubuntu system, in ports.conf I had as below:

NameVirtualHost *:80
Listen 80

And then, inside it , I had as below:

NameVirtualHost *:443
Listen 443

All I had to do was just remove a line NameVirtualHost Restarted my apache and problem solved.


In my case I just copied a ssl config from another machine and had a wrong IP in <VirtualHost wrong.ip.addr.here:443>. Changed the IP to what it should be, just restarted httpd and my site loaded over SSL as expected.

9 7 4
38,600 points

Related questions

1 vote
1 answer 46 views
Problem : I am very new to wget. Currently I want to wget to my current box but I am facing below error: wget http://example.com --2013-03-01 15:03:30--  http://example.com/ Resolving example.com... Connecting to example.com||:80... ... it and tried to find solution on it. But unable to do so as I am very new to wget. I need expert help to fix by above wget error.
asked Apr 16 stewart 4k points
0 votes
2 answers 80 views
Problem : I am trying to use the XAMPP and also started Apache but I cannot access my site over the HTTPS. I am facing the below error : [Mon Dec 16 08:05:33.208723 2019] [ssl:warn] [pid 3784:tid 256] AH01909: RSA certificate configured for www.example ... RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name What is wrong and how can I correct it?
asked Dec 17, 2019 alecxe 7.5k points
0 votes
1 answer 242 views
Problem : I am trying to call an SSL protected web service running on JDK7 based client, but getting bellow error javax.net.ssl.sslexception received fatal alert unexpected_message
asked Nov 5, 2019 peterlaw 6.9k points
0 votes
2 answers 321 views
Problem : Has anyone faced this error before? I am new to SSL javax.net.ssl.sslexception: received fatal alert: protocol_version
asked Nov 2, 2019 peterlaw 6.9k points