Apache2 SSL Error: ssl_error_rx_record_too_long

To fix this you must not use a wildcard domain for your vhost and make sure it’s your actual server ip.

#Wrong:
<VirtualHost _default_:443>
#Right:
<VirtualHost 10.1.1.5:443>

If this doesn’t fix your problem check the following:

  • Did you set, usually done per vhost: SSLEngine on
  • Cert/Key correctly generated

Hope that helps some of you out.

Leave a Reply