Open ssl wrong_version_number istio ingress gateway

Hi team!

I m with a big problem, i have a eks cluster with istio 1.9 using NLB of the AWS, i configured the ssl termination in ingress gateway, but i got this error when when i try access the url with https: “Error: write EPROTO 1941820584:error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER:…/…/third_party/boringssl/src/ssl/tls_record.cc:242:” someone can help me?

Bellow is my gateway and virtual services configuration:

apiVersion: networking.istio.io/v1alpha3

kind: Gateway

metadata:

name: book-gateway

namespace: justcodeplatform-book

spec:

selector:

istio: ingressgateway

servers:

  • port:

    number: 443

    name: https-book

    protocol: HTTPS

    hosts:

    • “book.istio.zup.dev.aws.cloud.ihf”

    tls:

    mode: SIMPLE # enables HTTPS on this port

    credentialName: book.istio.zup.dev.aws.cloud.ihf


apiVersion: networking.istio.io/v1alpha3

kind: VirtualService

metadata:

name: book

namespace: justcodeplatform-book

spec:

hosts:

  • “book.istio.zup.dev.aws.cloud.ihf”

gateways:

  • book-gateway

http:

  • match:

    • port: 443

    route:

    • destination:

      host: productpage.justcodeplatform-book.svc.cluster.local

      port:

      number: 9080