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

Ability to destroy multiple CSRs at once

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Template:
    • Team:
      Froyo
    • QA Risk Assessment:
      Needs Assessment

      Description

      It would be super helpful to be able to destroy multiple pending certs at once, for example:

      sudo puppet ca destroy bad-host.example.net other-bad-host.example.net
      

      We end up getting a lot of bad CSRs, and it would be very expensive to fix on the other end. We currently have 450+. I end up dong things like:

      sudo puppet ca list | awk '/bad-host/ {print$1}' | xargs -n 1 sudo puppet ca destroy
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              daniel.parks Daniel Parks
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support