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.

Bug 1206534

Summary: [RFE] Offer Kerberos over HTTP (kdcproxy) by default
Product: Red Hat Enterprise Linux 7 Reporter: Martin Kosek <mkosek>
Component: ipaAssignee: IPA Maintainers <ipa-maint>
Status: CLOSED ERRATA QA Contact: Namita Soman <nsoman>
Severity: unspecified Docs Contact: Aneta Šteflová Petrová <apetrova>
Priority: medium    
Version: 7.0CC: cheimes, mnavrati, pvoborni, rbiba, rcritten, xdong
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ipa-4.2.0-1.el7 Doc Type: Release Note
Doc Text:
Kerberos HTTPS proxy in Identity Management A Key Distribution Center (KDC) proxy function, interoperable with the Microsoft Kerberos KDC Proxy Protocol (MS-KKDCP) implementation, is now available in Identity Management and allows clients to access the KDC and *kpasswd* services by using HTTPS. System administrators can now expose the proxy at their network edge by a simple HTTPS reverse proxy without the need to set up and manage a dedicated application.
Story Points: ---
Clone Of:
: 1246517 (view as bug list) Environment:
Last Closed: 2015-11-19 12:03:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1181710    

Description Martin Kosek 2015-03-27 11:25:32 UTC
This bug is created as a clone of upstream ticket:
https://fedorahosted.org/freeipa/ticket/4801

This would add kdcproxy as a dependency of FreeIPA and we would just mount the WSGI application on a particular path. This would allow admins to expose the proxy at their network edge by a simple HTTP reverse proxy without having to setup and manage a dedicated application.

Comment 1 Petr Vobornik 2015-06-24 08:46:22 UTC
Fixed upstream
master:
https://fedorahosted.org/freeipa/changeset/495da412f155603c02907187c21dd4511281df2c

Comment 5 Xiyang Dong 2015-09-08 13:22:49 UTC
Verified on ipa-4.2.0-5.el7.x86_64:

Test Cases:
RHEL7-31718 - IPA-TC: KDCProxy: Configure client krb5.conf,run kinit/kvno/kpasswd
Step:
0) destroy existing credential cache 1) login with password 2) acquire a service ticket with kvno 3) Change password with kpasswd and log in with the new password	
Expected Result:
Pass,Kerberos over HTTPS to 443

RHEL7-31719 - IPA-TC: KDCProxy: Server disable KDC Proxy,configure client krb5.conf,run kinit/kvno
Step:
0) destroy existing credential cache 1) login with password 2) acquire a service ticket with kvno 3) Change password with kpasswd and log in with the new password	
Expected Result:
Fail,kinit/kvno/kpassword fail with Cannot contact any KDC

RHEL7-31720 - IPA-TC: KDCProxy: Server enable firewalld,configure client krb5.conf,run kinit/kvno/kpasswd
Step:
0) destroy existing credential cache 1) login with password 2) acquire a service ticket with kvno 3) Change password with kpasswd and log in with the new password
Expected Result:
Fail,kinit/kvno/kpassword fail with Cannot contact any KDC

RHEL7-31721 - IPA-TC: KDCProxy: Configure client krb5.conf with multiple kdc,run kinit/kvno/kpasswd
Step:
0) destroy existing credential cache 1) login with password 2) acquire a service ticket with kvno 3) Change password with kpasswd and log in with the new password
Expected Result:
Pass,Kerberos over HTTPS to 443,sending request/receiving answer via master

RHEL7-31722 - IPA-TC: KDCProxy: Stop ipa service(or start firewalld) on master,configure client krb5.conf with multiple kdc,run kinit/kvno/kpasswd
Step:
0) destroy existing credential cache 1) login with password 2) acquire a service ticket with kvno 3) Change password with kpasswd and log in with the new password	
Expected Result:
Pass,Kerberos over HTTPS to 443,sending request/receiving answer via replica

RHEL7-31723 - IPA-TC: KDCProxy: configure client krb5.conf with no http_anchors, trust anchor in the system store: run kinit/kvno/kpasswd
Step:
0) destroy existing credential cache 1) login with password 2) acquire a service ticket with kvno 3) Change password with kpasswd and log in with the new password	
Expected Result:
Pass,Kerberos over HTTPS to 443

RHEL7-31724 - IPA-TC: KDCProxy: configure client krb5.conf with no http_anchors, trust anchor not in the system store: run kinit/kvno/kpasswd
Step:
0) destroy existing credential cache 1) login with password 2) acquire a service ticket with kvno 3) Change password with kpasswd and log in with the new password
Expected Result:
Fail,kinit/kvno/kpassword fail with Cannot contact any KDC

RHEL7-31725 - IPA-TC: KDCProxy: configure client krb5.conf with http_anchors points to PEM file, trust anchor in the system store: run kinit/kvno/kpasswd
Step:
0) destroy existing credential cache 1) login with password 2) acquire a service ticket with kvno 3) Change password with kpasswd and log in with the new password	
Expected Result:
Pass,Kerberos over HTTPS to 443

RHEL7-31726 - IPA-TC: KDCProxy: configure client krb5.conf with http_anchors points to wrong file, trust anchor in the system store: run kinit/kvno/kpasswd
Step:
0) destroy existing credential cache 1) login with password 2) acquire a service ticket with kvno 3) Change password with kpasswd and log in with the new password	
Expected Result:
Fail,kinit/kvno/kpassword fail with Cannot contact any KDC


Test ran successfully.

Comment 6 errata-xmlrpc 2015-11-19 12:03:15 UTC
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://rhn.redhat.com/errata/RHBA-2015-2362.html