kezhuw opened a new pull request, #2303:
URL: https://github.com/apache/zookeeper/pull/2303

   `NettyServerCnxnFactory` uses `TrustManager` from 
`X509AuthenticationProvider`
   if `ssl.authProvider` is configured. But `clientHostnameVerificationEnabled`
   is explicitly set to `false` in construction of `X509AuthenticationProvider`.
   
   This cause the server skip hostname verification agaist client
   certificate.
   
   This is reproducible in case of following server configs:
   
   * zookeeper.ssl.hostnameVerification: true
   * zookeeper.ssl.clientHostnameVerification: true
   * zookeeper.fips-mode: false
   * zookeeper.ssl.authProvider: x509


-- 
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