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 1083878 - Proxy change required on Master IPA Server to allow IPA Replica when using Dogtag
Summary: Proxy change required on Master IPA Server to allow IPA Replica when using Do...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ipa
Version: 6.6
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: rc
: ---
Assignee: Martin Kosek
QA Contact: Namita Soman
URL:
Whiteboard:
Depends On: 1080865
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-03 07:15 UTC by Martin Kosek
Modified: 2014-10-14 07:32 UTC (History)
2 users (show)

Fixed In Version: ipa-3.0.0-38.el6
Doc Type: Bug Fix
Doc Text:
Cause: When IdM PKI clone in RHEL-7.0 is being installed, it needs to access /ca/ee/ca/profileSubmit URI on the IdM server it replicates from. However, IdM in RHEL-6 does not export this URI in the httpd proxy configuration. Consequence: Installation of IdM replica with PKI component in RHEL-7.0 fails when installed against a RHEL-6 master. Fix: /ca/ee/ca/profileSubmit URI was added to RHEL-6 IdM proxy configuration. Result: IdM in RHEL-7.0 with PKI component can be installed as a replica of RHEL-6 server.
Clone Of: 1080865
Environment:
Last Closed: 2014-10-14 07:32:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:1383 0 normal SHIPPED_LIVE ipa bug fix and enhancement update 2014-10-14 01:21:36 UTC

Description Martin Kosek 2014-04-03 07:15:48 UTC
+++ This bug was initially created as a clone of Bug #1080865 +++

This bug is created as a clone of upstream ticket:
https://fedorahosted.org/freeipa/ticket/4265

This ticket is being filed to address the changes that are a part of the following Dogtag ticket:
* [https://fedorahosted.org/pki/ticket/816 pki-tomcat cannot be started after installation of ipa replica with ca]

Basically, the Dogtag change requires the Dogtag Clone's SSL Server certificate (located on the IPA Replica) to be issued by its associated Dogtag Master (located on the IPA Master).

Basically, the following change needs to take place in the IPA Master's '/etc/httdp/conf.d/ipa-pki-proxy.cfg' file.  Change:

  # matches for ee port
  <LocationMatch "^^/ca/ee/ca/checkRequest|^^/ca/ee/ca/getCertChain|^^/ca/ee/ca/getTo
  kenInfo|^^/ca/ee/ca/tokenAuthenticate|^^/ca/ocsp|^^/ca/ee/ca/updateNumberRange|^^/ca
  /ee/ca/getCRL">
      NSSOptions +StdEnvVars +ExportCertData +StrictRequire +OptRenegotiate
      NSSVerifyClient none
      ProxyPassMatch ajp://localhost:8009
      ProxyPassReverse ajp://localhost:8009
  </LocationMatch>

to:

  # matches for ee port
  <LocationMatch "^^/ca/ee/ca/checkRequest|^^/ca/ee/ca/getCertChain|^^/ca/ee/ca/getTo
  kenInfo|^^/ca/ee/ca/tokenAuthenticate|^^/ca/ocsp|^^/ca/ee/ca/updateNumberRange|^^/ca
  /ee/ca/getCRL'''|^^/ca/ee/ca/profileSubmit'''">
      NSSOptions +StdEnvVars +ExportCertData +StrictRequire +OptRenegotiate
      NSSVerifyClient none
      ProxyPassMatch ajp://localhost:8009
      ProxyPassReverse ajp://localhost:8009
  </LocationMatch>

--- Additional comment from Martin Kosek on 2014-03-26 05:16:55 EDT ---

Fixed upstream:

master: https://fedorahosted.org/freeipa/changeset/6ecc4600e9370a637916360396f18699e4b7f59b/
ipa-3-3: https://fedorahosted.org/freeipa/changeset/8e8a020f8d2476cca321349fa24db4bee95270d8/

--- Additional comment from Martin Kosek on 2014-03-26 09:51:10 EDT ---

QE instructions - we can verify as SanityOnly and just make sure that replica installation with CA (--setup-ca/ipa-ca-install) still works.

You can also verify the change by making sure that the missing URI is in the IPA PKI proxy configuration:

# grep /ca/ee/ca/profileSubmit /etc/httpd/conf.d/ipa-pki-proxy.conf

--- Additional comment from Namita Soman on 2014-03-26 12:14:37 EDT ---

using ipa-server-3.3.3-25.el7.x86_64
# grep /ca/ee/ca/profileSubmit /etc/httpd/conf.d/ipa-pki-proxy.conf

# grep profileSubmit /etc/httpd/conf.d/ipa-pki-proxy.conf
<LocationMatch "^/ca/agent/ca/displayBySerial|^/ca/agent/ca/doRevoke|^/ca/agent/ca/doUnrevoke|^/ca/agent/ca/updateDomainXML|^/ca/eeca/ca/profileSubmitSSLClient">


verified update with ipa-server-3.3.3-27.el7.x86_64
# grep /ca/ee/ca/profileSubmit /etc/httpd/conf.d/ipa-pki-proxy.conf
<LocationMatch "^/ca/ee/ca/checkRequest|^/ca/ee/ca/getCertChain|^/ca/ee/ca/getTokenInfo|^/ca/ee/ca/tokenAuthenticate|^/ca/ocsp|^/ca/ee/ca/updateNumberRange|^/ca/ee/ca/getCRL|^/ca/ee/ca/profileSubmit">

And ran installs using ipa-server-3.3.3-27.el7.x86_64:
automated test output for replica installation with CA:
:: [   PASS   ] :: Running ' /usr/sbin/ipa-replica-install -U --setup-ca --setup-dns --forwarder=x.x.x.x -w <password> -p <password> /opt/rhqa_ipa/replica-info-cloud-qe-18.testrelm.test.gpg' (Expected 0, got 0)


automated tests passed for ipa-ca-install
:: [   PASS   ]   Installing CA Replica with --no-host-dns option
:: [   PASS   ]   Installing CA Replica without --no-host-dns option
:: [   PASS   ]   Installing CA Replica with --skip-schema-check option

--- Additional comment from Martin Kosek on 2014-04-03 03:06:46 EDT ---

This change will be also required in RHEL-6.6 so that PKI replicas can be spawned. Until this is fixed in RHEL-6.x, manual change to ipa-pki-proxy.conf + restart of httpd is needed.

I will clone this bug.

Comment 3 Kaleem 2014-07-25 12:35:54 UTC
Verified SanityOnly. 

Verification steps taken from https://bugzilla.redhat.com/show_bug.cgi?id=1080865#c5

IPA Version:
============
[root@hp-bl280cg6-01 ~]# rpm -q ipa-server
ipa-server-3.0.0-42.el6.x86_64
[root@hp-bl280cg6-01 ~]# 


[root@hp-bl280cg6-01 ~]# grep /ca/ee/ca/profileSubmit /etc/httpd/conf.d/ipa-pki-proxy.conf
<LocationMatch "^/ca/ee/ca/checkRequest|^/ca/ee/ca/getCertChain|^/ca/ee/ca/getTokenInfo|^/ca/ee/ca/tokenAuthenticate|^/ca/ocsp|^/ca/ee/ca/updateNumberRange|^/ca/ee/ca/getCRL|^/ca/ee/ca/profileSubmit">
[root@hp-bl280cg6-01 ~]# 


 ---------------------------------------------------------
   [   PASS   ]      Install IPA REPLICA Server
   [   PASS   ]      Installing CA Replica with --no-host-dns option
   [   PASS   ]      Installing CA Replica without --no-host-dns option
   [   PASS   ]      Bugzilla 1040009 -- Automatic CA subsystem certificate renewal is broken on CA clones
   [   PASS   ]      /ipa-server/rhel66/ipa-ca-install

Comment 4 errata-xmlrpc 2014-10-14 07:32:38 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.

http://rhn.redhat.com/errata/RHBA-2014-1383.html


Note You need to log in before you can comment on or make changes to this bug.