OpenSearch/x-pack/qa
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
..
core-rest-tests-with-security Remove xpack dependencies from qa rest modules (#41134) (7.x backport) (#41202) 2019-04-15 19:14:43 +02:00
evil-tests [Backport] Replace usages RandomizedTestingTask with built-in Gradle Test (#40978) (#40993) 2019-04-09 11:52:50 -07:00
full-cluster-restart Remove xpack dependencies from qa rest modules (#41134) (7.x backport) (#41202) 2019-04-15 19:14:43 +02:00
kerberos-tests disable kerberos test until kerberos fixture is working again 2019-03-29 13:39:15 -07:00
multi-cluster-search-security Remove xpack dependencies from qa rest modules (#41134) (7.x backport) (#41202) 2019-04-15 19:14:43 +02:00
multi-node Remove xpack dependencies from qa rest modules (#41134) (7.x backport) (#41202) 2019-04-15 19:14:43 +02:00
oidc-op-tests Remove op.name configuration setting (#41445) 2019-05-07 19:01:55 +03:00
openldap-tests Use ephemeral ports for idp-fixture (#40333) 2019-03-26 08:44:53 -06:00
reindex-tests-with-security Update ciphers for TLSv1.3 and JDK11 if available (#42082) 2019-05-20 09:45:36 -04:00
rolling-upgrade Security Tokens moved to a new separate index (#40742) 2019-05-01 14:53:56 +03:00
rolling-upgrade-basic Provide names for all artifact repositories (#41857) 2019-05-07 06:35:28 -04:00
rolling-upgrade-multi-cluster Remove xpack dependencies from qa rest modules (#41134) (7.x backport) (#41202) 2019-04-15 19:14:43 +02:00
saml-idp-tests Remove xpack dependencies from qa rest modules (#41134) (7.x backport) (#41202) 2019-04-15 19:14:43 +02:00
security-client-tests Merge branch 'master' into index-lifecycle 2018-08-23 11:52:59 -06:00
security-example-spi-extension Allow custom authorization with an authorization engine (#38358) 2019-02-05 13:39:29 -07:00
security-migrate-tests Testclsuters: convert plugins qa projects (#41496) 2019-04-26 08:57:52 -07:00
security-setup-password-tests Testclusters: support for security and convert example plugins (#41864) 2019-05-08 14:04:00 +03:00
security-tools-tests Avoid sharing source directories as it breaks intellij (#40877) 2019-04-08 17:26:46 +03:00
smoke-test-monitoring-with-watcher Remove xpack dependencies from qa rest modules (#41134) (7.x backport) (#41202) 2019-04-15 19:14:43 +02:00
smoke-test-plugins Remove xpack dependencies from qa rest modules (#41134) (7.x backport) (#41202) 2019-04-15 19:14:43 +02:00
smoke-test-plugins-ssl Add build utility to check cluster health over ssl (#40713) 2019-04-04 21:44:03 +11:00
smoke-test-security-with-mustache Remove xpack dependencies from qa rest modules (#41134) (7.x backport) (#41202) 2019-04-15 19:14:43 +02:00
smoke-test-watcher Remove xpack dependencies from qa rest modules (#41134) (7.x backport) (#41202) 2019-04-15 19:14:43 +02:00
smoke-test-watcher-with-security Remove xpack dependencies from qa rest modules (#41134) (7.x backport) (#41202) 2019-04-15 19:14:43 +02:00
src/main/java/org/elasticsearch/xpack/test Remove xpack dependencies from qa rest modules (#41134) (7.x backport) (#41202) 2019-04-15 19:14:43 +02:00
third-party Security Tokens moved to a new separate index (#40742) 2019-05-01 14:53:56 +03:00
transport-client-tests Testing conventions: add support for checking base classes (#36650) 2019-01-08 13:39:03 +02:00
vagrant Remove string usages of old transport settings (#41207) 2019-04-15 16:54:24 -06:00
build.gradle Remove xpack dependencies from qa rest modules (#41134) (7.x backport) (#41202) 2019-04-15 19:14:43 +02:00