lasdf1234 commented on code in PR #14934:
URL: https://github.com/apache/gravitino/pull/14934#discussion_r4546366695


##########
docs/how-to-use-gravitino-client.md:
##########
@@ -46,6 +46,97 @@ GravitinoAdminClient gravitinoAdminClient = 
GravitinoAdminClient.builder("http:/
 
 **Note:** Invalid configuration properties will result in exceptions.
 
+### Java Client TLS Configuration
+
+The Gravitino Java client supports custom TLS configuration through 
`TLSConfigurers`. This includes custom truststores, mutual TLS (mTLS) 
authentication, and restrictions on TLS protocols and cipher suites.
+
+For HTTPS connections using the default JVM truststore without client 
certificate authentication, no additional TLS configuration is required.
+
+#### Custom Truststore
+
+To connect to a server using a private certificate authority (CA) or a 
self-signed certificate, use `withTrustStore()`:

Review Comment:
   **[Medium — docs]** Please add an explicit warning near this section (and/or 
after the `withTrustStore` example) that a custom truststore **replaces** the 
JVM default trust anchors for this client — it does **not** merge with them.
   
   Without that, a private-CA-only truststore commonly breaks other HTTPS from 
the same client (object stores, IdP, etc.). The HTTPS local-dev doc already 
avoids mutating `cacerts`; this is the corresponding client-side caveat.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to