While trying to configuring Nginx with ssl I got error saying that “ssl_error_rx_record_too_long“.
After debugging about the issue, following change in configuration file resolved the issue:
In my nginx.conf file I have written as:
I changed above configuration as following:
listen 443 ssl;
After changing configuration I restarted Nginx and it worked without any issue.