[Freeipa-devel] [PATCHES 551-552, 623-624] cert: add owner information, allow search by certificate

Jan Cholasta jcholast at redhat.com
Wed Jun 15 10:33:27 UTC 2016


On 14.6.2016 11:44, Jan Cholasta wrote:
> On 21.4.2016 09:11, Jan Cholasta wrote:
>> On 6.4.2016 15:46, Pavel Vomacka wrote:
>>>
>>>
>>> On 03/16/2016 01:50 PM, Jan Cholasta wrote:
>>>> Hi,
>>>>
>>>> the attached patches implement the server-side part of
>>>> <https://fedorahosted.org/freeipa/ticket/5381>.
>>>>
>>>> Honza
>>>>
>>> Hi,
>>>
>>> thank you for the patches. I tested them and they work well. But I would
>>> like to ask you whether would be possible to extend the response of
>>> 'basecert_find' method and probably also 'basecert_show' response. I
>>> think of these information:
>>>
>>> 1) information whether the certificate is issued by our CA or not.
>>
>> You can check for that by comparing the issuer name of the certificate
>> to "CN=Certificate Authority,$SUBJECT_BASE". You can get subject base
>> from config-show.
>>
>>>
>>> 2) this probably wouldn't be possible (as we discussed), but I rather
>>> write it too - the information about revocation reason. The same as the
>>> 'cert_show' provides.
>>
>> Added --check-revocation flag to request this information. Currently it
>> works only on certificates issued by our CA.
>>
>>>
>>> 3) MD5 and SHA1 fingerprints as the 'cert_show' method returns
>>
>> Added, also included SHA-256.
>>
>>>
>>> Thank you again.
>>
>> Updated patches attached.
>
> Updated and rebased patches attached. Requires Fraser's sub-CA patches.

Attaching updated patch 623, which fixes these issues found by David: 
<https://paste.fedoraproject.org/378997/65913663/>.

-- 
Jan Cholasta
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-jcholast-623.1-cert-add-owner-information.patch
Type: text/x-patch
Size: 18058 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20160615/60709d73/attachment.bin>


More information about the Freeipa-devel mailing list