Can't access external tls kafka listener using ingress rules #6916
-
I'm facing some issues using ingress with external tls listners. I'm using a single load balancer for my cluster, and playing on the dns names to redirect traffic to the appropriate internal services. Here is my KafkaCluster configuration:
After creating the cluster, I can see that ingress are being created correctly:
Same with the services:
When trying to test the access via the kafkacat tool, I got the following result:
Noting that when I use the external service name directly (without specifying the domain name), the connection is made without problems:
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
I don't know what the errors means as I don't use kafkacat. A good start is to use |
Beta Was this translation helpful? Give feedback.
-
Thanks for the reply, here is the message I get using openssl s_client:
Noting that when executing a request with curl, I can see logs on my nginx controller:
|
Beta Was this translation helpful? Give feedback.
-
yes I've forgot to put the https in front of the domain name, here is what I get now with openssl s_client:
Apparently the server is returning the kubernetes fake certificates. |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot @scholzj , that was exactly what was missing. The nginx controller wasn't enabling the SSL passthrough. Here is the config that I added in my helm values file to enable it:
|
Beta Was this translation helpful? Give feedback.
Thanks a lot @scholzj , that was exactly what was missing. The nginx controller wasn't enabling the SSL passthrough.
Here is the config that I added in my helm values file to enable it: