Puppet revoke all certs requests waiting on master

puppetpuppetmaster

I would like to know if there is a way to revoke some cert requests that came to my puppet master

e.g

 $ sudo puppet cert --list 

   "(none)"       (SHA256)
E6:91:40:DB:E6:C7:B7:56:7F:73:D3:3C:ED:FB:C7:DA:AC:A9:5B:CE:02:3A:38:19:AC:02:6D:A8:94

   "test2"     (SHA256) 
DB:0F:37:51:F1:12:86:9F:61:01:3E:B7:82:D5:57:5E:6E:83:BD:2F:23:93:F6:2B:34:85:D2:F0:27

I have these cert requests which i want to remove all together and so it does not show up next time i run the command

any ideas would be helpful

Best Answer

I suspect you may be looking at pending requests not certificates.

Unapproved requests are typically in the $ssldir/ssl/ca/requests (on my system /var/lib/puppet/ssl/ca/requests) directory. Just go into the directory and delete them using rm, or whatever.