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
Encrypt communication using self-signed certificate #169
Conversation
There is one test failing in one of the builds which is not related to this PR
I don't have the permissions to re-run it so I can confirm that it was a random thing. |
I'm not sure what |
The hooks are ensuring that About the |
But you are not clearing them (the environment variables), you just save them in additional variables.
We should have the proper test here, Kafka server should send a certificate signed by self-signed CA (I guess it does this already) and the no-kafka test should have I can look into this and make a test a bit later. |
@oleksiyk right! I missed the cleanup while creating the PR, I wrote the tests without it and checked the travis.yml later. Sorry about that, I can fix it now.
Great! I can take a look and see if I can setup this. |
I tested this using docker before and it worked. Today I deployed to our staging environment and it is working fine. |
@oleksiyk how can I help you to get this merged? |
Can you please update README.md to mention new SSL |
@tulios what's blocking us from merging this? |
Hi, it's missing an update in the README. I completely forgot about this, I will do it today and see if we can get this merged. Thanks for the reminder 😃 |
@oleksiyk Can you review the PR again, I've updated the readme. Thanks |
This PR fixes issue #168
It adds the
ssl.ca
option:It also accepts
process.env.KAFKA_CLIENT_CA