Wednesday, August 1, 2018

ssl - How to add HTTPS to Elastic Load Balancer?



I'm using boto to create an Apache http server that "hides" behind an AWS Elastic Load Balancer (ELB).
However, the ELB DNS address is functional only when I specify port 80 (http) in its security group. As soon as I add port 443 (https), I cannot get to content served by the Apache server.



Can anyone point to documentation/examples on how to add support for HTTPS to ELB?
(bonus points for information on how to use self signed SSL certificates).


Answer



Here is the AWS documentaion for setting up HTTPS/SSL Load Balancer:
http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/US_SettingUpLoadBalancerHTTPS.html


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...