https://bugzilla.redhat.com/show_bug.cgi?id=746060
Description of problem: In Netscape/Firefox, certificate serial number is displayed in hex, but when viewing cert details in IPA UI, the Serial number is in decimal Version-Release number of selected component (if applicable): ipa-server-2.1.2-2.el6.x86_64 How reproducible: Steps to Reproduce: 1. Go to Services - click on http/<servername> 2. View cert 3. Serial number is in decimal 4. Using Firefox, view the same cert, and the cert serial number is in hex Actual results: Cert serial number in UI and browser are in different notations Expected results: they should use same notation Additional info:
Show both decimal and hex in the UI/CLI.
attachment freeipa-rcrit-924-serial.patch
Serial number will be displayed as: hex (dec)
# ipa service-show HTTP/rawhide.example.com Principal: HTTP/rawhide.example.com@EXAMPLE.COM Certificate: [snip] Keytab: True Managed by: rawhide.example.com Subject: CN=rawhide.example.com,O=EXAMPLE.COM Serial Number: 0x403 (1027) Issuer: CN=EXAMPLE.COM Certificate Authority Not Before: Fri Jan 13 15:00:44 2012 UTC Not After: Thu Jan 13 15:00:44 2022 UTC Fingerprint (MD5): e5:43:17:0d:8d:af:d6:69:d8:fb:eb:ca:79:fb:47:69 Fingerprint (SHA1): c2:9e:8e:de:42:c9:4a:29:cc:b0:a0:de:57:c7:b7:d8:f9:b5:fe:e6
Moving to next month iteration.
Going to take another crack at this and create a new cert attribute to store the serial number value in hex.
New patch posted.
master:[[br]] d4a80db[[br]] d082b64
ipa-2-2:[[br]] b7a7b4c[[br]] 62dc232
Metadata Update from @rcritten: - Issue assigned to rcritten - Issue set to the milestone: FreeIPA 2.2 Core Effort - 2012/03
Login to comment on this ticket.