20b0a7a pkinit enable: use local dogtag only if host has CA

1 file Authored by frenaud 5 years ago, Committed by cheimes 5 years ago,
    pkinit enable: use local dogtag only if host has CA
    
    ipa-pkinit-manage enable is failing if called on a master
    that does not have a CA instance, because it is trying to
    contact dogtag on the localhost.
    The command should rather use certmonger in this case, and
    let certmonger contact the right master to request the KDC
    certificate.
    
    Fixes: https://pagure.io/freeipa/issue/7795
    Reviewed-By: Francois Cami <fcami@redhat.com>