504c303 Fix external renewal for CA with non-default subject DN

1 file Authored by ftweedal 6 years ago, Committed by tkrizek 6 years ago,
    Fix external renewal for CA with non-default subject DN
    
    When running ``ipa-cacert-manage renew --external-ca`` with an IPA
    CA having a subject DN that does not correspond to ``CN=Certificate
    Authority, {subject-base}``, the CSR for submission to the external
    CA does not generated.  dogtag-ipa-ca-renew-agent-submit is wrongly
    assuming the default form of the CA subject DN.
    
    Update dogtag-ipa-ca-renew-agent-submit to look up the actual
    subject DN.
    
    Fixes: https://pagure.io/freeipa/issue/7123
    Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
    Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>