Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-7332 Automatic certificate rotation before certificate expiration
  3. HDDS-7723

Refresh Keys and Certificate used in OzoneSecretManager after certificate renewed

    XMLWordPrintableJSON

Details

    Description

      There are three child class of OzoneSecretManager. The current behavior is,

      1. OzoneDelegationTokenSecretManager , use OM's private key to calculate the delegation token signature,  OM's certificate to verify the delegation token on token renew request on OM.
      2. OzoneBlockTokenSecretManager, use OM's private key to calculate the block token signature, OM's certificate to verify the block token on DN.
      3. ContainerTokenSecretManager, use SCM's private key to calculate the container token signature, SCM's certificate to verify the container token on DN.

      OzoneBlockTokenSecretManager and ContainerTokenSecretManager are also leveraged in EC Reconstruction coordinator on DN.  This time, DN's private key and certificates are used to do the signature calculation and verification.

       

      This task aims to let the OzoneSecretManager to use the new key and certificate to generate the token once certificate is renewed, in the meanwhile, making sure tokens generated using the old key and certificate still work until they expired.

      Attachments

        Issue Links

          Activity

            People

              Sammi Sammi Chen
              Sammi Sammi Chen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: