From e7ac505d4b5367ceff84897c4ecc7ac9d9a40334 Mon Sep 17 00:00:00 2001 From: Juan Jose Lopez Martin Date: Mon, 24 Apr 2017 11:34:59 +0200 Subject: [PATCH] Little doc improvement due to issue #22566 (#22591) Move hostname and port to netty.ssl section --- akka-docs/rst/java/remoting.rst | 23 ++++++++++++++--------- akka-docs/rst/scala/remoting.rst | 23 ++++++++++++++--------- 2 files changed, 28 insertions(+), 18 deletions(-) diff --git a/akka-docs/rst/java/remoting.rst b/akka-docs/rst/java/remoting.rst index af2410617b..b54c8543b8 100644 --- a/akka-docs/rst/java/remoting.rst +++ b/akka-docs/rst/java/remoting.rst @@ -449,19 +449,24 @@ Next the actual SSL/TLS parameters have to be configured:: akka { remote { - netty.ssl.security { - key-store = "/example/path/to/mykeystore.jks" - trust-store = "/example/path/to/mytruststore.jks" + netty.ssl { + hostname = "127.0.0.1" + port = "3553" - key-store-password = "changeme" - key-password = "changeme" - trust-store-password = "changeme" + security { + key-store = "/example/path/to/mykeystore.jks" + trust-store = "/example/path/to/mytruststore.jks" - protocol = "TLSv1.2" + key-store-password = "changeme" + key-password = "changeme" + trust-store-password = "changeme" - enabled-algorithms = [TLS_DHE_RSA_WITH_AES_128_GCM_SHA256] + protocol = "TLSv1.2" - random-number-generator = "AES128CounterSecureRNG" + enabled-algorithms = [TLS_DHE_RSA_WITH_AES_128_GCM_SHA256] + + random-number-generator = "AES128CounterSecureRNG" + } } } } diff --git a/akka-docs/rst/scala/remoting.rst b/akka-docs/rst/scala/remoting.rst index f6d0ab9b22..66861038ab 100644 --- a/akka-docs/rst/scala/remoting.rst +++ b/akka-docs/rst/scala/remoting.rst @@ -474,19 +474,24 @@ Next the actual SSL/TLS parameters have to be configured:: akka { remote { - netty.ssl.security { - key-store = "/example/path/to/mykeystore.jks" - trust-store = "/example/path/to/mytruststore.jks" + netty.ssl { + hostname = "127.0.0.1" + port = "3553" - key-store-password = "changeme" - key-password = "changeme" - trust-store-password = "changeme" + security { + key-store = "/example/path/to/mykeystore.jks" + trust-store = "/example/path/to/mytruststore.jks" - protocol = "TLSv1.2" + key-store-password = "changeme" + key-password = "changeme" + trust-store-password = "changeme" - enabled-algorithms = [TLS_DHE_RSA_WITH_AES_128_GCM_SHA256] + protocol = "TLSv1.2" - random-number-generator = "AES128CounterSecureRNG" + enabled-algorithms = [TLS_DHE_RSA_WITH_AES_128_GCM_SHA256] + + random-number-generator = "AES128CounterSecureRNG" + } } } }