I have an EC2 instance set up with a load balancer with the following security group rules enter image description here

and a load balancer that forwards requests for http and https, with a certificate generated by AWS Certificate Managr.

enter image description here

I used route 53 to create an A name record that points to my load balancer DNS name, and an elastic ip that I use for my registrar to use.

I can reach my http site fine (e.g. but not for https.

How do I configure apache/nginx to accept https with the certificate and load balancer i am using?


When you created your target group what protocol did you tell it to use to connect to the targets? Typically even though your ALB may listen on http and https it will connect to your back end servers using one protocol.

Target group

Here it is in the ALB wizard

Target group

Here's where you set up the load balancer to accept http and https


Basically we need a bit more info to fully answer your question, but this should give you some things to look at.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.