Hi Miguel, What you want is:
akka.remote.enable*d*-transports (shameless plug, but our commercial build detects most of such typos and blatant misconfigurations as well) In general, when you run your application and print out or log ActorRefs from a remote machine they should start with "akka.ssl.tcp://" otherwise you are not running the right stack. -Endre On Thu, Feb 18, 2016 at 1:29 PM, Miguel Angel Fernandez < [email protected]> wrote: > Hello, > > We're trying to encrypt the communication between a Remote Client and the > nodes of a Akka Cluster. We've found information about SSL encryption here > <http://doc.akka.io/docs/akka/2.3.11/scala/remoting.html> with the > version 2.3.11. The properties of the Remote Client and the only one node > of the Akka Cluster have been set like this: > > akka.remote.enable-transports=["akka.remote.netty.ssl"] > > akka.remote.netty.ssl.enable-ssl=true > > akka.remote.netty.ssl.host="127.0.0.1" > > akka.remote.netty.ssl.port=0 > > akka.remote.netty.ssl.security.keystore="src/main/resources/keystore" > > akka.remote.netty.ssl.security.key-store-password ="***" > > akka.remote.netty.ssl.security.key-password ="***" > > akka.remote.netty.ssl.security.trust-store ="src/main/resources/truststore" > > akka.remote.netty.ssl.security.trust-store-password ="***" > > akka.remote.netty.ssl.security.protocol="TLSv1" > > akka.remote.netty.ssl.security.random-number-generator = > "AES128CounterSecureRNG" > akka.remote.netty.ssl.security.enabled-algorithms = > ["TLS_RSA_WITH_AES_128_CBC_SHA"] > > However, whatever the configuration parameters are set, the node of the > Akka Cluster always receives message and prints the message even when the > passwords of client are wrong. > > We're expecting the server to rejects all the messages when they're not > encrypted with the SSL certification but we haven't been able to get it. > > Any ideas about what we're doing wrong? > > Thanks in advance > > > -- > >>>>>>>>>> Read the docs: http://akka.io/docs/ > >>>>>>>>>> Check the FAQ: > http://doc.akka.io/docs/akka/current/additional/faq.html > >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user > --- > You received this message because you are subscribed to the Google Groups > "Akka User List" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/akka-user. > For more options, visit https://groups.google.com/d/optout. > -- Akka Team Typesafe - Reactive apps on the JVM Blog: letitcrash.com Twitter: @akkateam -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
