Skip to main content

Server TLS Encryption configuration

Cassandra Server TLS Encryption configuration

By default, the Server TLS Encryption is disabled.

Server TLS Encryption Field Specification Reference

FieldDescriptionIs RequiredDefault
encryption.serverServer TLS Encryption configuration.N
encryption.server.internodeEncryptionServer encryption type. Allowed values: all, dc, rack, none. To encrypt all inter-node communications use all. To encrypt the traffic between the datacenters use dc.Nnone
encryption.server.requireEndpointVerificationEnables or disables host name verification.Nfalse
encryption.server.requireClientAuthEnables or disables Two-Way TLS authentication. If enabled the C* node verifies the certificate used by the other C* nodes which connects to it. The certificate used by C* node should be signed by a CA that the other C* node trusts.Ntrue
encryption.server.caTLSSecretCA TLS Secret fields configuration.N``
encryption.server.caTLSSecret.nameCA TLS Secret name which stores TLS CA data.N``
encryption.server.caTLSSecret.fileKeyCA TLS Secret fields which holds TLS CA key file.Nca.key
encryption.server.caTLSSecret.crtFileKeyCA TLS Secret fields which holds TLS CA certificate file.Nca.crt
encryption.server.nodeTLSSecretNode TLS Secret name which stores TLS Node data.N``
encryption.server.nodeTLSSecret.nameName of Node TLS Secret.N``
encryption.server.nodeTLSSecret.KeystoreFileKeyNode TLS Secret field which holds Keystore file. Keystore should contain keypair chains.Nkeystore.jks
encryption.server.nodeTLSSecret.KeystorePasswordKeyNode TLS Secret field which holds password file for Keystore. The password must match that one is used when generating the Keystore.Ncassandra
encryption.server.nodeTLSSecret.TruststoreFileKeyNode TLS Secret field which holds Truststore file. Truststore should contain chain of trusted CA certificates.Ntruststore.jks
encryption.server.nodeTLSSecret.TruststorePasswordKeyNode TLS Secret field which holds password file for Truststore. The password must match that one is used when generating the Truststore.Ncassandra
encryption.server.nodeTLSSecret.generateKeystorePasswordNode TLS Secret field which holds password to encrypt keystore and truststore during generating. It's used only in case encryption.server.caTLSSecret.name is provided.Ncassandra
encryption.server.nodeTLSSecret.caFileKeyNode TLS Secret field which holds ca certificate file.Nca.crt
encryption.server.nodeTLSSecret.tlsFileKeyNode TLS Secret field which holds TLS certificate file.Ntls.crt
encryption.server.nodeTLSSecret.tlsCrtFileKeyNode TLS Secret field which holds TLS key file.Ntls.key
encryption.server.protocolCryptographic protocol.NTLS
encryption.server.algorithmKey exchange or key agreement method.NSunX509
encryption.server.storeTypeArchive format of Keystore.NJKS
encryption.server.cipherSuitesThe list of cipher suites for the server to support, in order of preference.N``

Multi-cluster setup

In multi-cluster setup TLS Secret should be generated (signed) using the same CA.