You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Bharat Viswanadham (Jira)" <ji...@apache.org> on 2021/03/31 16:24:00 UTC

[jira] [Created] (HDDS-5055) Fix TLSClientConfig in DN/Client

Bharat Viswanadham created HDDS-5055:
----------------------------------------

             Summary: Fix TLSClientConfig in DN/Client
                 Key: HDDS-5055
                 URL: https://issues.apache.org/jira/browse/HDDS-5055
             Project: Apache Ozone
          Issue Type: Bug
            Reporter: Bharat Viswanadham
            Assignee: Bharat Viswanadham


TLSClientConfig in DN should use DN privateKey, DN Cert, CALIst, and MTLS to true.

Today it uses below as TLSClientConfig

{code:java}
      tlsConfig = new GrpcTlsConfig(null, null,
          caCerts, false);
{code}

This is used in RaftClient for making add Group call in CreatePipelineCommandHandler.

{code:java}
      GrpcTlsConfig clientConfig = new GrpcTlsConfig(
          caClient.getPrivateKey(), caClient.getCertificate(),
          caList, false);
{code}
And in createTLSParameters for client config set mTLS to true which is used by DN.




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org