# Akka cluster tls tcp configuration

**URL:** <https://discuss.akka.io/t/akka-cluster-tls-tcp-configuration/10874>\
**Category:** Akka Libraries\
**Tags:** java, configuration\
**Created:** [August 21, 2024, 12:58pm UTC](https://discuss.akka.io/t/akka-cluster-tls-tcp-configuration/10874 "2024-08-21T12:58:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jlam](https://avatars.discourse-cdn.com/v4/letter/j/839c29/32.png) [@jlam](https://discuss.akka.io/u/jlam)\
**Post date:** [August 21, 2024, 12:58pm UTC](https://discuss.akka.io/t/akka-cluster-tls-tcp-configuration/10874/1 "2024-08-21T12:58:09Z")

</div>

Hi,  
I am trying to set a cluster with tls tcp transport with no success.(the nodes in the cluster communicate succesfully with tcp transport(I am new to the X509 certificates)  
I found the following link: [Generating X.509 Certificates · SSL Config](https://lightbend.github.io/ssl-config/CertificateGeneration.html#using-keytool)  
but I still cant seem to get it running.  
1)Do i need to follow every step for the certificate Generation?  
2)How can i disable mutual authentication?

I am trying to set it up firstly in localhost (127.0.0.1)  
bellow are the settings of the application for the remote artery part:  
akka.remote.artery {  
transport = tls-tcp

ssl.config-ssl-engine {  
key-store = “mykeystore.jks”  
trust-store = “mytruststore.jks”

```
 key-store-password = 123456
 key-password = 123456
 trust-store-password = 123456

 protocol = "TLSv1.2"

 enabled-algorithms = [TLS_DHE_RSA_WITH_AES_128_GCM_SHA256]

```

}  
}  
any help is appreciated  
Thanks in advance
