Bug 1101214
| Summary: | http to https redirectiion (SSL) is NOT happening for Nagios and pnp4nagios portal | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Prasanth <pprakash> | ||||||
| Component: | nagios-server-addons | Assignee: | Shubhendu Tripathi <shtripat> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Prasanth <pprakash> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | rhgs-3.0 | CC: | asrivast, dpati, kmayilsa, nsathyan, rhs-bugs, rhsc-qe-bugs, shtripat | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | RHGS 3.0.0 | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | nagios-server-addons-0.1.1-2.el6rhs.x86_64.rpm | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2014-09-22 19:10:05 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
Prasanth
2014-05-26 12:07:32 UTC
merged the patch in 3.0 branch 1. Installed and ran rhsc-setup with Monitoring enabled as per: http://rhsm.pad.engineering.redhat.com/rhsc-nagios-release-denali-5 2. Taken http://<IP/Hostname>/nagios in the browser 3. Taken http://<IP/Hostname>/pnp4nagios in the browser Both the above links throws 403 Forbidden error and following is what Apache error log says: ---------- [Thu Jun 05 11:31:41 2014] [error] [client 10.70.1.130] access to /usr/share/nagios/html failed, reason: SSL connection required [Thu Jun 05 11:31:52 2014] [error] [client 10.70.1.130] access to /usr/share/nagios/html failed, reason: SSL connection required [Thu Jun 05 11:32:24 2014] [error] [client 10.70.1.130] access to /usr/share/nagios/html/pnp4nagios failed, reason: SSL connection required [Thu Jun 05 11:32:59 2014] [error] [client 10.70.1.130] access to /usr/share/nagios/html/pnp4nagios failed, reason: SSL connection required ---------- Is this a new bug or got introduced as a result of fixing this bug? On further debugging, I could see that the package "nagios-server-addons" didn't get updated as part of the rhsc installation of the latest build and hence the issue. Moving back the bug to ON_QA based on the above. However, in that case, I would like to know what is the expectation from the user here? Is the package supposed to get updated automatically during rhsc-setup when there is an update available in the channel (as monitoring is enabled by the user) or they have to manually update the package using yum?? rhsc should pull the latest nagios-server-addons package. Please open an another bug to track it. (In reply to Kanagaraj from comment #5) > rhsc should pull the latest nagios-server-addons package. Please open an > another bug to track it. Based on the above confirmation, opened the following BZ: Bug 1104966 - rhsc-setup is not pulling the available updates for "nagios-server-addons" https redirection seems to be working correctly now. However, I have noticed that the Security details of https://<IP>/nagios shows as "Connection Partially Encrypted" whereas Security details of https://<IP>/ovirt-engine clearly shows as "Connection Encrypted". I've attached both the screenshots. This one is a problem. It means you have mixed content on your page, which is bad practice because you can't be sure what can and cannot be trusted as coming from the server (as guaranteed by SSL/TLS otherwise). It's probably loading images, scripts, iframes or making XHR requests via plain HTTP. In some cases, it can leak sensitive data this way. So we will have to fix this as well to claim that the connection to Nagios URL is Fully Encrypted. Do you agree with me?? Moving back the bug to fix the above issue. Created attachment 907969 [details]
Security details of Nagios link
Created attachment 907970 [details]
Security details of ovirt-engine link
This is the problem http://assets.nagios.com/images/events/nagios-world-conference-2014-sidebar_promo.png Please open a separate a bug for this issue (In reply to Kanagaraj from comment #11) > Please open a separate a bug for this issue Done! Bug 1108688 - Some of the elements in the Nagios page are not transferred via SSL and the Security details shows as "Connection Partially Encrypted" Since the https redirection appers to be working correctly now, I'm marking this bug as verified. Verified in nagios-server-addons-0.1.1-2.el6rhs.x86_64.rpm 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/RHEA-2014-1277.html |