Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSL Auto-Configuration support for spring-boot-starter-data-cassandra #8476

Closed
gokulrl opened this issue Mar 3, 2017 · 5 comments
Closed

Comments

@gokulrl
Copy link

gokulrl commented Mar 3, 2017

spring-boot-starter-data-cassandra has option for enabling ssl (by setting spring.data.cassandra.ssl=true), but when we are enabling this there is no way to provide truststore filename and truststore password so that SSLContext is created based on truststore provided.

We have this kind of future already available 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). If same kind of option is provided for spring-data-cassandra, it will be more helpful

PFB Stack Overflow Question which I posted for more Details.

http://stackoverflow.com/questions/42550406/how-to-configure-ssl-between-spring-boot-application-and-cassandra-using-cassand/42563559#42563559

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Mar 3, 2017
@snicoll
Copy link
Member

snicoll commented Mar 3, 2017

As of 1.5, you can register a ClusterBuilderCustomizer implementation and do whatever you want with SSL options. Have you tried that?

@snicoll snicoll added the status: waiting-for-feedback We need additional information before we can continue label Mar 3, 2017
@spring-projects-issues
Copy link
Collaborator

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

@spring-projects-issues spring-projects-issues added the status: feedback-reminder We've sent a reminder that we need additional information before we can continue label Mar 10, 2017
@spring-projects-issues
Copy link
Collaborator

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.

@spring-projects-issues spring-projects-issues removed status: waiting-for-feedback We need additional information before we can continue status: feedback-reminder We've sent a reminder that we need additional information before we can continue labels Mar 17, 2017
@snicoll snicoll removed the status: waiting-for-triage An issue we've not yet triaged label Mar 31, 2017
@aadarshsingh191198
Copy link

@snicoll I think what @gokulrl meant was - Isn't there a straightforward way to add the filename and truststore password just like adding contact-point and port, etc.? Put them in application.properties and spring takes care of the rest...

@wilkinsona
Copy link
Member

wilkinsona commented Aug 24, 2021

@aadarshsingh191198 That change is being tracked by #25602.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants