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.
Description of problem:
Re-installing FreeIPA causes Error during certificate import.
Version-Release number of selected component (if applicable):
How reproducible:
ipa-server-install ...
Actual results:
[error] NSPRError: (SEC_ERROR_REUSED_ISSUER_AND_SERIAL) You are attempting to import a cert with the same issuer/serial as an existing cert, but that is not the same cert.
ipa.ipapython.install.cli.install_tool(Server): ERROR (SEC_ERROR_REUSED_ISSUER_AND_SERIAL) You are attempting to import a cert with the same issuer/serial as an existing cert, but that is not the same cert.
Additional info:
I was unable to locate where the certificates existed, nor was it indicated in any documentation. ipa-server-uninstall did not completely uninstall in this regard.
(In reply to Petr Vobornik from comment #2)
> What version of IPA? Could you attach ipaserver-install.log?
Provided by RHEL7, FreeIPA Version
4.2.0-15
I attached Install Log, This is another one, Keep in mind, this install has been attempted many times, and if a certificate store hangs around post-uninstall that would be very likely the problem.
It fails on storing RA agent cert.
After ipa-server-install --uninstall
Check /etc/httpd/alias for the cert.
# certutil -L -d /etc/httpd/alias
If you want clean state then you can remove all certs there.
# certutil -D -n 'ipaCert' -d /etc/httpd/alias
For completness: other IPA related NSS databases:
CA: /etc/pki/pki-tomcat/alias
DS: /etc/dirsrv/slapd-MY-REALM-TEST