Title: #6002: [Backport][ipa-4-9] Catch and log errors when adding CA profiles
This PR was opened automatically because PR #5995 was pushed to master and backport to
ipa-4-9 is required.
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/6002/head:pr6002
git checkout pr6002