I'm getting my Amazon generated SSL terminated on ALB that is put in front of my application that runs on Elastic Beanstalk. Ans the file content is as below:
option_settings:
aws:elbv2:listener:443:
DefaultProcess: https
ListenerEnabled: 'true'
Protocol: HTTPS
SSLCertificateArns: arn:aws:acm:us-east-1:#############:certificate/####################################
aws:elasticbeanstalk:environment:process:https:
Port: '443'
Protocol: HTTPS
Now when I try to access my application I get a "502 Bad Gateway" page instead of my web application.
Can anyone suggest to me where I'm missing out?