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 1810017 - pcsd does not send Strict-Transport-Security in HTTP 301 response
Summary: pcsd does not send Strict-Transport-Security in HTTP 301 response
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: pcs
Version: 8.2
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: rc
: 8.0
Assignee: Ivan Devat
QA Contact: cluster-qe@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-04 12:07 UTC by Nina Hostakova
Modified: 2020-11-04 02:29 UTC (History)
7 users (show)

Fixed In Version: pcs-0.10.6-1.el8
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-04 02:28:16 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
proposed fix (4.62 KB, patch)
2020-03-16 13:46 UTC, Ivan Devat
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2020:4617 0 None None None 2020-11-04 02:28:37 UTC

Comment 1 Ivan Devat 2020-03-16 13:46:22 UTC
Created attachment 1670548 [details]
proposed fix

Test:
[pig81 ~] $ curl --insecure --location --silent --dump-header - --output /dev/null https://localhost:2224                               
HTTP/1.1 301 Moved Permanently
Server: TornadoServer/6.0.3
Content-Type: text/html; charset=UTF-8
Date: Mon, 16 Mar 2020 13:44:54 GMT
Strict-Transport-Security: max-age=604800
Location: /manage
Content-Length: 0

HTTP/1.1 302 Found
Server: TornadoServer/6.0.3
Content-Type: text/html; charset=UTF-8
Date: Mon, 16 Mar 2020 13:44:54 GMT
Strict-Transport-Security: max-age=604800
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 1; mode=block
Location: /login
Content-Length: 0
Set-Cookie: pcsd.sid=j1xzr2xhy68i2wgd5d0ij1lh0shbu1btfax3xug5lb33woa70otv5djgz4nxxhl2; HttpOnly; Path=/; Secure

HTTP/1.1 200 OK
Server: TornadoServer/6.0.3
Content-Type: text/html;charset=utf-8
Date: Mon, 16 Mar 2020 13:44:54 GMT
Strict-Transport-Security: max-age=604800
Content-Length: 53769
Etag: "8d54c39c9eb0971fe73fc7c8624b2810aae9a78f"

Comment 3 Miroslav Lisik 2020-06-11 14:18:23 UTC
Test:

[root@r8-node-01 pcs]# rpm -q pcs
pcs-0.10.6-1.el8.x86_64

[root@r8-node-01 pcs]# curl --insecure --location --silent --dump-header - --output /dev/null https://r8-node-01:2224
HTTP/1.1 301 Moved Permanently
Server: TornadoServer/6.0.4
Content-Type: text/html; charset=UTF-8
Date: Wed, 10 Jun 2020 20:22:37 GMT
Strict-Transport-Security: max-age=604800
Location: /manage
Content-Length: 0

HTTP/1.1 302 Found
Server: TornadoServer/6.0.4
Content-Type: text/html; charset=UTF-8
Date: Wed, 10 Jun 2020 20:22:37 GMT
Strict-Transport-Security: max-age=604800
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
Content-Security-Policy: frame-ancestors 'self'
X-Xss-Protection: 1; mode=block
Location: /login
Content-Length: 0
Set-Cookie: pcsd.sid=9o2a4labkqbvm5eu0m5lp9wknygn3x0esvkxd0ok2806rn8xdxi426clwvkgtm5y; HttpOnly; Path=/; Secure

HTTP/1.1 200 OK
Server: TornadoServer/6.0.4
Content-Type: text/html;charset=utf-8
Date: Wed, 10 Jun 2020 20:22:37 GMT
Strict-Transport-Security: max-age=604800
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
Content-Security-Policy: frame-ancestors 'self'
X-Xss-Protection: 1; mode=block
Content-Length: 53769
Etag: "8d54c39c9eb0971fe73fc7c8624b2810aae9a78f"

Comment 9 errata-xmlrpc 2020-11-04 02:28:16 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 (pcs bug fix and enhancement update), 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/RHEA-2020:4617


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