Skip to content

Add SSL bundle support to Cassandra auto-configuration #25602

@suvanakar

Description

@suvanakar

I am trying to connect to Cassandra from my Spring boot application using spring-boot-data-cassandra:3.1.3 and spring-boot-autoconfigure:2.4.2.

My Cassandra cluster is enabled with ssl at Cassandra side. So when I am auto configuring Cassandra connections with ssl enabled (by setting spring.data.cassandra.ssl=true) then Default SSL context is created for me, but i need to provide my truststore path and truststore password to initialize SSLContext. There is no properties provided at data-cassandra like the one provided for kafka(spring.kafka.ssl.truststore-location= # Location of the trust store file. spring.kafka.ssl.truststore-password= # Store password for the trust store file.), so is there any way to provide truststore file location and password to AutoConfigure my Cassandra configuration or to override default SSLContext created for the specified versions.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions