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 {
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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments