Bug 1566511
Summary: | Apache reverse proxy and NSS not working | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | bitjunks | ||||
Component: | httpd | Assignee: | Luboš Uhliarik <luhliari> | ||||
Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 27 | CC: | jkaluza, jorton, luhliari, mharmsen, pahan, rcritten | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2018-11-30 21:29:51 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: | |||||||
Attachments: |
|
Description
bitjunks
2018-04-12 12:45:23 UTC
Actual results: HTTP 500 Internal Server Error Manually upgraded to httpd-2.4.33-3 using the rpm files and got the same results. Yes, the SSL<->mod_proxy interface changed with 2.4.33 which broke the hack we have to allow mod_ssl and mod_nss to co-exist. This is different to bug 1564537. I don't have time to work on this right now so maybe ask the mod_nss team to look at updating the -multiproxy patch. Created attachment 1421422 [details]
Proposed update to httpd-2.4.18-sslmultiproxy.patch
Note that mod_nss needs a separate update in order to add support for ssl_engine_set which is being worked on upstream. This patch alone is not sufficient to re-enable proxy support in mod_nss.
mod_nss-1.0.14-7.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-ab81c2a120 mod_nss-1.0.14-7.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-ab81c2a120 I downloaded mod_nss-1.0.14-7.fc27 from the testing repository and it worked flawlessly. Should I close the issue or are you going to do so? Commit: https://src.fedoraproject.org/rpms/httpd/c/e41c00658ac1bb7e8df1a5201e06dd2d7bd39c48?branch=f27 Well I managed to screw up applying a patch pretty badly... Thanks for the updated patch, Rob! I think that doing this unconditionally in ssl_engine_set() is going to always disable proxy-SSL support in mod_ssl when mod_nss is loaded, even if the mod_nss proxy support is not configured? if (othermod_engine_set) { return othermod_engine_set(c, per_dir_config, proxy, enable); } I think you're right. I'm just not sure how to get the right information from the connection to know what to do. The previous logic was basically: if you want to do a SSL proxy connection and mod_ssl doesn't want this particular one, send it off to othermod to see if it wants it. So I'd think we'd want to look at sslconn->dc->proxy_enabled but isn't that what is being set here in the first place? I think I need to read some more code. As an aside, I added the mod_nss build here more as a heads-up and to track it. This bug is more about mod_nss playing nice with mod_ssl when both are enabled and trying to do proxying within mod_nss. Only one module can register the set of proxy callbacks so mod_ssl will handle relaying the connection if mod_nss is installed and mod_ssl isn't going to handle the request itself. mod_nss-1.0.14-7.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report. what about Fedora 28? (In reply to bitjunks from comment #15) > what about Fedora 28? ok found it. mod_nss-1.0.16-5.1 is still on the testing repository. This message is a reminder that Fedora 27 is nearing its end of life. On 2018-Nov-30 Fedora will stop maintaining and issuing updates for Fedora 27. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '27'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 27 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Fedora 27 changed to end-of-life (EOL) status on 2018-11-30. Fedora 27 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. |