Red Hat Bugzilla – Bug 1445397
GET in KerberosSession.finalize_kerberos_acquisition() must use FreeIPA CA
Last modified: 2017-08-01 05:50:15 EDT
Cloned from upstream: https://pagure.io/freeipa/issue/6876 ```KerberosSession.finalize_kerberos_acquisition()``` uses ```requests``` to interact with IPA. The ```request.get()``` call performs a HTTP GET over HTTPS but fails to use FreeIPA's private CA file.
Upstream ticket: https://pagure.io/freeipa/issue/6876
Http code performed by this call doesn't use CA certificate/certificate store with full certificate chain of IPA server. So it might happen that in case that IPA is installed with externally signed CA certificate, the call can fail because of certificate validation and e.g. prevent session acquisition. If it will fail for sure is not known - the use case was not discovered, but it is faster and safer to fix preemptively.
Fixed upstream master: https://pagure.io/freeipa/c/c19196a0d3fc0a38c4c83cb8a7fde56e6bc310af ipa-4-5: https://pagure.io/freeipa/c/82679c11f1fc0701d753433d1f2d14c3ee0279af
Created attachment 1285053 [details] FreeIPA installation with external CA
Created attachment 1285054 [details] screenshot for webUI
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:2304