Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-18062

ipa ca-show NAME --certificate-out=file creates empty file when NAME does not exist

    • Normal
    • sst_idm_ipa
    • ssg_idm
    • 10
    • 3
    • Dev ack
    • False
    • Hide

      None

      Show
      None
    • No
    • 2024-Q1-Bravo-S6, 2024-Q2-Bravo-S1, 2024-Q2-Bravo-S2, 2024-Q2-Bravo-S3, 2024-Q2-Bravo-S4
    • Unspecified Release Note Type - Unknown
    • x86_64

      What were you trying to do that didn't work?

      ipa ca-show NAME --certificate-out=' creates empty file when NAME does not exist

      Please provide the package NVR for which bug is seen:

      How reproducible:

      Steps to reproduce

      1. Run this command on IPA host:
      2. ipa ca-show <CANAME> --certificate-out=<somefilename>
      1. This command create an empty output file even when <CANAME> does not exist as a CA in IPA

      Expected results

      The command 

      ipa ca-show <CANAME> --certificate-out=<somefilename> 

      should not create any output file when <CANAME> does not exist

      Actual results

      The command creates an empty output file even when <CANAME> does not exist

            rhn-engineering-rcrit Rob Crittenden
            rhn-support-qpham Quynh Anh Pham
            Florence Renaud Florence Renaud
            IPA QE Bot IPA QE Bot
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: