Packages

final class RotatingKeysSSLEngineProvider extends SSLEngineProvider

Variation on ConfigSSLEngineProvider that will periodically reload the keys and certificates from disk, to facilitate rolling updates of certificates.

This class is still ApiMayChange because it can likely be further harmonized with the standard ConfigSSLEngineProvider. Also the location and default values of the configuration may change in future versions of Akka.

This provider does not perform hostname verification, but instead allows checking that the remote certificate has a subject name that matches the subject name of the configured certificate.

Annotations
@ApiMayChange()
Source
RotatingKeysSSLEngineProvider.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RotatingKeysSSLEngineProvider
  2. SSLEngineProvider
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new RotatingKeysSSLEngineProvider(system: ActorSystem)
  2. new RotatingKeysSSLEngineProvider(config: Config, log: MarkerLoggingAdapter)

Value Members

  1. val config: Config
  2. def createClientSSLEngine(hostname: String, port: Int): SSLEngine
  3. def createServerSSLEngine(hostname: String, port: Int): SSLEngine
  4. def verifyClientSession(hostname: String, session: SSLSession): Option[Throwable]

    Verification that will be called after every successful handshake to verify additional session information.

    Verification that will be called after every successful handshake to verify additional session information. Return None if valid otherwise Some with explaining cause.

    Definition Classes
    RotatingKeysSSLEngineProviderSSLEngineProvider
  5. def verifyServerSession(hostname: String, session: SSLSession): Option[Throwable]

    Verification that will be called after every successful handshake to verify additional session information.

    Verification that will be called after every successful handshake to verify additional session information. Return None if valid otherwise Some with explaining cause.

    Definition Classes
    RotatingKeysSSLEngineProviderSSLEngineProvider