Skip to content

Conversation

dangogh
Copy link

@dangogh dangogh commented Mar 9, 2020

This fixes #109 by adding a -tls option to indicate to use tls for authentication to the kafka server without also requiring mutual authentication between server and client.

@dangogh
Copy link
Author

dangogh commented Mar 9, 2020

didn't realize how long this has been idle...

@dangogh dangogh closed this Mar 9, 2020
@fgeller
Copy link
Owner

fgeller commented Mar 10, 2020

@dangogh hi there - sorry for the delay, i focused on family for the past 2.5 years, but have been resuming github work since yesterday. give me a few days and i'll get back to you on this.

@dangogh
Copy link
Author

dangogh commented Mar 10, 2020 via email

@fgeller
Copy link
Owner

fgeller commented Mar 16, 2020

hi @dangogh -- if i get this right, than all you're trying to setup is an empty tls config that somehow enables 1-way tls with kafka? mind testing it if i add that to the current setup?

@fgeller
Copy link
Owner

fgeller commented Mar 16, 2020

i'm about to cut a release and was wondering if i should include this change - but i've made some changes to the way auth works with kt so i'd be happy to add these changes, just need a tester 😁

@dangogh
Copy link
Author

dangogh commented Mar 16, 2020

@fgeller yes -- an empty tls.Config tells it to connect to the server using TLS, but not require the server to verify the client. I have tested this change with my environment and it works well. I think this ought to be included..

@dangogh dangogh reopened this Mar 16, 2020
@fgeller
Copy link
Owner

fgeller commented Mar 16, 2020

@dangogh
sweet - thanks for getting back to me to quickly! i'll push a commit for you to build and test shortly!

@dangogh
Copy link
Author

dangogh commented Mar 16, 2020

not sure I'll be able to get to it today or tomorrow w/ work targets, but I'll try to get to it when I can..

fgeller added a commit that referenced this pull request Mar 16, 2020
@fgeller
Copy link
Owner

fgeller commented Mar 16, 2020

fair enough! i'll cut the release optimistically then -- assuming this doesn't break any functionality for anyone else. please let me know if you do run into any issues once you get around to testing it 👍

thanks again for your patience! i'll close this pr, adding the above commit was easier for me - i hope that's ok

@fgeller fgeller closed this Mar 16, 2020
@dangogh
Copy link
Author

dangogh commented Mar 16, 2020 via email

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

Successfully merging this pull request may close these issues.

Don't require client authentication if kafka configured not to require it
2 participants