Skip to content

Trying to implement TLS inter-node communication, "bad_cert,hostname_check_failed" #10398

Closed Answered by lukebakken
papan2012 asked this question in Q&A
Discussion options

You must be logged in to vote

Thank you for the mostly complete problem report. It is always good to include software versions when reporting issues. In this case, knowing the Erlang and RabbitMQ version would be nice.

You are using wildcard certificates, which require "special handling" when used with Erlang. Most RabbitMQ users do not use wildcard certs.

If you do this search -

https://www.google.com/search?q=rabbitmq+erlang+wildcard+certificate

...one of the hits is this discussion:

https://groups.google.com/g/rabbitmq-users/c/ylwgLhdTGEw

...which leads to this issue:

vernemq/vernemq#1485

So, your inter_node_tls.config file should be this:

[
  {server, [
    {cacertfile, "/etc/rabbitmq/ssl/ca_cert.pem"},
    {certf…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@daleksic-godaddy
Comment options

Answer selected by lukebakken
Comment options

You must be logged in to vote
1 reply
@lukebakken
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants