Skip to content

Document client TLS properties for HTTP[S]-based peer discovery mechanisms #567

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

Open
michaelklishin opened this issue Aug 9, 2018 · 5 comments
Assignees

Comments

@michaelklishin
Copy link
Contributor

michaelklishin commented Aug 9, 2018

Several peer discovery plugins use HTTP to communicate with their services and there is currently no clear explanation in the docs as to how to configure client TLS options (certificate, private key, verification depth, SNI target and so on) for HTTPS, which leads to questions such as rabbitmq/rabbitmq-peer-discovery-consul#14.

Even before https://github.com/rabbitmq/rabbitmq-peer-discovery-common/issues/6 is addressed a doc example can be provided since it is possible to configure httpc via the advanced.config file.

@haiyangu
Copy link

If we use rabbitmq-peer-discovery-k8s, and want to configure the default cipher suites, can this be configured in asvanced.config?

@michaelklishin
Copy link
Contributor Author

@haiyangu this is not a support forum.

As the issue states, it comes down to Erlang HTTP client (httpc) configuration which supports all the same options as other TLS clients (and servers) in Erlang.

@rabbitmq rabbitmq locked and limited conversation to collaborators Aug 17, 2018
@lukebakken
Copy link
Collaborator

it is possible to configure httpc via the advanced.config file

This doesn't appear to be the case, see rabbitmq/rabbitmq-peer-discovery-common#9

@michaelklishin
Copy link
Contributor Author

This is done for etcd (which no longer is HTTP1.1-based) but we have found out that some code changes may be necessary to make this easy for other mechanisms.

@lukebakken lukebakken self-assigned this Jul 4, 2024
@lukebakken
Copy link
Collaborator

These settings need to be documented as well:

rabbitmq/rabbitmq-server#5155

A user ran into an issue with a CA cert in this discussion: docker-library/rabbitmq#709

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants