Skip to content

Commit d7647e7

Browse files
committed
Mention advertised_host (not the TLS entry)
advertised_host entry should be enough, even for TLS.
1 parent 524fb28 commit d7647e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/docs/asciidoc/api.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ include::{test-examples}/EnvironmentUsage.java[tag=environment-creation-with-tls
106106
Checking the identity of the server the client connects to is an important part of the TLS handshake.
107107
To make this work with the stream client library, it is critical the configured trusted certificates match the hosts returned by cluster nodes in the connection hints.
108108
Make sure to read the section on <<understanding-connection-logic, connection logic>>.
109-
You may have to configure the `advertised_tls_host` https://www.rabbitmq.com/blog/2021/07/23/connecting-to-streams#advertised-host-and-port[broker setting] in case of a mismatch between trusted certificates and the default connection hints cluster nodes return.
109+
You may have to configure the `advertised_host` https://www.rabbitmq.com/blog/2021/07/23/connecting-to-streams#advertised-host-and-port[broker setting] in case of a mismatch between trusted certificates and the default connection hints cluster nodes return.
110110

111111
It is sometimes handy to trust any server certificates in development environments.
112112
`EnvironmentBuilder#tls` provides the `trustEverything` method to do so.

0 commit comments

Comments
 (0)