With the --certificate option, cert-find should always return a result, but it currently doesn't if the provided certificate is not found in LDAP:
--certificate
cert-find
$ ipa cert-find --certificate=... --all --------------------- 1 certificate matched --------------------- ... Owner service: test/test.example.com@EXAMPLE.COM ---------------------------- Number of entries returned 1 ---------------------------- $ ipa service-mod test/test.example.com --certificate= ----------------------------------------------------------------------- Modified service "test/test.example.com@EXAMPLE.COM" ----------------------------------------------------------------------- ... $ ipa cert-find --certificate=... --all ---------------------- 0 certificates matched ---------------------- ---------------------------- Number of entries returned 0 ----------------------------
The second cert-find should return the same certificate as the first one.
Linked to Bugzilla bug: https://bugzilla.redhat.com/show_bug.cgi?id=1370519 (Red Hat Enterprise Linux 7)
master:
ipa-4-4:
Metadata Update from @jcholast: - Issue assigned to jcholast - Issue set to the milestone: FreeIPA 4.4.2
Login to comment on this ticket.