diff options
Diffstat (limited to 'install/tools')
-rwxr-xr-x | install/tools/ipa-server-install | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/install/tools/ipa-server-install b/install/tools/ipa-server-install index 672369c54..fafa14ea1 100755 --- a/install/tools/ipa-server-install +++ b/install/tools/ipa-server-install @@ -698,18 +698,23 @@ def main(): sys.exit(1) certdict = dict((DN(str(cert.subject)), cert) for cert in extchain) + del extchain certissuer = DN(str(extcert.issuer)) if certissuer not in certdict: print "The external certificate is not signed by the external CA (unknown issuer %s)." % certissuer sys.exit(1) cert = extcert + del extcert while cert.issuer != cert.subject: certissuer = DN(str(cert.issuer)) if certissuer not in certdict: print "The external CA chain is incomplete (%s is missing from the chain)." % certissuer sys.exit(1) + del cert cert = certdict[certissuer] + del certdict + del cert # We only set up the CA if the PKCS#12 options are not given. if options.dirsrv_pkcs12: |