#1111 ipa-server-install crashes when installed with external certificate
Closed: Duplicate None Opened 7 years ago by mkosek.

IPA install with Dogtag 10 fails with IndexError even when PKCS#7 file is used.

This is caused by submitting the content of the PKCS#7 file to Dogtag prior to trimming its header and footer:

    -----BEGIN PKCS7-----
    . . .
    -----END PKCS7-----

Steps to reproduce:

# ipa-server-install --external-ca
# ipa-server-install --external_cert_file=pkcs7.signed-file
--external_ca_file=ca-cert.pem

Actual results:
  [16/22]: restarting certificate server
  [17/22]: requesting RA certificate from CA
Unexpected error - see /var/log/ipaserver-install.log for details:
IndexError: list index out of range

Although the submission code has been altered to trim the header and footer prior to submitting the content to Dogtag, this ticket requests that Dogtag be altered to strip any potential header/footer that may have been submitted.


Per discussions in the Dogtag 10.3 Triage meeting of 01/06/2016: priority low

In ticket #456 the code was modified to accept base-64 encoded PKCS #7 data, either with header & footer or without. See the following commit:

  • 20c985ae773b26f653cac6d22bd9d93923e18c8e

I'm closing this ticket as a duplicate.

Metadata Update from @mkosek:
- Issue assigned to edewata
- Issue set to the milestone: 10.3.1

4 years ago

Dogtag PKI is moving from Pagure issues to GitHub issues. This means that existing or new
issues will be reported and tracked through Dogtag PKI's GitHub Issue tracker.

This issue has been cloned to GitHub and is available here:
https://github.com/dogtagpki/pki/issues/1674

If you want to receive further updates on the issue, please navigate to the
GitHub issue and click on Subscribe button.

Thank you for understanding, and we apologize for any inconvenience.

Login to comment on this ticket.

Metadata