Skip to content

Commit

Permalink
Use tlsEnableHostnameVerification for ClientBuilder in PulsarClientTo…
Browse files Browse the repository at this point in the history
…ol (apache#8041)

Co-authored-by: Ali Ahmed <[email protected]>
  • Loading branch information
aahmed-se and Ali Ahmed authored Sep 12, 2020
1 parent e4b12df commit e582bcc
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ private void updateConfig() throws UnsupportedAuthenticationException {
}
clientBuilder.allowTlsInsecureConnection(this.tlsAllowInsecureConnection);
clientBuilder.tlsTrustCertsFilePath(this.tlsTrustCertsFilePath);
clientBuilder.enableTlsHostnameVerification(this.tlsEnableHostnameVerification);
clientBuilder.serviceUrl(serviceURL);

clientBuilder.useKeyStoreTls(useKeyStoreTls)
Expand Down

0 comments on commit e582bcc

Please sign in to comment.