From d4a80dbe52158f204e78afea742fc3322bbc65e5 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Tue, 6 Mar 2012 15:53:07 -0500 Subject: Display serial number as HEX (DECIMAL) when showing certificates. https://fedorahosted.org/freeipa/ticket/1991 --- ipaserver/plugins/selfsign.py | 1 + 1 file changed, 1 insertion(+) (limited to 'ipaserver/plugins/selfsign.py') diff --git a/ipaserver/plugins/selfsign.py b/ipaserver/plugins/selfsign.py index 2f13b1fd5..bbf8fa78a 100644 --- a/ipaserver/plugins/selfsign.py +++ b/ipaserver/plugins/selfsign.py @@ -221,6 +221,7 @@ class ra(rabase.rabase): cmd_result = {} cmd_result['serial_number'] = unicode(serial) # convert long to decimal unicode string + cmd_result['serial_number_hex'] = u'0x%X' % serial cmd_result['certificate'] = unicode(cert) cmd_result['subject'] = unicode(subject) -- cgit