Title: #5095: [Backport][ipa-4-8] Only restart DS when duplicate cacert was found
This PR was opened automatically because PR #5093 was pushed to master and backport to
ipa-4-8 is required.
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/5095/head:pr5095
git checkout pr5095