Uploaded image for project: 'Puppet Server'
  1. Puppet Server
  2. SERVER-2353

puppetserver ca clean cannot remove signing requests

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Template:
      PUP Bug Template
    • Team:
      Froyo
    • Method Found:
      Needs Assessment
    • QA Risk Assessment:
      Needs Assessment

      Description

      This is the same issue as PUP-1916, but with puppetserver ca clean. If an agent has submitted a CSR, but it hasn't been signed yet, then puppetserver ca clean --certname <name> will fail trying to revoke the cert first.

      $ puppetserver ca clean --certname agent
      Error:
          When attempting to revoke certificate 'agent', received:
            code: 409
            body: Cannot revoke certificate for host agent without a signed certificate
      

      The clean action should only try to revoke the client cert if one has been issued.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              josh Josh Cooper
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support