Shaun Chua
Shaun Chua

Reputation: 713

AWS certificate manager https configuration for domain

I have a slight problem with SSL.

Currently if I were to route to my domain as example.com, it goes to the http version instead of the https version.

However, if I were to force https://example.com, it stays as https://example.com

I'm wondering what I have to do on the certificate manager side of AWS to get https working when I type in example.com without the https.

I have already configured my route 53 aliases for my domain to route to my elastic beanstalk url. I also have an SSL certificate for my domain example.com and *.domain.com that were both validated successfully, that are Amazon issued and also In Use.

Upvotes: 1

Views: 98

Answers (1)

Udara Jayawardana
Udara Jayawardana

Reputation: 1148

Have you tried redirecting http traffic (80) to https (443)? This answer contains the steps

For ALBs, you can follow the below steps,

1.Add lister for https and forward the traffic to the target group

2.Add Lister for http and forward the traffic to https

enter image description here

Final Setup: enter image description here

Upvotes: 1

Related Questions