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

 ##########
 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:
   @ijokarumawak 
   It appears I had tried the new httpclient5 and httpasyncclient dependencies 
initially, but was using JDK 11.0.1 at that point.  Interesting that it was a 
JDK bug!  The tests are working with JDK 11.0.3 (AdoptOpenJDK).

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to