Is there a way to use the Windows Certificate Store for Kafka Producer/Consumer encryption (Java Client)?

245 views Asked by At

To the best of my understanding the java client for kafka allows only to submit paths to certificates for client-broker encryption and exclusively .jks files - as shown here 1.

However, I have the requirement to use certificates from Windows-MY. One obvious workaround would be to read the Windows-MY certificates via custom java code and save the resulting certificates as .jks files at a place like the Java Certificate Store and, then, submit the corresponding path to a kafka producer/consumer.

My question would be: Is there a more sophisticated solution to this problem? Am I missing somthing? For example, has the Java Client some functionality to submit certificates in-memory - similar to its c/c++ counterpart 2?

0

There are 0 answers