Issue #16798 has been updated by Jeff McCune. Assignee changed from Sean Millichamp to Jeff McCune
# Working I'm currently working on this issue and expect to have it merged into 2.7.x, 3.x, and master within the hour. The small additional changes I layered on top can be seen at: <https://github.com/jeffmccune/puppet/compare/puppetlabs:2.7.x...jeffmccune:bug/2.7.x/16798_revoke_cert_by_serial> -Jeff ---------------------------------------- Bug #16798: CA SSL certificate revoke doesn't allow specification by serial number https://projects.puppetlabs.com/issues/16798#change-74595 Author: Sean Millichamp Status: Code Insufficient Priority: Normal Assignee: Jeff McCune Category: SSL Target version: Affected Puppet version: 2.7.12 Keywords: ssl certificate revoke Branch: https://github.com/puppetlabs/puppet/pull/1210 The documentation for 'puppet cert' claims that you should be able to revoke SSL certificates by specifying their serial number in hex: <pre> * revoke: Revoke the certificate of a client. The certificate can be specified either by its serial number (given as a decimal number or a hexadecimal number prefixed by '0x') or by its hostname. The certificate is revoked by adding it to the Certificate Revocation List given by the 'cacrl' configuration option. Note that the puppet master needs to be restarted after revoking certificates. </pre> Based on this I would have expected this behavior: <pre> # puppet cert revoke 0x032e notice: Revoked certificate with serial 814 </pre> Instead: <pre> # puppet cert revoke 0x032e err: Could not call revoke: Could not find a serial number for 0x032e </pre> This does not currently work, it is attempting to match only on certificate name. I first encountered this in PE's 2.7.12, but based on a quick look it appears to have been broken for a while. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
