#9562 ipa ca-show NAME --certificate-out=file creates empty file when NAME does not exist
Closed: fixed 9 months ago by frenaud. Opened 10 months ago by rcritten.

Issue

Cloned from https://issues.redhat.com/browse/RHEL-18062

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

Steps to Reproduce

  1. ipa ca-show unknown --certificate-out=<somefilename>

Actual behavior

An empty file <somefilename> is created.

Expected behavior

No file should be created if a CA does not exist.


Metadata Update from @rcritten:
- Custom field rhbz adjusted to https://issues.redhat.com/browse/RHEL-18062

10 months ago

master:

  • a9bb811 Check for file permissions after the ca/cert-show is complete
  • 5d3c6b7 Return 2 when certificates are not found during requests

ipa-4-11:

  • 3d8a516 Check for file permissions after the ca/cert-show is complete
  • 759164a Return 2 when certificates are not found during requests

Metadata Update from @frenaud:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

9 months ago

Metadata Update from @abbra:
- Custom field changelog adjusted to When saving a CA certificate as part of ipa ca/cert-show NAME commands, an empty file was created when CA was not found by that name. Empty file is not created anymore, making easier an automated certificate issuance.

8 months ago

Log in to comment on this ticket.

Metadata