0
votes

I have and Application Load Balancer (AWS) that has 2 EC2 as targets. I am also using Route 53 to route my domain name to my load balancer. So all http requests to my domain name works, but my https request fails. I do not understand why. I have done the following:

  1. I created a domain name in route53 and have been issued with a SSL/TLS certificate through AWS Certificate manager.
  2. For my load balancer I set up listener for https:443 and attached the above certificate with it.
  3. The security group for my ec2 instances allow http and https requests (although I believe the load balancer ec2 target will communicate using http)

I am totally out of ideas. I have read the aWS documentation, done what they have instructed and I am not able to make https request. Please can someone advise?

Result of https request:

"(red triangle)Not secure https(crossed out)" - this appears in the browser. but it connects anyway.

2
What does "fails" mean in this context? Can't connect? Bad certificate?stdunbar
please se updatejohnDoe
Can you share a url or domain name?stdunbar
You are accessing it by entering your custom domain name in your browser, correct? Not by the load balancer's DNS name.Mark B
correct i am using my custom domain. please see above reply to @stdunbarjohnDoe

2 Answers

0
votes

If you’re trying to access via lifescienceecosystem.eu, without www or another sub-domain then you’ll get this error. You’ll need to reissue your cert for lifescienceecosystem.eu and *.lifescienceecosystem.eu (or www.lifescienceecosystem.eu if you only want www).

0
votes

Can you clarify the following points

  1. Have you configured your certificate in the load balancer (ELB)?
  2. How you have configured your ELB to route HTTPS requests? 443 to port 80 of your EC2 OR 443 to 443 of your EC2?