Bug 1367162
Summary: | Repeated SSL warnings in httpd logs | |||
---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Tasos Papaioannou <tpapaioa> | |
Component: | Installation | Assignee: | Justin Sherrill <jsherril> | |
Status: | CLOSED ERRATA | QA Contact: | Renzo Nuccitelli <rnuccite> | |
Severity: | low | Docs Contact: | ||
Priority: | low | |||
Version: | 6.2.0 | CC: | ajoseph, aymeric.marchal, bbuckingham, bkearney, brcoca, cmarinea, daniele, dmoessne, dojones, egolov, ehelms, jcallaha, jsherril, ktordeur, mvanderw, omaciel, pdwyer, rnuccite, stbenjam, zhunting | |
Target Milestone: | Unspecified | Keywords: | Reopened, Triaged | |
Target Release: | Unused | |||
Hardware: | All | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | katello-installer-base-3.0.0.79-1 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1426389 (view as bug list) | Environment: | ||
Last Closed: | 2017-05-08 19:11:35 UTC | Type: | Bug | |
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: | 1426389 |
Description
Tasos Papaioannou
2016-08-15 18:05:20 UTC
Created redmine issue http://projects.theforeman.org/issues/16256 from this bug Upstream bug assigned to jsherril Upstream bug assigned to jsherril Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/16256 has been resolved. I'm still seeing this on Satellite 6.3.0 SNAP 5.0: ==> /var/log/httpd/foreman-ssl_error_ssl.log <== [Wed Oct 19 13:43:31.869160 2016] [ssl:warn] [pid 27376] [client 10.10.61.88:52441] AH02227: Failed to set r->user to 'SSL_CLIENT_S_DN_CN', referer: https://ibm-x3250m4-03.lab.eng.rdu2.redhat.com/ [Wed Oct 19 13:43:31.921959 2016] [ssl:warn] [pid 25997] [client 10.10.61.88:52443] AH02227: Failed to set r->user to 'SSL_CLIENT_S_DN_CN', referer: https://ibm-x3250m4-03.lab.eng.rdu2.redhat.com/ [Wed Oct 19 13:43:31.990926 2016] [ssl:warn] [pid 26003] [client 10.10.61.88:52444] AH02227: Failed to set r->user to 'SSL_CLIENT_S_DN_CN', referer: https://ibm-x3250m4-03.lab.eng.rdu2.redhat.com/ [Wed Oct 19 13:43:32.050508 2016] [ssl:warn] [pid 26000] [client 10.10.61.88:52445] AH02227: Failed to set r->user to 'SSL_CLIENT_S_DN_CN', referer: https://ibm-x3250m4-03.lab.eng.rdu2.redhat.com/ [Wed Oct 19 13:43:32.138571 2016] [ssl:warn] [pid 27378] [client 10.10.61.88:52446] AH02227: Failed to set r->user to 'SSL_CLIENT_S_DN_CN', referer: https://ibm-x3250m4-03.lab.eng.rdu2.redhat.com/ [Wed Oct 19 13:43:32.230467 2016] [ssl:warn] [pid 26005] [client 10.10.61.88:52447] AH02227: Failed to set r->user to 'SSL_CLIENT_S_DN_CN', referer: https://ibm-x3250m4-03.lab.eng.rdu2.redhat.com/ This FailsQE for Satellite 6.3.0 SNAP 5.0. Talked to jsherrill and he told me that we missed the following changeset: https://github.com/Katello/puppet-pulp/commit/d6e07431d5b6a1f21055ec20b84f0cf3564dca5e Please add verifications steps for this bug to help QE verify Verification steps. a) on your satellite run: tail -f -n 0 /var/log/httpd/* login to the web UI, make sure the following error doesn't appear: AH02227: Failed to set r->user to 'SSL_CLIENT_S_DN_CN', referer: b) verify that the following still is functional: 1) capsule sync 2) creating repositories Verified on 6.2.9 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:1191 After updating Satellite from 6.2.8 to 6.2.9. We can no longer log in to the Satellite WEB-UI using Single Sign On with our smart cards. We have located the source to our problem in /etc/httpd/conf.d/05-foreman-ssl.d/katello.conf BugZilla 1367162 limits the URL scope of how the Apache webserver handles a SSL username supplied from the client. This change in katello.conf breaks the method of how we log in to the Satellite WEB-UI using our smart cards. Detailed info ===================== https://bugzilla.redhat.com/show_bug.cgi?id=1367162 --- /etc/httpd/conf.d/05-foreman-ssl.d/katello.conf 2016-11-02 09:22:48.308639320 +0100 +++ /tmp/puppet-file20170502-25928-101m16o 2017-05-02 09:30:58.026811503 +0200 @@ -3,7 +3,9 @@ # CHANGES WILL LIKELY BE OVERWRITTEN. # -SSLUsername SSL_CLIENT_S_DN_CN +<Location /pulp/api> + SSLUsername SSL_CLIENT_S_DN_CN +</Location> Alias /pub /var/www/html/pub <Location /pub> ============================= Can a broader URL scope (Location) that includes the login URL be applied or alternatively find another solution. Customer got it working by changing these lines in /etc/httpd/conf.d/05-foreman-ssl.d/katello.conf Removed this section #<Location /pulp/api> # SSLUsername SSL_CLIENT_S_DN_CN #</Location> Added this section <LocationMatch /pulp/api|/users/extlogin> SSLUsername SSL_CLIENT_S_DN_CN </LocationMatch> Kenny, "Can a broader URL scope (Location) that includes the login URL be applied or alternatively find another solution." Yes indeed, I think this should be a new bugzilla though as it has a different cause, solution, and release. Moving this one back to close. Generally we should not reopen a bz that has gone out with an errata until the actual issue is not fixed (and even then i'm not sure thats the right approach). So yes, please open another bz, I'm pretty sure that apache config was not intentionally covering that route, but if it makes it work for SSO with smart cards, we should add it back. -Justin Hi, I am still seeing the warning repeating under the latest Satellite version (6.2.10): AH02227: Failed to set r->user to 'SSL_CLIENT_S_DN_CN' Can someone confirms we should not see this repeated warning again? Thanks Hi, Is it normal that I can see it still on the our red hat satellite 6.10 : /var/log/httpd/foreman-ssl_error_ssl.log : [Thu Nov 18 19:00:22.377188 2021] [ssl:warn] [pid 3792] [client XXX.XXXX.XXX.XXX:YYYY] AH02227: Failed to set r->user to 'SSL_CLIENT_S_DN_CN' Regards, Aymeric Marchal |