File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/main/java/com/rabbitmq/client Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -35,9 +35,9 @@ public class NullTrustManager implements X509TrustManager {
35
35
36
36
public NullTrustManager () {
37
37
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. " +
39
39
"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 ."
41
41
);
42
42
}
43
43
Original file line number Diff line number Diff line change @@ -29,9 +29,9 @@ public class TrustEverythingTrustManager implements X509TrustManager {
29
29
30
30
public TrustEverythingTrustManager () {
31
31
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. " +
33
33
"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 ."
35
35
);
36
36
}
37
37
You can’t perform that action at this time.
0 commit comments