Kong Ingress Controller HTTPS AWS ACM

Hi guys, I have a problem with HTTPS connections when i pass the annotation of AWS to use my certificate on ACM service.
When I try to connect in my NLB using http request I received the return from kong running on my eks cluster, but when I try the https request i received erro 400:

400 Bad Request The plain HTTP request was sent to HTTPS port

This is my code, sry, I can’t put it in the post.

This is my code from service kong-proxy:
apiVersion: v1
kind: Service
metadata:
annotations:
service.beta.kubernetes.io/aws-load-balancer-backend-protocol: tcp
service.beta.kubernetes.io/aws-load-balancer-type: nlb
service.beta.kubernetes.io/aws-load-balancer-ssl-cert: [my-certificate]
service.beta.kubernetes.io/aws-load-balancer-ssl-ports: "443"
service.beta.kubernetes.io/aws-load-balancer-proxy-protocol: '*'
name: kong-proxy
namespace: kong
spec:
ports:

  • name: proxy
    port: 80
    protocol: TCP
    targetPort: 8000
  • name: proxy-ssl
    port: 443
    protocol: TCP
    targetPort: 8443
    selector:
    app: ingress-kong
    type: LoadBalancer

Can u can help me with ideas? Thx!


© 2019 Kong Inc.    Terms  •  Privacy  •  FAQ