Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-7331 Ozone PKI improvements
  3. HDDS-9045

[ozone-cert-rotation] Expired certificates are listed under valid type

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 1.4.0
    • None
    • Ozone Manager
    • None

    Description

      cert list command is listing expired certificates even under valid type.
      There should be expired type and these certificates should be filtered accroding to the flag.

      root@st-ozone-0mrob1-k26w9:/hwqe/hadoopqe# date
      Wed Jul 19 19:07:44 UTC 2023
      root@st-ozone-0mrob1-k26w9:/hwqe/hadoopqe# /opt/cloudera/parcels/CDH/bin/ozone admin cert list -c 100 -t valid | grep recon
      189305214433005   Wed Jul 19 18:04:19 UTC 2023   Wed Jul 19 19:04:19 UTC 2023   CN=recon@quasar-ewnsjs-5.quasar-ewnsjs.root.hwx.site,OU=b1dac7e0-a3bc-43c9-a5d1-adde4e7213f7,O=CID-610640d2-0f8b-41fe-8fd2-1c90607ebdde CN=scm-sub-189287080855166@quasar-ewnsjs-5.quasar-ewnsjs.root.hwx.site,OU=b1dac7e0-a3bc-43c9-a5d1-adde4e7213f7,O=CID-610640d2-0f8b-41fe-8fd2-1c90607ebdde
      189904692112133   Wed Jul 19 18:14:19 UTC 2023   Wed Jul 19 19:14:19 UTC 2023   CN=recon@quasar-ewnsjs-5.quasar-ewnsjs.root.hwx.site,OU=b1dac7e0-a3bc-43c9-a5d1-adde4e7213f7,O=CID-610640d2-0f8b-41fe-8fd2-1c90607ebdde CN=scm-sub-189287080855166@quasar-ewnsjs-5.quasar-ewnsjs.root.hwx.site,OU=b1dac7e0-a3bc-43c9-a5d1-adde4e7213f7,O=CID-610640d2-0f8b-41fe-8fd2-1c90607ebdde
      190904762028374   Wed Jul 19 18:30:59 UTC 2023   Wed Jul 19 19:30:59 UTC 2023   CN=recon@quasar-ewnsjs-5.quasar-ewnsjs.root.hwx.site,OU=b1dac7e0-a3bc-43c9-a5d1-adde4e7213f7,O=CID-610640d2-0f8b-41fe-8fd2-1c90607ebdde CN=scm-sub-189287080855166@quasar-ewnsjs-5.quasar-ewnsjs.root.hwx.site,OU=b1dac7e0-a3bc-43c9-a5d1-adde4e7213f7,O=CID-610640d2-0f8b-41fe-8fd2-1c90607ebdde
      191506767013551   Wed Jul 19 18:41:01 UTC 2023   Wed Jul 19 19:41:01 UTC 2023   CN=recon@quasar-ewnsjs-5.quasar-ewnsjs.root.hwx.site,OU=b1dac7e0-a3bc-43c9-a5d1-adde4e7213f7,O=CID-610640d2-0f8b-41fe-8fd2-1c90607ebdde CN=scm-sub-189287080855166@quasar-ewnsjs-5.quasar-ewnsjs.root.hwx.site,OU=b1dac7e0-a3bc-43c9-a5d1-adde4e7213f7,O=CID-610640d2-0f8b-41fe-8fd2-1c90607ebdde
      192504529554908   Wed Jul 19 18:57:39 UTC 2023   Wed Jul 19 19:57:39 UTC 2023   CN=recon@quasar-ewnsjs-5.quasar-ewnsjs.root.hwx.site,OU=b1dac7e0-a3bc-43c9-a5d1-adde4e7213f7,O=CID-610640d2-0f8b-41fe-8fd2-1c90607ebdde CN=scm-sub-189287080855166@quasar-ewnsjs-5.quasar-ewnsjs.root.hwx.site,OU=b1dac7e0-a3bc-43c9-a5d1-adde4e7213f7,O=CID-610640d2-0f8b-41fe-8fd2-1c90607ebdde
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            ssulav Soumitra Sulav
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: