Was this page helpful?
Caution
You're viewing documentation for a previous version of ScyllaDB Open Source. Switch to the latest stable version.
Trying to connect cqlsh with Scylla 3.x results in TLSv1.2 is not a valid SSL protocol error. Recent Scylla versions did not allow the use of the TLSv1 protocol and yet cqlsh seems to use it by default. The solution is to upgrade to a more recent version of Scylla which contains the patch to fix the issue. If this is not an option, change the cqlshrc file to contain the following:
[ssl]
certfile=<path to cert file>
version=TLSv1_2
Alternatively, you can set the SSL_VERSION environment variable in the Linux shell. The proper way to do that is via the export
command. If you prefer, you can apply the environment variable to a single run of cqlsh only, using SSL_VERSION=TLSv1_2 cqlsh [args]
Was this page helpful?
On this page