How to configure SSL in a Amazon Elastic Beanstalk

2019-08-20 20:14发布

I would like to provide a configuration file in .ebextension/ folder that would allow my EC2 Elastic Beanstalk instance to reply HTTPS.

I am using 64bit Amazon Linux 2017.03 v2.4.4 running PHP 7.0 Elastic Beanstalk.

How can I configure my server to enable HTTPS using configuration files?

1条回答
Summer. ? 凉城
2楼-- · 2019-08-20 20:22

Don't try to fight AWS best practices. To use HTTPS with Elastic Beanstalk configure the certificate in AWS Certificate Manager and assign it to Elastic Beanstalk's load balancer.

http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/configuring-https.html

查看更多
登录 后发表回答