ijokarumawak commented on a change in pull request #3404: [WIP] NIFI-5176 Java 
11 Build Compatibilty
URL: https://github.com/apache/nifi/pull/3404#discussion_r302396442
 
 

 ##########
 File path: 
nifi-commons/nifi-site-to-site-client/src/main/java/org/apache/nifi/remote/client/SiteToSiteClient.java
 ##########
 @@ -888,7 +888,7 @@ public SSLContext getSslContext() {
             if (keyManagerFactory != null && trustManagerFactory != null) {
                 try {
                     // initialize the ssl context
-                    final SSLContext sslContext = 
SSLContext.getInstance("TLS");
+                    final SSLContext sslContext = 
SSLContext.getInstance("TLSv1.2"); // FIXME TLSv1.3 not working under Java 11, 
setting explicitly to TLSv1.2 works.
 
 Review comment:
   Asking a question on httpcomponent user ML..

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to