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

ipa-server-install with external CA: fix pkinit cert issuance #754

Closed
wants to merge 1 commit into from

Conversation

flo-renaud
Copy link
Contributor

@flo-renaud flo-renaud commented May 3, 2017

ipa-server-install with external CA fails to issue pkinit certs.
This happens because the installer calls
krb = krbinstance.KrbInstance(fstore)
then
krb.enable_ssl()
and in this code path self.config_pkinit is set to None, leading to a wrong
code path.

The fix initializes the required fields of the krbinstance before calling
krb.enable_ssl.

https://pagure.io/freeipa/issue/6921

ipa-server-install with external CA fails to issue pkinit certs.
This happens because the installer calls
krb = krbinstance.KrbInstance(fstore)
then
krb.enable_ssl()
and in this code path self.config_pkinit is set to None, leading to a wrong
code path.

The fix initializes the required fields of the krbinstance before calling
krb.enable_ssl.

https://pagure.io/freeipa/issue/6921
@stlaz stlaz self-assigned this May 3, 2017
@stlaz
Copy link
Contributor

stlaz commented May 3, 2017

LGTM, will test it.

Copy link
Member

@Akasurde Akasurde left a comment

Choose a reason for hiding this comment

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

LGTM. Patch is working as expected.

@stlaz stlaz added the ack Pull Request approved, can be merged label May 3, 2017
@tkrizek tkrizek added the pushed Pull Request has already been pushed label May 3, 2017
@tkrizek
Copy link
Contributor

tkrizek commented May 3, 2017

ipa-4-5:

  • 8107125 ipa-server-install with external CA: fix pkinit cert issuance

master:

  • a249230 ipa-server-install with external CA: fix pkinit cert issuance

@tkrizek tkrizek closed this May 3, 2017
@flo-renaud flo-renaud deleted the t6921 branch May 5, 2017 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ack Pull Request approved, can be merged pushed Pull Request has already been pushed
Projects
None yet
4 participants