[ 
https://issues.apache.org/jira/browse/GEODE-8070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17101740#comment-17101740
 ] 

Bruce J Schuchardt commented on GEODE-8070:
-------------------------------------------

Another problem with this method is that it doesn't throw an exception if it 
can't find one of the specified protocols but, instead, falls into the 
"knownAlgorithms" code.  That seems wrong.

> rework handling of "any" in SSLUtils
> ------------------------------------
>
>                 Key: GEODE-8070
>                 URL: https://issues.apache.org/jira/browse/GEODE-8070
>             Project: Geode
>          Issue Type: Bug
>          Components: membership
>            Reporter: Bruce J Schuchardt
>            Priority: Major
>
> SSLUtil has a list of "known" TLS protocols.  It should support TLSv1.3.
>  
> {noformat}
> // lookup known algorithms
> String[] knownAlgorithms = {"SSL", "SSLv2", "SSLv3", "TLS", "TLSv1", 
> "TLSv1.1", "TLSv1.2"};
> for (String algo : knownAlgorithms) {
>   try {
>     sslContext = SSLContext.getInstance(algo);
>     break;
>   } catch (NoSuchAlgorithmException e) {
>     // continue
>   }
> } {noformat}
> We probably can't fully test this change since not all JDKs we test with 
> support v1.3 at this time.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to