After installing the SSL certificate, when connecting to the server using a browser, the following error message may appear: “Failed to establish a secure connection. Error connecting to <server-name>. SSL received a record that exceeded the maximum allowable length. SSL_error_rx_record_too_long. ”
Cause
The web server sends insecure HTTP data that expects secure HTTPS data. This can be confirmed by going to the address “http: // server-name: 443” instead of “https: // server-name”. A valid web address is very important.
SSL_error_rx_record_too_long: setting permissions
, , SSL . Apache Tomcat -, .
, Apache Tomcat:
Apache , Listen <port> VirtualHost - (Engine On, CertificateFile <_>) VirtualHost - .
Tomcat , server.xml SSL ( = «https» secure = «true», keystoreFile keystorePass) , , , . (8443), URL- . Tomcat , . .
ssl error rx record too long.
ssl_error_rx_record_too_long - HTTPS. .
, :
Port 443 must be open and accessible on the web server.
Firefox 3 may show this error when using a different port than 443.
Apache 2.x must be configured to use port 443.
The ssl_error_rx_record_too_long message may occur when using a proxy server that is configured incorrectly.