Hi team, is it possible to configure tlsTrustStore...
# general
c
Hi team, is it possible to configure tlsTrustStorePath as part of auth plugin? Why is it an independent option in mTLS? Is it possible to develop a authentication plugin that include both tlsTrustStorePath and tlsKeyStorePath? cc @jerry
Copy code
PulsarClient client = PulsarClient.builder()
    .serviceUrl("<pulsar+ssl://broker.example.com:6651/>")
    .useKeyStoreTls(true)
    .tlsTrustStorePath("/var/private/tls/client.truststore.jks")
    .tlsTrustStorePassword("clientpw")
    .authentication(
            "org.apache.pulsar.client.impl.auth.AuthenticationKeyStoreTls",
            "keyStoreType:JKS,keyStorePath:/var/private/tls/client.keystore.jks,keyStorePassword:clientpw")
    .build();