I am trying to create an IngressRouteTCP to expose my mail server web UI. Mail server handles his own tls servers so a tls passthrough seems logical. Here is my ingress:
- match: "HostSNI(`mail.devusta.com`)"
- name: mailinabox
However, if you access https://mail.devusta.com it shows self signed certificate from traefik. Shouldn't it be not handling tls if passthrough is enabled?
PS: I am learning traefik and kubernetes so more comfortable with Ingress. Is it possible to use tcp router with Ingress instead of IngressRouteTCP? An example would be great.
Hi @aleyrizvi! Did you ever get this figured out? I'm running into the exact same problem now.
Last time I did a TLS passthrough the tls part was out of the routes you define in your ingressRoute.
This was my ingressRoute 3 month ago:
- match: HostSNI(`api.mageekbox.eu`)
- name: foobar-api-svc
Hope this would work for you.
Finally looping back on this. @NEwa-05 - you rock! That worked perfectly! I'm not sure what I was messing up before and couldn't get working, but that does the trick. Thank you!
Bit late on the answer, but good to know it works for you