summaryrefslogtreecommitdiffstats
path: root/install/tools/Makefile.am
diff options
context:
space:
mode:
authorJohn Dennis <jdennis@redhat.com>2012-08-15 21:33:15 -0400
committerMartin Kosek <mkosek@redhat.com>2012-08-16 12:53:57 +0200
commit390d708e43a71bf45b5a6e168277ebea483f473f (patch)
treef89de5a39b68bc007fb2be587ed3834ab427ea5c /install/tools/Makefile.am
parentb5d0a9fcb24c5154919f1b83b2fa2f5999f48ba9 (diff)
downloadfreeipa-390d708e43a71bf45b5a6e168277ebea483f473f.tar.gz
freeipa-390d708e43a71bf45b5a6e168277ebea483f473f.tar.xz
freeipa-390d708e43a71bf45b5a6e168277ebea483f473f.zip
Ticket #2584 - Installation fails when CN is set in certificate subject base
It is illegal to have more than one CN attribute in a certificate subject. The subject command line arg is actually inserting a dn between a leading RDN with a CN attribute and a suffix. The final subject must have only CN attribute therefore the subject command line arg must not contain CN. The patch modifies the subject validation to prohibit CN. It also improves the error messages to clearly indicate which command line parameter caused the failure and why. While fixing the above it discovered the logic used for subject validation with an external CA was flawed. DN objects were not being used when they should be (certificate subject and issuer fields are dn syntax). That code was also fixed so that the comparisions between subjects and issuers were performed with DN objects. While fixing this it was noted the object type relationship between IPA DN objects and x509 DN objects was awkward, ticket 3003 was opened to address this.
Diffstat (limited to 'install/tools/Makefile.am')
0 files changed, 0 insertions, 0 deletions