我的AWS证书未在SSL证书ID下拉列表中显示为选项.我认为这需要强制Elastic Beanstalk使用HTTPS.我正在使用AWS颁发的证书.以下是我所遵循的手册中的步骤.
To assign a certificate to your environment's loadbalancer
1) Open the Elastic Beanstalk console.
2) Navigate to the management console for your environment.
3) Choose Configuration.
4) In the Network Tier section, choose the gear icon next to Load Balancing.
5) In the Load Balancer section, choose your certificate from the SSL certificate ID drop down menu.
Run Code Online (Sandbox Code Playgroud) ssl https amazon-ec2 amazon-web-services amazon-elastic-beanstalk