[Freeipa-devel] [freeipa PR#173][opened] Ensure correct IPA CA nickname in DS and HTTP NSSDBs

frasertweedale freeipa-github-notification at redhat.com
Thu Oct 20 05:03:03 UTC 2016


   URL: https://github.com/freeipa/freeipa/pull/173
Author: frasertweedale
 Title: #173: Ensure correct IPA CA nickname in DS and HTTP NSSDBs
Action: opened

PR body:
"""
During replica installation, if the IPA deployment has a custom
subject_base, the routines that create the DS and HTTP NSSDBs
erroneously compare the subject of CA certs to the *default* subject
base. This causes the IPA CA cert to be added to the NSSDBs with a
nickname derived from the subject name, instead of "{REALM} IPA CA".

At a later stage of installation, the `upload_cacrt` plugin reads
certs from the HTTP NSSDB in order to update the cn=certificates
LDAP certstore.  The NSSDB nickname of the cert is used as the CN
for the entry.  Because the IPA CA cert was not installed in the
HTTP NSSDB with the "{REALM} IPA CA", this causes a spurious entry
for the IPA CA to be added to the certstore.

To avoid this scenario, use the deployment's actual subject base
when deciding if a cert is the IPA CA cert.

Fixes: https://fedorahosted.org/freeipa/ticket/6415
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/173/head:pr173
git checkout pr173
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pr-173.patch
Type: text/x-diff
Size: 2568 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20161020/9f6ae7eb/attachment.bin>


More information about the Freeipa-devel mailing list