I created application load balancer and assigned a target group which contains two EC2 instances, i am using only https traffic to flow through ALB as i am using SSL certificate from ACM but my target group health check fails. So far i done the following
- index.html is in root dir /var/www/html
- apache is running as i can hit the server ip to view the web page
- http works perfectly fine using ALB
- 443 instance shows unhealthy
- Same ssl certificate when i used in classic load balance worked fine to route SSL traffic, so the certificate is fine Something going wrong in application load balancer only
- security group allows 443 traffice for both instances and ALB.
- Same instance if i put in http target group becomes healthy
- Both ec2 if i remove from http target group and assign to ssl target group becomes unhealthy
Thanks