Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 903813 - Configure Horizon to use HTTPS by default.
Configure Horizon to use HTTPS by default.
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-packstack (Show other bugs)
2.1
Unspecified Unspecified
unspecified Severity unspecified
: snapshot4
: 2.1
Assigned To: Martin Magr
Nir Magnezi
: Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-24 16:25 EST by Stephen Gordon
Modified: 2013-03-21 14:25 EDT (History)
5 users (show)

See Also:
Fixed In Version: openstack-packstack-2012.2.3-0.1.dev454
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-03-21 14:25:20 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
OpenStack gerrit 20478 None None None Never
Red Hat Product Errata RHSA-2013:0671 normal SHIPPED_LIVE Moderate: openstack-packstack security and bug fix update 2013-03-21 18:22:21 EDT

  None (edit)
Description Stephen Gordon 2013-01-24 16:25:42 EST
Description of problem:

While doing the documentation for Bug # 889118 ("Please add a hint to firewall, and also use https") I noticed that on my packstack deployment it appears that only http is opened in the firewall. From /etc/sysconfig/iptables:

-A INPUT -p tcp -m multiport --dports 80 -m comment --comment "001 horizon incoming" -j ACCEPT

I think we should default to HTTPS here if possible (or at worst both HTTP and HTTPS)?

Version-Release number of selected component (if applicable):

openstack-packstack-2012.2.2-0.5.dev318.el6ost.noarch
Comment 1 Flavio Percoco 2013-01-25 09:23:57 EST
Enabling both port looks right to me!
Comment 2 Derek Higgins 2013-02-22 11:28:55 EST
Fix submitted upstream
https://review.openstack.org/#/c/22698/

The default self signed certs are used so 
1. a warning is being output
 * NOTE : You should change the ssl certificates used to a your own CA signed cert

2. this is not the default CONFIG_HORIZON_SSL must be set to 'y' otherwise plain text will be used.
Comment 4 Nir Magnezi 2013-03-06 09:30:10 EST
Verified NVR: openstack-packstack-2012.2.3-0.1.dev454.el6ost.noarch

1. Installed OpenStack via packstack, While setting CONFIG_HORIZON_SSL attribute to 'y'

Verified that:
httpd now listen both to 80 and 443
horizon accepts connections in http and https
Comment 7 errata-xmlrpc 2013-03-21 14:25:20 EDT
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/RHSA-2013-0671.html

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