-
Notifications
You must be signed in to change notification settings - Fork 111
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
Documentation on enabling SSL missing #315
Comments
Hello @aby040, sorry for the late reply! Is this settings for a ZooKeeper client? I don't recognize these, and they look like some ZooKeeper server settings. Do you have any more info about these? |
I think I have found something for the Java client actually: https://cwiki.apache.org/confluence/display/zookeeper/zookeeper+ssl+user+guide Not sure if this is implemented in the C client, though. |
Hi, Can this be documented? How are the parameters for enabling SSL be specified? |
I don't think the parameters are supported in the C based client (that this library is built on top of as a Node.js AddOn). But if OpenSSL is available on the machine, it will build the AddOn with SSL (on Linux). Not sure it this answers your question @Megabyte516 though, this is an area that I haven't much knowledge in. To try it out on a Mac or Windows locally, you can delete the |
Thanks for the quick answer, although to be honest I do not understand it. What does it mean in this context "build with SSL"? I am just a user, and what I wanted to now is what I need to do to use zookeeper client to access a ZooKeeper server that is SSL enabled, obviously involving server/client keystores, passwords, etc. If a client "supports" SSL, it should provide a way of communicating these to server in order to be (mutually) authenticated? |
Sorry, I should have explained it further! A Node.js app that has I haven't found anything about the keystore configurations in the docs or the source code of the C client. However, the docs for the C Client are very minimalistic and I think some of it also is outdated. The only SSL related thing I know of is that if I would very much appreciate help with investigating this. My guess is that it isn't added in the C client, but if it is we would probably need to add support for it in this repo too (probably a minor thing to do). |
Maybe there's a clue here: apache/zookeeper#1107 |
There's likely something missing here in this repo, the config passed on from |
Documenting some findings here, the C client has two ways of initialization - one with and one without SSL: This should be implemented in the AddOn wrapper too, currently only without SSL: |
Unfortunately, I haven't been able to solve this. The reason is that I don't fully understand the underlying C Client and how it should have the proper preprocessor directives set. To summarize, currently there is no support in this client for SSL. I will update the docs about this. |
Could not find any documentation or guide on how to configure the below values in the client
etc. Can someone help solve this?
The text was updated successfully, but these errors were encountered: