cert: add missing param values to cert-find output
Add back `serial_number_hex` and `revoked` param values to cert-find output
accidentally removed in commit c718ef0588.
https://fedorahosted.org/freeipa/ticket/6269
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
1 parent
5251cf5d14
commit
22d5f579bb
1 file changed
+2
-1
@@ -1207,7 +1207,8 @@ class cert_find(Search, CertMethod):
|
||||
obj = ra_obj
|
||||
obj['issuer'] = issuer
|
||||
obj['subject'] = DN(ra_obj['subject'])
|
||||
del obj['serial_number_hex']
|
||||
obj['revoked'] = (
|
||||
ra_obj['status'] in (u'REVOKED', u'REVOKED_EXPIRED'))
|
||||
|
||||
if all:
|
||||
ra_obj = ra.get_certificate(str(serial_number))
|
||||
|
||||
Reference in new issue
Block a user