I have set up ALB which is listening on both HTTP and HTTPS. But the issue here is HTTP tariff is fetching a proper response and where as HTTPS is
What could be causing this?
Note:
I have added the same certificate to another lb and it is working fine. to test I opened all the traffic and still getting it.
Could anyone help me with this?
When you add SSL certificate to the ALB, you should be using your own domain for which the SSL certificate has been issued.
If you use AWS provided default domain for the ALB, you will get this error, since the SSL certificate does not match the AWS domain. Also you have no control over that domain and you can't get the SSL certificate for it.
You can try to setup redirect action from aws provided domain to your domain on the alb. One example of doing this is shown in:
Such rule would be something like below: