Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
1.4.0
-
None
-
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