OpenSearch/modules
Jay Modi dbbdcea128
Update ciphers for TLSv1.3 and JDK11 if available (#42082)
This commit updates the default ciphers and TLS protocols that are used
when the runtime JDK supports them. New cipher support has been
introduced in JDK 11 and 12 along with performance fixes for AES GCM.
The ciphers are ordered with PFS ciphers being most preferred, then
AEAD ciphers, and finally those with mainstream hardware support. When
available stronger encryption is preferred for a given cipher.

This is a backport of #41385 and #41808. There are known JDK bugs with
TLSv1.3 that have been fixed in various versions. These are:

1. The JDK's bundled HttpsServer will endless loop under JDK11 and JDK
12.0 (Fixed in 12.0.1) based on the way the Apache HttpClient performs
a close (half close).
2. In all versions of JDK 11 and 12, the HttpsServer will endless loop
when certificates are not trusted or another handshake error occurs. An
email has been sent to the openjdk security-dev list and #38646 is open
to track this.
3. In JDK 11.0.2 and prior there is a race condition with session
resumption that leads to handshake errors when multiple concurrent
handshakes are going on between the same client and server. This bug
does not appear when client authentication is in use. This is
JDK-8213202, which was fixed in 11.0.3 and 12.0.
4. In JDK 11.0.2 and prior there is a bug where resumed TLS sessions do
not retain peer certificate information. This is JDK-8212885.

The way these issues are addressed is that the current java version is
checked and used to determine the supported protocols for tests that
provoke these issues.
2019-05-20 09:45:36 -04:00
..
aggs-matrix-stats Only create final MatrixStatsResults on final reduction (#39205) 2019-02-21 14:18:45 -05:00
analysis-common Bump 7.x branch to version 7.2.0 2019-05-01 13:38:57 -04:00
ingest-common Add HTML strip processor (#41888) 2019-05-09 13:01:07 +02:00
ingest-geoip Remove -Xlint exclusions in the ingest-geoip module. (#40629) 2019-04-01 16:21:07 +02:00
ingest-user-agent convert modules to use testclusters (#40804) 2019-04-04 11:45:40 +03:00
lang-expression Upgrade to Lucene release 8.0.0 (#39998) 2019-03-13 18:11:50 +01:00
lang-mustache Default include_type_name to false in the yml test harness. (#38058) 2019-02-01 11:44:13 -08:00
lang-painless Refactor TransportSingleShardAction to serialize Writeable responses (#41985) (#42040) 2019-05-09 22:08:31 -07:00
mapper-extras Bump 7.x branch to version 7.2.0 2019-05-01 13:38:57 -04:00
parent-join Deprecate using 0 value for `min_children` in `has_child` query (#41555) 2019-04-26 21:00:11 +02:00
percolator Remove -Xlint exclusions in the percolator module. (#40372) 2019-03-26 07:55:02 +01:00
rank-eval [Docs] Fix common word repetitions (#39703) 2019-04-25 20:47:47 +02:00
reindex Update ciphers for TLSv1.3 and JDK11 if available (#42082) 2019-05-20 09:45:36 -04:00
repository-url Async Snapshot Repository Deletes (#40144) (#41571) 2019-04-26 15:36:09 +02:00
transport-netty4 Correct spelling of MockLogAppender.PatternSeenEventExpectation (#41893) 2019-05-07 17:28:51 +01:00
build.gradle convert modules to use testclusters (#40804) 2019-04-04 11:45:40 +03:00