17c2e31 Don't move keys when key backup is disabled

Authored and Committed by cheimes 4 years ago
    Don't move keys when key backup is disabled
    
    The CA_BACKUP_KEYS_P12 file is not enabled when pki_backup_keys is
    set to False. It's the case when FreeIPA is configured with HSM support.
    
    Related: https://pagure.io/freeipa/issue/7677
    Signed-off-by: Christian Heimes <cheimes@redhat.com>
    Reviewed-By: Fraser Tweedale <ftweedal@redhat.com>