-
Notifications
You must be signed in to change notification settings - Fork 41k
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
Support base64 in kafka ssl keystore/truststore #41047
Comments
The values of the Instead of using those properties, you can define an SSL bundle (which supports the |
@scottfrederick should |
No, that's not necessary. The string value is loaded as a resource when necessary. Did you try it to see if this works as a |
It does, yeah. Works perfectly, we're able to remove a bunch of custom parsing/file writing at startup thanks to this. |
@Sineaggi |
@kbhatt-equinix, you should be able to use the spring:
ssl:
bundle:
jks:
mybundle:
keystore:
location: "base64:<the encoded value> Your comment has made me realize that we don't have documentation for this, so I've opened #43809 |
thanks @philwebb - it was very helpful. was looking for base64 since last 2-3 days but was not able to find anything. |
Spring Boot 3.3.0 supports base64 resources, but the
KafkaProperties.java
file has a methodresourceToPath
that required a Resource can be turned into a path.Can we either have the
key-store-location
properties support non-path resources, or make a newkey-store-resource
that takes non-path resources?The text was updated successfully, but these errors were encountered: