I have 2 websites hosted on AWS EC2. I created a single instance and hosted both sites there. I have deployed the SSL for one site by creating the ELB for that.
How can I deploy the SSL on the other site using ACM on the same instance?
How to implement SSL on AWS instance
69 views Asked by baig772 At
2
There are 2 answers
0
On
You can use a single Application Load Balancer for both sites on the same server (or even multiple servers) by configuring your HTTPS listener rules to forward the traffic to specific target group according to the host name.
You won't need to install any SSL certificate on the server itself. The ELB communicates with the server over TCP/IP port 80. You'll need to add a HTTP-to-HTTPS redirect rules in your Web server of course if you don't want to allow insecure connections.
You can simply create a second ELB and assign your second wildcard certificate to it. You can also forward your traffic to the same backend server as the one where the first ELB is forwarding its traffic to.
In this scenario you can do the following:
Hope this helps.