Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
According to an IRC conversation about this issue, the problem looks to be a test issue with an improper trust chain. Please update this bug as soon as the correct procedure is used.
Order of putting the CA and sub-CA was not right in generating CA Chain inside automation code, so installation failed.
Now proper CA chain has been added and installation is successful. Bug can be closed
Description of problem: Unable to install ipa server with external CA. CA debug log indicates caServerCert profile is not available. Version-Release number of selected component (if applicable): ipa-server-3.3.3-20.el7.x86_64 nss-3.15.4-5.el7.x86_64 pki-base-10.0.5-3.el7.noarch How reproducible: always Steps to Reproduce: # ipa-server-install --external-ca --setup-dns --forwarder=10.11.5.19 --hostname=sparks.testrelm.test -r TESTRELM.TEST -n testrelm.test -p Secret123 -P Secret123 -a Secret123 -U # certutil -N -d . # certutil -S -d . -n primary -s "CN=Primary CA, O=testrelm" -x -t CTu,CTu,CTu -g 2048 -m 0 -v 60 -z /etc/group -2 -1 -5 # certutil -S -d . -n secondary -s "CN=Secondary CA, O=testrelm" -c primary -t CTu,CTu,CTu -m 1 -v 60 -z /etc/group -2 -1 -5 # certutil -d /root/ipa-ca/ -C -c secondary -2 -1 -5 -m 1 -v 60 -i /root/ipa.csr -o /root/ipa-ca/ipa.crt -a # certutil -d . -L -n primary -a > ipacacaert.asc # certutil -d . -L -n secondary -a >> ipacacaert.asc # ipa-server-install --external_cert_file=/root/ipa-ca/ipa.crt --external_ca_file=/root/ipa-ca/ipacacaert.asc Actual results: install fails with: Unexpected error - see /var/log/ipaserver-install.log for details: IndexError: list index out of range Expected results: Successfull installation Additional info: Back trace: 2014-03-11T19:18:41Z DEBUG [17/22]: requesting RA certificate from CA 2014-03-11T19:18:41Z DEBUG Starting external process 2014-03-11T19:18:41Z DEBUG args=/usr/bin/certutil -d /etc/httpd/alias -f XXXXXXXX -R -k rsa -g 2048 -s CN=IPA RA,O=TESTRELM.TEST -z /tmp/tmpIEWZSR -a 2014-03-11T19:18:43Z DEBUG Process finished, return code=0 2014-03-11T19:18:43Z DEBUG stdout= Certificate request generated by Netscape certutil Phone: (not specified) Common Name: IPA RA Email: (not specified) Organization: TESTRELM.TEST State: (not specified) Country: (not specified) -----BEGIN NEW CERTIFICATE REQUEST----- MIICbjCCAVYCAQAwKTEWMBQGA1UEChMNVEVTVFJFTE0uVEVTVDEPMA0GA1UEAxMG^M SVBBIFJBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAy0idv9ynoQIV^M wJLlA+5ClBGXXoaPoxv8HpqehoEWZkYJg08q+t6mtz+1+8At/tXkLRw4CnFUTLw9^M QaOrPTvu8Qcq82wVRmyq7V0/2NUH/ja3PhGYajQvYubk0WzCXG66wqfX/pmYSMtw^M GbucWlMkkB950fM6ht5IRDpkYlrMtZf/kQvAmbSTC+SkyzH0ux+uvlChCwdFlcG/^M +yDiC1r1xIvcAP4I1jDSss7NarMm4tg6afq6Q3nV5hUm5v856em2tOvx1XMyF19J^M kdCaWRnWPIOncnNoNPdEUOPIN29qwZVqXen81wqex+pm5Tvaj6RDikhTB6irJ2+U^M YV6H3gZKjwIDAQABoAAwDQYJKoZIhvcNAQEFBQADggEBAFjy57Hpk59lpukajpEY^M 6uUizjl6Kijdm+vg4RDAu15maIQdRieRo0GNCs1jxmmytgw50MvbcNrM/idZDzWs^M aLJ3pG9c+jXcYRQ9Ajjjk7ZEOyTtKK0XrWV9RUtGYTTrANgm7lpi5b5qqFirl7hC^M d8fIPjCuKjJpjGa3inOPXyljnUW/nUGOJ2qp2rVoNfnG5ZvOWZkLnLCR8DNhqe1A^M cDoAqQp4YJmVCMozB58KQbl0+DG4ywsD/a1V81ONwRbN9LUxHNMkjlMTh8zhtMUG^M 7en9PVmJ00+1joYIyUfJ59j2kfSGgUQ/N+VD4mYeFoVCfcl6ODoEJbovnYGGOrOl^M qfs= -----END NEW CERTIFICATE REQUEST----- 2014-03-11T19:18:43Z DEBUG stderr= Generating key. This may take a few moments... 2014-03-11T19:18:43Z DEBUG File "/usr/lib/python2.7/site-packages/ipaserver/install/installutils.py", line 622, in run_script return_value = main_function() File "/usr/sbin/ipa-server-install", line 1094, in main subject_base=options.subject) File "/usr/lib/python2.7/site-packages/ipaserver/install/cainstance.py", line 478, in configure_instance self.start_creation(runtime=210) File "/usr/lib/python2.7/site-packages/ipaserver/install/service.py", line 364, in start_creation method() File "/usr/lib/python2.7/site-packages/ipaserver/install/cainstance.py", line 1089, in __request_ra_certificate self.requestId = item_node[0].childNodes[0].data 2014-03-11T19:18:43Z DEBUG The ipa-server-install command failed, exception: IndexError: list index out of range CA debug log: [11/Mar/2014:15:18:43][http-bio-8080-exec-2]: CMSServlet: caProfileSubmit start to service. [11/Mar/2014:15:18:43][http-bio-8080-exec-2]: xmlOutput true [11/Mar/2014:15:18:43][http-bio-8080-exec-2]: ProfileSubmitServlet: isRenewal false [11/Mar/2014:15:18:43][http-bio-8080-exec-2]: according to ccMode, authorization for servlet: caProfileSubmit is LDAP based, not XML {1}, use default authz mgr: {2}. [11/Mar/2014:15:18:43][http-bio-8080-exec-2]: Profile caServerCert Not Found [11/Mar/2014:15:18:43][http-bio-8080-exec-2]: ProfileSubmitServlet: bad data provided in processing request: Profile caServerCert Not Found [11/Mar/2014:15:18:43][http-bio-8080-exec-2]: CMSServlet: curDate=Tue