Feature #823

puppetca -l -a support (show all certificates - including signed)

Added by Adrian Bridgett over 4 years ago. Updated over 4 years ago.

Status:Closed Start date:
Priority:Normal Due date:
Assignee:Luke Kanies % Done:

0%

Category:-
Target version:0.24.0
Affected Puppet version:0.25.4 Branch:
Keywords:
Votes: 0

Description

Sometimes I’d like to view signed certificates (in particular to clear bad certificates). This patch adds support for this by just extending the —list operator to understand —all. It then adds signed certificates. Sample output:

unsigned anotherunsigned + signedcert + andanothersigned

list_all.diff (1.7 kB) Adrian Bridgett, 09/14/2007 10:20 pm

puppetca2 (1.3 kB) Adrian Bridgett, 09/17/2007 09:44 pm

History

Updated by Adrian Bridgett over 4 years ago

actually, the patch is incomplete as puppetca quits early if there are no keys to sign

Updated by Adrian Bridgett over 4 years ago

fixed patch. got a bit uglier I’m afraid, I suspect that adding —all support to clean etc could make things a bit more uniform.

the patch sitll requires the ca.rb patch from the previous diff.

Updated by Luke Kanies over 4 years ago

  • Status changed from 1 to Closed
  • 7 set to fixed

Fixed in commit:1b2142b7dd9ef7bea2c4591e512feef230ecc072.

Also available in: Atom PDF