RotatingKeysSSLEngineProvider

org.apache.pekko.remote.artery.tcp.ssl.RotatingKeysSSLEngineProvider
See theRotatingKeysSSLEngineProvider companion object

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 Apache Pekko.

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.

Attributes

Companion
object
Source
RotatingKeysSSLEngineProvider.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Constructors

def this(system: ActorSystem)

Concrete methods

override def createClientSSLEngine(hostname: String, port: Int): SSLEngine

Attributes

Definition Classes
Source
RotatingKeysSSLEngineProvider.scala
override def createServerSSLEngine(hostname: String, port: Int): SSLEngine

Attributes

Definition Classes
Source
RotatingKeysSSLEngineProvider.scala
override def verifyClientSession(hostname: String, session: SSLSession): Option[Throwable]

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

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

Attributes

Definition Classes
Source
RotatingKeysSSLEngineProvider.scala
override def verifyServerSession(hostname: String, session: SSLSession): Option[Throwable]

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

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

Attributes

Definition Classes
Source
RotatingKeysSSLEngineProvider.scala

Concrete fields