Title: #1843: Allow issuing certificates with IP addresses in subjectAltName (ftweedal)
Continuation of https://github.com/freeipa/freeipa/pull/1700
adding commits by @ftweedal.
Please keep both PRs open for the time being.
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/1843/head:pr1843
git checkout pr1843