Originally from the User Slack
@Omkar_Jadhav: Hello, I am trying to setup a single scylla node on my local system using docker-compose.
This is my basic setup
scylladb:
image: scylladb/scylla
ports:
- "9042:9042"
volumes:
- type: volume
source: scylladblocal
target: /var/lib/scylla
volume:
nocopy: true
I am trying to use the same client code that we use in production to connect to this node. The client is configured to use SSL/TLS. As a result the connection is failing. How do I configure the scylla node in docker to use SSL/TLS?
@Felipe_Cardeneti_Mendes: You can pass the --*client-encryption*-options
command line argument to the container. However, given that you will need to copy the certificate, and keys anywhere, might be easier to simply append these arguments to scylla.yaml
directly.
See: https://opensource.docs.scylladb.com/stable/operating-scylla/security/client-node-encryption.html
Encryption: Data in Transit Client to Node | ScyllaDB Docs
@Omkar_Jadhav: I see, will try this. Thank you