mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 10:25:15 +00:00
This change refactors the ssl services into a single class and reduces the number of public methods that are exposed by the class. As part of this change, ssl configurations must be loaded during construction of the service otherwise an exception will be thrown when trying to retrieve the configuration. Additionally, the reloading of key material and trust material is now handled by the SSLService instead of the SSLConfiguration. The SSLConfiguration class has been made package private as its usage has been contained to the ssl package entirely. See elastic/elasticsearch#2971 Original commit: elastic/x-pack-elasticsearch@46e4535bb1