2 years ago
#44009

Rajib Deb
Connecting to Cassandra through python without validating SSL
I am trying to connect to Cassandra without validating SSL as below, but still getting permission error
cluster = Cluster(['10.1.1.1'], ssl_options=dict(cert_reqs=ssl.CERT_NONE,ssl_version=ssl.PROTOCOL_TLSv1),
auth_provider=DSEPlainTextAuthProvider(username='user',password='p@ssword'))
session = cluster.connect()
python
cassandra
datastax
0 Answers
Your Answer