• Home »
  • Errors »
  • NGINX – SSL received a record that exceeded the maximum permissible length

NGINX – SSL received a record that exceeded the maximum permissible length

When configuring NGINX with SSL the configuration stated you could have the listen parameter followed by IP:PORT. Initially I attempted to put the below.

Incorrect NGINX SSL Port Configuration:

listen 127.0.0.1:443;

This caused an error when attempting to visit localhost via HTTPS. The error was “SSL received a record that exceeded the maximum permissible length” followed by ssl_error_rx_record_too_long. This may be related to only listening on 127.0.0.1 or the localhost so in my case I simply changed the configuration line to the below.

Correct NGINX SSL Port Configuration:

listen 443;

The IP address defaults to localhost and SSL was working without this error after modifying this line.

Nginx HTTP Server (Paperback)

By (author): Clément Nedelcu


List Price: $44.99 USD
New From: $42.72 USD In Stock
Used from: $35.44 USD In Stock


List Price: $34.99 USD
New From: $10.00 USD In Stock
Used from: $1.36 USD In Stock

Share