Apache2 doesn't always declare the SSL or SSL_ENABLED environment variables when being restarted; comment out the <IfDef SSL> and related tags in your virtual-host declaration. Besides, you should want a hard error if SSL is not available and you want an SSL service provided.
Comments
On my Oracle Application server with this error, I only had to comment out the <IfDef..> tags and force SSL to load. #<IfDefine SSL> LoadModule ossl_module libexec/mod_ossl.so <VirtualHost _default_:443> ServerName ssl.example.com ... </VirtualHost> #</IfDefine>
SSL received a record that exceeded the maximum permissible length. This error is related to not adding the port information into default and ssl, as the server is trying to serve from both ports and gets confused. You will also see from console the following errors. warn? NameNameVirtualHost? *:0 has no VirtualHosts?s warn? NameNameVirtualHost? *:0 has no VirtualHosts?s Edit Both the SSL config file and default config file. change the default file From NameVirtualHost? * <VirtualHost? *> To NameVirtualHost? *:80 <VirtualHost? *:80> change the ssl file from NameVirtualHost? * <VirtualHost? *> ServerAdmin? webmaster@localhost To NameVirtualHost? *:443 <VirtualHost? *:443> SSLEngine On SSLCertificateFile /etc/apache2/ssl/apache.pem ServerAdmin? webmaster@localhost
On apache2 with Debian : sudo ln -sfn /etc/apache2/sites-available/default-ssl /etc/apache2/sites-enabled/default-ssl John Pigeret
Help me with the solution of the above problem...
Works http://www.jsptube.com
Error code: ssl_error_rx_record_too_long Your SSL website may fail to load and display the error Error code: ssl_error_rx_record_too_long This usually means 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. Below are some things we recommend trying. - Ensure that port 443 is open and enabled on your server. This is the standard port for https communications. - If SSL is using a non-standard port then FireFox 3 can sometimes give this error. Ensure SSL is running on port 443. - If using Apache2 check that you are using port 443 for SSL. This can be done by setting the ports.conf file as follows — clip — Listen 80 Listen 443 https — clip — - Make sure you do not have more than one SSL certificate sharing the same IP. Please ensure that all SSL certificates utilise their own dedicated IP. - If using Apache2 check your vhost config. Some users have reported changing <VirtualHost> to _default_ resolved the error.
Hi there, been trying to log into the site of the company I work for all day but keep getting this message: Secure Connection Failed An error occurred during a connection. SSL received a record that exceeded the maximum permissible length. (Error code: ssl_error_rx_record_too_long) * The page you are trying to view cannot be shown because the authenticity of the received data could not be verified. * Please contact the web site owners to inform them of this problem. Alternatively, use the command found in the help menu to report this broken site. Any ideas what this is? Is it a fault on their part or mine? Thanks.
I was getting the same error "(Error code: ssl_error_rx_record_too_long)" in tomcat6 and later found out that in server.xml, inside the "<Connector port="443"...." there needs to be a flag (SSLEnabled="true") which was missing. Adding it there resolved the issue. Just thought of mentioning it here which might be useful for someone with the same problem in future.
You should also try 'sudo a2ensite default-ssl' and restart apache2