Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

Disabling TLS #162

Open
FabioAntunes opened this issue Aug 3, 2020 · 5 comments
Open

Disabling TLS #162

FabioAntunes opened this issue Aug 3, 2020 · 5 comments

Comments

@FabioAntunes
Copy link

FabioAntunes commented Aug 3, 2020

Hey folks, is there a way to disable tls on the pod level?
I want my aws load balancer to be responsible for the tls, terminating the tls and inside the cluster I just want to use http.

@JoshVanL
Copy link
Contributor

JoshVanL commented Aug 3, 2020

Hi @FabioAntunes, disabling secure serving is not an option. You will need to either enable TCP pass through on your load balancer, or instead allow TLS communication from the LB -> Proxy.

@FabioAntunes
Copy link
Author

FabioAntunes commented Aug 3, 2020

Thanks for the quick response, if disabling TLS is not an option is there a way to make this work with traefik?

I'm getting the following:

http: TLS handshake error from 10.50.58.251:49444: remote error: tls: bad certificate

That IP address is from one of my traefik pods. Any clues?

Thanks in advance

@JoshVanL
Copy link
Contributor

Sorry for the slow reply!

You'll need to add the serving CA that kube-oidc-proxy is using, as a trusted CA to traefik.

@tete17
Copy link

tete17 commented Sep 12, 2021

Hey @JoshVanL can I get a clarification.

You mentioned that disabling tls is not an option. Did you mean it is currently supported by the project, because the flags/options haven't been implemented or is it because there is an underlying technical reason the api can't be exposed through pure http (other than security of course) for an external proxy to handle tls like @FabioAntunes mentions. I think that case is a pretty typical scenario

@artazar
Copy link

artazar commented Sep 24, 2021

+1 for this option
it would be nice to use it with https ingress and terminate ssl on upper level

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants