Are CamPemPath/ServerPemPath parameters required for MilvusClient if the Milvus cert has been imported into the java trust store? #34160
-
If I want to communicate with a Milvus over TLS, can I import the pem into the default java trust store or do I have to configure the client with the CaPemPath/ServerPemPath? IE: at the moment I'm doing this:
But if I've imported Milvus' pem into the java trust store, do I need to do any of this at all? Or will it work without it? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The logic to build connections in Java SDK is here: https://github.com/milvus-io/milvus-sdk-java/blob/c8c592402123632c817e4d3c336c750d156da8fb/src/main/java/io/milvus/client/MilvusServiceClient.java#L102 I think you have to configure the client with the CaPemPath/ServerPemPath. |
Beta Was this translation helpful? Give feedback.
The logic to build connections in Java SDK is here: https://github.com/milvus-io/milvus-sdk-java/blob/c8c592402123632c817e4d3c336c750d156da8fb/src/main/java/io/milvus/client/MilvusServiceClient.java#L102
I think you have to configure the client with the CaPemPath/ServerPemPath.
I am not sure what should be done to support Java trust store. If you know how to implement it, you are welcome to submit PR to the Java SDK repo.