walterddr commented on code in PR #9940:
URL: https://github.com/apache/pinot/pull/9940#discussion_r1044606246


##########
pinot-tools/src/main/java/org/apache/pinot/tools/perf/QueryRunner.java:
##########
@@ -157,6 +165,12 @@ public boolean execute()
       return false;
     }
 
+    if (_useTLS) {
+      SSLContext ctx = SSLContext.getInstance("TLS");
+      ctx.init(new KeyManager[0], new TrustManager[]{new 
DefaultTrustManager()}, new SecureRandom());
+      SSLContext.setDefault(ctx);
+    }

Review Comment:
   instead i think what's possible is when trustManager is null in 
   `TlsUtils.installDefaultSSLSocketFactory`
   we pass in the default TrustManager. although I am not sure if that poses 
any side-effect. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to