Searched refs:trustCertCollectionFilePath (Results 1 – 3 of 3) sorted by relevance
47 private final String trustCertCollectionFilePath; field in HelloWorldServerTls53 String trustCertCollectionFilePath) { in HelloWorldServerTls() argument58 this.trustCertCollectionFilePath = trustCertCollectionFilePath; in HelloWorldServerTls()64 if (trustCertCollectionFilePath != null) { in getSslContextBuilder()65 sslClientContextBuilder.trustManager(new File(trustCertCollectionFilePath)); in getSslContextBuilder()
46 private static SslContext buildSslContext(String trustCertCollectionFilePath, in buildSslContext() argument50 if (trustCertCollectionFilePath != null) { in buildSslContext()51 builder.trustManager(new File(trustCertCollectionFilePath)); in buildSslContext()
43 …E: HelloWorldServerTls host port certChainFilePath privateKeyFilePath [trustCertCollectionFilePath]44 Note: You only need to supply trustCertCollectionFilePath if you want to enable Mutual TLS.50 USAGE: HelloWorldClientTls host port [trustCertCollectionFilePath] [clientCertChainFilePath] [clien…