Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access SSL contexts using names instead of Settings #30953

Merged
merged 39 commits into from
Jul 13, 2018

Commits on May 7, 2018

  1. Refer to SSL contexts by name not settings

    Historically we have loaded SSL objects (such as SSLContext,
    SSLIOSessionStrategy) by passing in the SSL settings, constructing a
    new SSL configuration from those settings and then looking for a
    cached object that matches those settings.
    
    The primary issue with this approach is that it requires a fully
    configured Settings object to be available any time the SSL context
    needs to be loaded. If the Settings include SecureSettings (such as
    passwords for keys or keystores) then this is not true, and the cached
    SSL object cannot be loaded at runtime.
    
    This commit introduces an alternative approach of naming every cached
    ssl configuration, so that it is possible to load the SSL context for
    a named configuration (such as "xpack.http.ssl"). This means that the
    calling code does not need to have ongoing access to the secure
    settings that were used to load the configuration.
    tvernum committed May 7, 2018
    Configuration menu
    Copy the full SHA
    8fbe6e1 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2018

  1. Configuration menu
    Copy the full SHA
    222015b View commit details
    Browse the repository at this point in the history

Commits on May 14, 2018

  1. Configuration menu
    Copy the full SHA
    a360d22 View commit details
    Browse the repository at this point in the history

Commits on May 28, 2018

  1. Configuration menu
    Copy the full SHA
    29077e2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9ea7a52 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    997a1ec View commit details
    Browse the repository at this point in the history

Commits on May 29, 2018

  1. Configuration menu
    Copy the full SHA
    2999649 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bcde8a5 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2018

  1. Reduce use of Settings in SSL

    tvernum committed May 30, 2018
    Configuration menu
    Copy the full SHA
    6ce4d32 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f9cc028 View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2018

  1. Configuration menu
    Copy the full SHA
    e0561ee View commit details
    Browse the repository at this point in the history
  2. Improve SSLService tests

    tvernum committed Jun 12, 2018
    Configuration menu
    Copy the full SHA
    bee987c View commit details
    Browse the repository at this point in the history
  3. Small cleanup

    tvernum committed Jun 12, 2018
    Configuration menu
    Copy the full SHA
    7c060d7 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2018

  1. Configuration menu
    Copy the full SHA
    2282d01 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2018

  1. Configuration menu
    Copy the full SHA
    1aa0c14 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    39e6629 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ef58ff1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d94dd57 View commit details
    Browse the repository at this point in the history
  5. Remove unused imports

    tvernum committed Jun 14, 2018
    Configuration menu
    Copy the full SHA
    ee32357 View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2018

  1. Configuration menu
    Copy the full SHA
    5a57fd6 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2018

  1. Configuration menu
    Copy the full SHA
    cf2fdf0 View commit details
    Browse the repository at this point in the history
  2. Fix test (feedback)

    tvernum committed Jun 18, 2018
    Configuration menu
    Copy the full SHA
    42e3aa1 View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2018

  1. Configuration menu
    Copy the full SHA
    fb0505e View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2018

  1. Configuration menu
    Copy the full SHA
    37cc028 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2018

  1. Configuration menu
    Copy the full SHA
    817c565 View commit details
    Browse the repository at this point in the history
  2. Fix monitoring to work with dynamic SSL settings

    - Prevent dynamic changes to SSL settings that also use secure
      settings
    - Dyanmically rebuild SSL context for exporters that don't use
      secure setting
    tvernum committed Jul 9, 2018
    Configuration menu
    Copy the full SHA
    2eb845a View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2018

  1. Configuration menu
    Copy the full SHA
    2f6c87b View commit details
    Browse the repository at this point in the history
  2. Cleanup test static vars

    tvernum committed Jul 10, 2018
    Configuration menu
    Copy the full SHA
    255a42e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8ea7e35 View commit details
    Browse the repository at this point in the history
  4. Fix import

    tvernum committed Jul 10, 2018
    Configuration menu
    Copy the full SHA
    e8d8299 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2018

  1. Rename test & context name

    tvernum committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    b11d61b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f4bab91 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f637dc7 View commit details
    Browse the repository at this point in the history
  4. Remove remaining uses of deprecated methods

    There's a few places where the usage is difficult to remove, so I'm
    leaving them for now and we can tackle them another time.
    tvernum committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    f774e6d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d1f3147 View commit details
    Browse the repository at this point in the history
  6. Fix broken test

    tvernum committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    44c4cf1 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2018

  1. Configuration menu
    Copy the full SHA
    9a0c026 View commit details
    Browse the repository at this point in the history
  2. Fix broken tests

    tvernum committed Jul 12, 2018
    Configuration menu
    Copy the full SHA
    bc3095e View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2018

  1. Configuration menu
    Copy the full SHA
    9f6fa6d View commit details
    Browse the repository at this point in the history