Load balancer HTTPS to EC2 instance through HTTP

0

I'm a bit confused as to why things are not really working out here.

I have set up an AWS load balancer of type 'classic'. As a test I've set it up so that it listens to two EC2 instances running on port :8090, and I am currently getting the '2 of 2 instances in service' when looking at the load balancer information (HTTP health check on port :8090). For the load balancer listeners I have it set up in the following way:

  1. Load balancer protocol HTTP on port 8090 -> Instance protocol HTTP on port 8090
  2. Load balancer protocol HTTPS on port 443 -> Instance protocol HTTP on port 8090 with a certificate currently stored in the IAM

The security setting the for load balancer is accepting connections on 8090 and 443 while the security setting for the EC2 instances is accepting all connections from the load balancer.

Browsing to the load balancer on port :8090 properly returns the the application GUI that is running on the EC2 instance, port 8090. Browsing to the load balancer on port :443 however, simply gives me an ERR_EMPTY_RESPONSE. What am I missing here?

All help is much appreciated!

// Jimmy

Edited by: JimmyLarsson on Nov 20, 2019 9:52 AM

Just me being silly trying to connect to it incorrectly, it works as expected...

Edited by: JimmyLarsson on Dec 2, 2019 8:49 AM

已提问 4 年前882 查看次数
1 回答
0

Realized there was no problem, just me trying to connect to it by typing [DNS]:443 instead of https://[DNS] in the browser...

已回答 4 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则