In order to setup SSL, a user must add a cluster property which enables HTTPS instead of HTTP. This property is used to create the base_url which is stored for every node in the cluster.
The above works fine if we assume that a user decides to enable SSL before creating the cluster. However, if a user with an existing cluster wants to start using SSL, he will need to manually edit his cluster state to switch the protocol stored inside base_url for every node from http to https. If we remove the protocol from the base_url, a user can shutdown the cluster, setup the certificates, add the cluster property and start the cluster thereby re-using the same cluster state which existed without manual modifications.
Alternately, an extension to zkcli can be provided to change the cluster state. Thoughts?