Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ipa-replica-install with RHEL 6.8 master #69

Closed
wants to merge 1 commit into from

Conversation

flo-renaud
Copy link
Contributor

ipa-replica-prepare creates a gpg file containing realm_info/cacert.p12 with
the certificates.
When run on a RHEL 6.8 instance, cacert.p12 contains twice the same cert
(for caSigningCert cert-pki-ca), once with the nickname and once without.

ipa-replica-install passes this file to pkispawn and makes pkispawn fail.
The fix exports the pkcs12 file into a temp nsddb then re-creates a pkcs12
file from the nssdb (this process removes the duplicate cert).

https://fedorahosted.org/freeipa/ticket/6310

ipa-replica-prepare creates a gpg file containing realm_info/cacert.p12 with
the certificates.
When run on a RHEL 6.8 instance, cacert.p12 contains twice the same cert
(for caSigningCert cert-pki-ca), once with the nickname and once without.

ipa-replica-install passes this file to pkispawn and makes pkispawn fail.
The fix exports the pkcs12 file into a temp nsddb then re-creates a pkcs12
file from the nssdb (this process removes the duplicate cert).

https://fedorahosted.org/freeipa/ticket/6310
@MartinBasti MartinBasti self-assigned this Sep 15, 2016
Copy link
Contributor

@MartinBasti MartinBasti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good to me

@pvoborni
Copy link
Member

Is it still needed? Seems that fixing IPA 3.0 fixes the issue.

@flo-renaud
Copy link
Contributor Author

Please ignore this PR as the issue has been fixed in IPA 3.0 (in ipa-replica-prepare).

@MartinBasti MartinBasti added the rejected Pull Request has been rejected label Sep 16, 2016
@flo-renaud flo-renaud deleted the fixreplicainstall branch October 14, 2016 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rejected Pull Request has been rejected
Projects
None yet
3 participants