ScyllaDB University Live | Free Virtual Training Event
Learn more
ScyllaDB Documentation Logo Documentation
  • Deployments
    • Cloud
    • Server
  • Tools
    • ScyllaDB Manager
    • ScyllaDB Monitoring Stack
    • ScyllaDB Operator
  • Drivers
    • CQL Drivers
    • DynamoDB Drivers
    • Supported Driver Versions
  • Resources
    • ScyllaDB University
    • Community Forum
    • Tutorials
Install
Search Ask AI
ScyllaDB Docs ScyllaDB Cloud Security Client-to-node Encryption

Client-to-node Encryption¶

Overview¶

Client-to-node encryption ensures the confidentiality and integrity of data transmitted between client applications and ScyllaDB nodes. It mitigates the risk of man-in-the-middle (MITM) attacks, packet sniffing, and credential leakage as data moves across the network.

This kind of encryption handles transport security only. Authentication remains a separate step, performed using standard credentials: username/password with role-based access control (CQL) and access key/secret key (Alternator).

Client-to-node encryption in ScyllaDB Cloud utilizes the latest Transport Layer Security (TLS) version 1.3.

How It Works¶

  1. The client connects to the cluster’s TLS endpoint.

  2. The node presents its server certificate.

  3. The client validates it using the ScyllaDB Cloud CA bundle.

  4. An encrypted session is established.

Default Behavior in ScyllaDB Cloud¶

Client-to-node encryption is fully managed by ScyllaDB Cloud. It is enabled for all new clusters.

To ensure compatibility, ScyllaDB Cloud supports both encrypted and unencrypted connections — the default port remains open for unencrypted traffic unless encryption enforcement is enabled.

We recommend that you customize the configuration to enforce encrypted connections. As a result, the default port will be disabled, and the cluster nodes will listen for encrypted ports.

Supported Endpoints¶

API

Encrypted Port

CQL

9142

Alternator (DynamoDB API)

8043

All client APIs are exposed through encrypted endpoints, ensuring:

  • Data is protected in transit

  • Server identity is verified

  • Compliance with major security standards

  • Safe connectivity over public or private networks

Establishing Encrypted Connections¶

To establish an encrypted connection between clients and your cluster, you need to:

  1. Obtain the CA public key for your cluster.

  2. Configure the client to connect to your cluster using the key you downloaded.

Obtain the Public Key¶

To obtain the public key for your cluster:

  1. Log into the ScyllaDB Cloud.

  2. Navigate to your cluster’s Cluster Details page.

  3. Choose the option to Download CA public key.

    ../_images/client-to-node-download-key.png

    This will download the PEM format public key of your cluster, for example, scylladb_cluster_ca.pem.

  4. Save the file locally.

Configure Your Client Driver¶

In your CQL or Alternator client application, configure the driver’s SSL/TLS settings. Point the configuration to the location of the CA public key file you saved. This will allow your client to validate the server certificate presented by the ScyllaDB node and establish an encrypted session.

For CQL clients, run the following CQL shell (cqlsh) command to connect to your cluster:

SSL_CERTFILE=<location of your public key> cqlsh --ssl -u scylla -p <password> <node>

Example:

SSL_CERTFILE=~/scylladb_cluster_ca.pem cqlsh --ssl -u scylla -p aa1122cc3DD456 node-0.aws-us-east-1.593d90421f9dc28e6078.clusters.scylla.cloud

To obtain cluster-specific instructions, go to your cluster’s page in the ScyllaDB Cloud application and see the Connect page.

Enforcing Encrypted Connections¶

You can configure ScyllaDB to enforce encrypted connections, ensuring that all traffic between clients and your cluster is encrypted.

  1. Go to the Security section of your cluster page.

  2. Click Enable next to Ensure encrypted connections.

    ../_images/client-to-node-disabled.png

This will terminate existing unencrypted connections and prevent any unencrypted traffic between clients and ScyllaDB nodes.

Was this page helpful?

PREVIOUS
Storage-level Encryption
NEXT
Service Users in ScyllaDB Cloud
  • Create an issue

On this page

  • Client-to-node Encryption
    • Overview
      • How It Works
    • Default Behavior in ScyllaDB Cloud
    • Supported Endpoints
    • Establishing Encrypted Connections
      • Obtain the Public Key
      • Configure Your Client Driver
    • Enforcing Encrypted Connections
ScyllaDB Cloud
Search Ask AI
  • Get Started
    • What Is ScyllaDB Cloud?
    • Free Trial
    • Quick Start Guide
    • Billing and Pricing
  • Create & Connect to Your Cluster
    • Deployment Overview
    • Choose Your Cluster Type
      • Cluster Types Overview
      • X Cloud Clusters
      • X Cloud Autoscaling Behavior and Best Practices
      • Standard Clusters
    • Deploy to Your Own AWS Account (BYOA)
    • Deploy to Your Own GCP Account (BYOA)
    • Configure Availability Zones
    • Connect to Your Cluster
    • Cluster Setup Best Practices
  • Configure Network Access
    • Network Access Options
    • Configure AWS Transit Gateway (TGW) VPC Attachment Connection
    • Configure Virtual Private Cloud (VPC) Peering with AWS
    • Configure Virtual Private Cloud (VPC) Peering with GCP
    • Migrate a Cluster Connection
    • Check Cluster Availability
    • Glossary for Cluster Connections
  • Operate and Manage Clusters
    • Resize a Cluster
    • Add a Datacenter
    • Delete a Cluster
    • Configure Maintenance Windows
    • Configure Notifications
    • Track Resource Usage
    • Monitor Clusters
    • Monitor with Prometheus
    • Backups
  • Use ScyllaDB
    • Application Best Practices
    • Apache Cassandra Query Language (CQL)
    • ScyllaDB Drivers
    • Data Modeling
    • Tracing
    • Change Data Capture (CDC)
    • Role Based Access Control (RBAC)
    • ScyllaDB Alternator (DynamoDB-compatible API)
    • Lightweight Transactions (LWT)
    • ScyllaDB Integrations
  • Security
    • Security Best Practices
    • Security Concepts
    • Database-level Encryption
    • Storage-level Encryption
    • Client-to-node Encryption
    • Service Users
    • User Management
    • SAML Single Sign-On (SSO)
    • Immutable (WORM) Backups
    • Data Privacy and Compliance
  • Vector Search
    • Quick Start Guide
    • Vector Search Concepts
    • Vector Search Deployments
    • Sizing and Capacity Planning
    • Working with Vector Search
    • Filtering
    • Quantization and Rescoring
    • Security
    • Troubleshooting
    • FAQ
    • Glossary
    • Reference
    • Example Project
  • Cost Optimization
    • Cost Optimization Overview
    • Advanced Internode (RPC) Compression
    • Datacenter Placement and Data Transfer Costs
  • Automate with the ScyllaDB Cloud API
    • Programmatic Access Overview
    • Create a Personal Token for Authentication
    • API Reference
    • API Error Codes
    • Terraform Provider for ScyllaDB Cloud
    • ScyllaDB Cloud MCP Server
  • Get Help
    • FAQ
    • Tutorials
    • Getting Help
Docs Tutorials University Contact Us About Us
© 2026, ScyllaDB. All rights reserved. | Terms of Service | Privacy Policy | ScyllaDB, and ScyllaDB Cloud, are registered trademarks of ScyllaDB, Inc.
Last updated on 19 Jun 2026.
Powered by Sphinx 9.1.0 & ScyllaDB Theme 1.9.2