Interface SslProfileExtension


public interface SslProfileExtension
A SPI extension point for defining SSL profiles. Elasticsearch has a standard way of defining SSL Configuration in YAML (see SslConfigurationLoader) and we refer to each of these as either a "profile" or "context" (these are interchangeable, and both are used in the code, however the latter can be confused with SSLContext). Each profile is loaded on node startup, validated and its source files (PEM certificates, etc) are monitored for changes. This extension point makes it easy for modules and plugins to define new profiles.
  • Method Details

    • getSettingPrefixes

      Set<String> getSettingPrefixes()
      Returns:
      the setting prefixes that this extension supports. For example xpack.foo.ssl It must end in ".ssl"
    • applyProfile

      void applyProfile(String prefix, SslProfile profile)
      Called after each SSL profile has been loaded and validated