TLS termination is not working for keycloak

Im using k8 load balancer service ( classic lb ) with acm ssl.

I’m able to access the keycloak on port 80 but on port 443 domain is not working.

This is my lb annotation

service:
type: LoadBalancer
httpsPort: 443
annotations:

    service.beta.kubernetes.io/aws-load-balancer-backend-protocol: "http"
    service.beta.kubernetes.io/aws-load-balancer-ssl-cert: "<cert-id>"
    service.beta.kubernetes.io/aws-load-balancer-ssl-ports: "443"

im using this helm chart codecentric helm chart for keycloak

After doing curl im getting 502 BAD_GATEWAY.

keycloak pod is running port 8080 & 8443 in the backend