Skip to content

Commit cf46a69

Browse files
Wording
1 parent fd672df commit cf46a69

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/main/java/com/rabbitmq/client/NullTrustManager.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ public class NullTrustManager implements X509TrustManager {
3535

3636
public NullTrustManager() {
3737
LoggerFactory.getLogger(NullTrustManager.class).warn(
38-
"This trust manager trusts every certificate, making peer hostname verification disabled. " +
38+
"This trust manager trusts every certificate, effectively disabling peer verification. " +
3939
"This is convenient for local development but prone to man-in-the-middle attacks. " +
40-
"Please see http://www.rabbitmq.com/ssl.html#validating-cerficates to validate server certificates."
40+
"Please see http://www.rabbitmq.com/ssl.html#validating-cerficates to learn more about peer certificate validation."
4141
);
4242
}
4343

src/main/java/com/rabbitmq/client/TrustEverythingTrustManager.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ public class TrustEverythingTrustManager implements X509TrustManager {
2929

3030
public TrustEverythingTrustManager() {
3131
LoggerFactory.getLogger(TrustEverythingTrustManager.class).warn(
32-
"This trust manager trusts every certificate, making peer hostname verification disabled. " +
32+
"This trust manager trusts every certificate, effectively disabling peer verification. " +
3333
"This is convenient for local development but prone to man-in-the-middle attacks. " +
34-
"Please see http://www.rabbitmq.com/ssl.html#validating-cerficates to validate server certificates."
34+
"Please see http://www.rabbitmq.com/ssl.html#validating-cerficates to learn more about peer certificate validation."
3535
);
3636
}
3737

0 commit comments

Comments
 (0)