b36ee72 Fix ipa-certupdate for CA-less installation

1 file Authored by frenaud 7 years ago, Committed by jcholast 7 years ago,
    Fix ipa-certupdate for CA-less installation
    
    In a CA-less installation, ipa-certupdate fails with the error message:
      $ ipa-certupdate
      trying https://vm-180.abc.idm.lab.eng.brq.redhat.com/ipa/session/json
      Forwarding 'ca_is_enabled' to json server 'https://vm-180.abc.idm.lab.eng.brq.redhat.com/ipa/session/json'
      Forwarding 'ca_find/1' to json server 'https://vm-180.abc.idm.lab.eng.brq.redhat.com/ipa/session/json'
      CA is not configured
      The ipa-certupdate command failed.
    
    The issue happens because ipa-certupdate tries to call ca_find even on a
    CA_less deployment. The fix skips the call to ca_find in this case.
    
    https://fedorahosted.org/freeipa/ticket/6288
    
    Reviewed-By: Tomas Krizek <tkrizek@redhat.com>
    
        
file modified
+4 -3