cql-proxy icon indicating copy to clipboard operation
cql-proxy copied to clipboard

Add proxy to cluster TLS support (`--cluster-ca-file`)

Open mpenick opened this issue 3 years ago • 1 comments

Adds basic support for proxy to cluster TLS. Use --cluster-ca-file to enable. To use a client certificate use --cluster-cert-file and --cluster-key-file. This is useful for Cassandra clusters that use TLS.

mpenick avatar Aug 24 '22 14:08 mpenick

Hey there, thanks for looking into this ! Running this command:

./cql-proxy \
    --contact-points=subdomain.amazonaws.com \
    --username "something" \
    --password "something" \
    --port 9142 \
    --cluster-ca-file="/path/to/sf-class2-root.crt"

still gives me the following error: cql-proxy: error: unable to connect to cluster context deadline exceeded

kamek-pf avatar Aug 24 '22 21:08 kamek-pf