mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-11-02 08:59:57 -06:00
Update the installation code to use the pki python client library to issue certificates. This is instead of using the `pki` CLI program and parsing its output strings. As part of this change, decompose the `pki_issue_certificate` function into two specialised functions, rather than a single function with different "modes". This makes the logic easier to follow (and enables the refactor to be done incrementally). Fixes: https://pagure.io/freeipa/issue/9738 Signed-off-by: Fraser Tweedale <ftweedal@redhat.com> Reviewed-By: Fraser Tweedale <ftweedal@redhat.com> Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com> Reviewed-By: Rafael Guterres Jeffman <rjeffman@redhat.com> Reviewed-By: Thomas Woerner <twoerner@redhat.com>