Add Artery TCP/TLS transport, #24390

* configurable SSLEngineProvider
* ssl configuration
* add internal outgoingTlsConnectionWithSSLEngine and bindTlsWithSSLEngine in stream Tcp
* TLS tests
* update remote security section in reference documentation
This commit is contained in:
Patrik Nordwall 2018-02-16 10:04:45 +01:00
parent 162a1f80a0
commit 4dab3252bd
13 changed files with 655 additions and 25 deletions

View file

@ -211,7 +211,8 @@ private[akka] class RemoteActorRefProvider(
transport =
if (remoteSettings.Artery.Enabled) remoteSettings.Artery.Transport match {
case ArterySettings.AeronUpd new ArteryAeronUdpTransport(system, this)
case ArterySettings.Tcp new ArteryTcpTransport(system, this)
case ArterySettings.Tcp new ArteryTcpTransport(system, this, tlsEnabled = false)
case ArterySettings.TlsTcp new ArteryTcpTransport(system, this, tlsEnabled = true)
}
else new Remoting(system, this))