OpenSearch/elasticsearch/qa
jaymode ad9a7c9b96 Migrate xpack to use the common ssl configuration
This change migrates xpack (security, watcher, and monitoring) to use the common ssl
configuration for the elastic stack. As part of this work, several aspects of how we deal
with SSL has been modified.

From a functionality perspective, an xpack wide configuration for SSL was added and
all of the code that needs SSL uses the SSLService now. The following is a list of all
of the aspects of xpack that can have their own SSL configuration, which are separate
from the xpack wide configuration:

* Transport
* Transport profiles
* HTTP Transport
* Realms
* Monitoring Exporters
* HTTP Client

In terms of the code, some cleanups were made with these changes. SSLConfiguration is
now a concrete class and SSLConfiguration.Custom and SSLConfiguration.Global have been
removed. The validate method on key and trust configurations has been removed and these
classes will now throw exceptions when they are constructed with bad values. The
OptionalSettings helper class has been removed as it was just a file with one line functions
that made the code harder to understand. The SSL configuration and service classes have
been moved from the security source directories to the main xpack source set. The SSLService
now handles more of the configuration of the SSLEngine it returns to prevent callers from
having to handle those aspects. The settings that get registered for SSL have been moved to
XPackSettings.

Also included in this PR is a update to the docs around SSL. This includes a large simplification to
the documentation in that the certificate authority configuration section has been removed and the
process that is documented for generating certificates only includes the CLI tool that we bundle.

Closes elastic/elasticsearch#3104
Closes elastic/elasticsearch#2971
Closes elastic/elasticsearch#3164

Original commit: elastic/x-pack-elasticsearch@5bd9e5ef38
2016-09-01 10:51:41 -04:00
..
audit-tests ensure transport is set for external cluster clients take 2 2016-08-03 08:12:05 -04:00
core-rest-tests-with-security Rename client yaml tests 2016-07-26 13:54:40 -04:00
reindex-tests-with-security Security: add tests for delete and update by query 2016-08-30 15:22:55 +02:00
security-client-tests ensure transport is set for external cluster clients take 2 2016-08-03 08:12:05 -04:00
security-example-realm allow extensions to define settings filter 2016-08-30 07:20:00 -04:00
security-migrate-tests Merge branch 'master' into log4j2 2016-08-31 16:17:28 -04:00
smoke-test-graph-with-security Rename client yaml tests 2016-07-26 13:54:40 -04:00
smoke-test-monitoring-with-security Rename client yaml tests 2016-07-26 13:54:40 -04:00
smoke-test-plugins Rename client yaml tests 2016-07-26 13:54:40 -04:00
smoke-test-plugins-ssl Migrate xpack to use the common ssl configuration 2016-09-01 10:51:41 -04:00
smoke-test-security-with-mustache Rename client yaml tests 2016-07-26 13:54:40 -04:00
smoke-test-watcher Rename client yaml tests 2016-07-26 13:54:40 -04:00
smoke-test-watcher-with-groovy [Test] Re enable some messy Watcher tests 2016-08-08 10:06:30 +02:00
smoke-test-watcher-with-mustache watcher: remove WatchScript class 2016-08-22 09:39:13 +02:00
smoke-test-watcher-with-painless Rename client yaml tests 2016-07-26 13:54:40 -04:00
smoke-test-watcher-with-security Rename client yaml tests 2016-07-26 13:54:40 -04:00
tribe-node-tests-with-security security: remove use of shield in files and directory names 2016-06-20 10:26:10 -04:00
build.gradle Build: Turn on license header checks 2016-07-25 17:09:54 -07:00