I have installed freeipa using this docker https://hub.docker.com/r/adelton/freeipa-server/ its works fine. I need to add one custom field to freeipa certificate details page.
I need to add one text field(my name) with no functionality in before "Serial Number" .
so I searched about the python file: I think this "/usr/lib/python2.7/site-packages/ipaserver/plugins/cert.py" python file to view the details.
so, i have add one custom fild to this file.
class BaseCertObject(Object): takes_params = ( Str( 'my_name', label=_('My Name'), flags={'no_create', 'no_update', 'no_search'}, ), Str( 'cacn?', cli_name='ca', default=IPA_CA_CN, autofill=True, label=_('Issuing CA'), doc=_('Name of issuing CA'), flags={'no_create', 'no_update', 'no_search'}, ),
I added "myname" filed its not works and that restart the docker and try it its not viewed in above form for me.
Suggest me How can I add one text field in freeipa cert form.
What is the field for? Is it read-only and based on the cert, or something you set yourself (e.g. an arbitrary label). What is the use case?
I need to add one text field read only option .
my use case ==> I need to get MD5 hash value for creating certificate and viewed to our custom text field.
I saw that MD5 Fingerprint value is there in freeipa, but we need MD% hash value of Certificate.
Suggest me How do i do that? or any reference.
Hello,
Could you please describe how MD5 fingerprint of a certificate is different from "MD5 hash value of Certificate" you require?
Also note that MD5 gets replaced with SHA-256 in FreeIPA 4.5.1 for any fingerprint counting.
Copying answer from #6901:
Could you describe your use case in more details. E.g. in user story form: As <persona, e.g. admin> , I want <what?> so that <why?>.
As <persona, e.g. admin> , I want <what?> so that <why?>
In general Web UI doesn't support adding of fields. It is possible to create Web UI plugin, but that requires a bit of knowledge how Web UI works internally.
https://pvoborni.fedorapeople.org/doc/#!/guide/Plugins
Because this is a general question and not actual RFE or bug report, closing as invalid.
Btw, the missing fingerprints are actually bug #6903 in 4.4 branch.
Metadata Update from @pvoborni: - Issue close_status updated to: invalid - Issue status updated to: Closed (was: Open)