I had a redirect at the top of my apache 2 httpd-ssl.conf and I got the SSL_ERROR_RX_RECORD_TOO_LONG error.
Turns out you must have an entry that activates the SSLEngine first.
So instead of:
<VirtualHost _default_:443>
ServerName www.servername.com
Redirect / https://servernname.com/
</VirtualHost>
<VirtualHost _default_:443>
DocumentRoot /home/servername/webstuff
ServerName servername.com
SSLEngine on
[.....]
</VirtualHost>
the top of your file should have the entries reversed like:
<VirtualHost _default_:443>
DocumentRoot /home/servername/webstuff
ServerName servername.com
SSLEngine on
[.....]
</VirtualHost>
<VirtualHost _default_:443>
ServerName www.servername.com
Redirect / https://servername.com/
</VirtualHost>
There’s usually a dummy-entry for /usr/local/apache/htdocs on top that turns the SSL Engine on, but I had that deleted…
Hope this helps - there’s tons of sh*t on the web concerning this error.