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

Jacob Barrett commented on GEODE-8070:
--------------------------------------

Interesting... Using the string "Default" actually gave back the singleton 
{{Default}}? Very unexpected. Guess we go back to that known list method, just 
in newest to oldest order. I still think "any" needs to be treated in order 
though. 

> 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