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

    • ipa-4.12.0-1.el9
    • None
    • Moderate
    • 6
    • rhel-sst-idm-ipa
    • ssg_idm
    • 10
    • 18
    • 3
    • QE ack, 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-S6, 2024-Q3-Bravo-S1
    • Unspecified Release Note Type - Unknown
    • x86_64
    • None

      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
              Michal Polovka Michal Polovka
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: