[
https://issues.apache.org/jira/browse/GEODE-8070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17104895#comment-17104895
]
ASF subversion and git services commented on GEODE-8070:
--------------------------------------------------------
Commit 92b2bc7e5f6691f2e24b522c03c8399d0db252c3 in geode's branch
refs/heads/develop from Bruce Schuchardt
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=92b2bc7 ]
GEODE-8070: rework handling of "any" in SSLUtils (#5075)
* GEODE-8070: rework handling of "any" in SSLUtils
Rewrite of the sslContext location method to fix these problems:
requesting a specific but non-existent protocol would not result in an
exception
requesting "any" (the default) would result in a less-secure protocol
than is actually available (e.g., SSL instead of TLSv1.2)
I also changed processing so that if "any" is in the list but none of
the default protocols are available we continue to search through the
provided list. For instance, {X, any, Y} would result in a search for Y
if X and all of the default protocols cannot be found.
* updated documentation for ssl-protocols and ssl-ciphers
* updated documentation for ssl-protocols and ssl-ciphers
* fixing docs
> 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
> Assignee: Bruce J Schuchardt
> Priority: Major
> Fix For: 1.14.0
>
>
> 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)