Ssl – How to set Load Balancers onto EC2 (installed Apache with SSL)

amazon ec2amazon-elbapache-2.2sslssl-certificate

I am running several EC2 instances behind ELB load balancers.
Can I insert my SSL certificate into Apache server without insert my cert into the load balancers?

How should I set for the load balancers? Change the rules of security groups or something else?

Best Answer

Yes. That's possible.

To do the same, at the Load Balancer level, use TCP as the Load Balancer Protocol instead of HTTPS. Use the port 443 as Load Balancer port as well as the Instance Port.

If you use the HTTPS then you have to provide with the SSL details, but simply passing it through with TCP will work perfectly.

I am doing the same in my setup.