Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-5055

Fix TlSClientConfig in DN/Client

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Implemented
    • 1.0.0
    • 1.2.0
    • None

    Description

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

      Today it uses below as TLSClientConfig

            tlsConfig = new GrpcTlsConfig(null, null,
                caCerts, false);
      

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

      And in createTLSParameters for client config set mTLS to true which is used by DN.

            GrpcTlsConfig clientConfig = new GrpcTlsConfig(
                caClient.getPrivateKey(), caClient.getCertificate(),
                caList, false);
            GrpcConfigKeys.Client.setTlsConf(parameters, clientConfig);
      

      Attachments

        Issue Links

          Activity

            People

              bharat Bharat Viswanadham
              bharat Bharat Viswanadham
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: