AdamP
AdamP

Reputation: 207

Configuring HTTPS on AWS Elastic Beanstalk / Rails

I have deployed a Rails app to AWS Elastic Beanstalk. My setup works fine over HTTP, but I am having difficulty setting up HTTPS access.

I have created a SSL certificate using ACM and set my load balancer to listen to port 443. So I have ports 80 and 443 listening over HTTPS, and both pointing to instance port 80. I have made sure my security group allows HTTPS.

With this new configuration, requests do not seem to get through to the server. Have I missed something here?

Many thanks

EDIT: added ELB listeners image

ELB Listeners

Upvotes: 1

Views: 583

Answers (1)

7urkm3n
7urkm3n

Reputation: 6311

EB instance port is listening 80 by default. After save, make sure using https://.

Also, if using EB url for to check https, certificate will not load. You need to CNAME into yr domain name.

enter image description here

Upvotes: 3

Related Questions