clientTlsContextBuilder
fun clientTlsContextBuilder(certChainFilePath: String = "", privateKeyFilePath: String = "", trustCertCollectionFilePath: String = ""): TlsContextBuilder
Creates a client-side TlsContextBuilder that can be further customized before building.
Return
a TlsContextBuilder wrapping the configured SslContextBuilder
Parameters
certChainFilePath
path to the client certificate chain file (for mutual auth)
privateKeyFilePath
path to the client private key file (for mutual auth)
trustCertCollectionFilePath
path to the trusted CA certificates file (required)
Throws
if SSL context builder creation fails