Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to disable hostname verification without disabling the certificate validation #1126

Closed
scholzj opened this issue Jul 7, 2018 · 0 comments

Comments

@scholzj
Copy link
Contributor

scholzj commented Jul 7, 2018

The configuration options kubernetes.trust.certificates / KUBERNETES_TRUST_CERTIFICATES makes it possible to disable the validation of server certificates and it also disables the validation of the hostname where the client is connecting against the hostnames listed in the certificate.

However in some cases it might be useful to disable the only hostname verification. For example because the user has valid certificates but is just using an incorrect hostname because of some network tunnelling etc. In such case disabling the validation completely would be too strong and unnecessary and all what would be needed is to disable the hostname validation.

scholzj added a commit to scholzj/kubernetes-client that referenced this issue Jul 7, 2018
iocanel added a commit that referenced this issue Jul 11, 2018
Add new option to disable hostname verification - Closes #1126
rohanKanojia pushed a commit to rohanKanojia/kubernetes-client that referenced this issue Aug 28, 2018
rohanKanojia pushed a commit to rohanKanojia/kubernetes-client that referenced this issue Aug 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant