Bug 903813 - Configure Horizon to use HTTPS by default.
Summary: Configure Horizon to use HTTPS by default.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-packstack
Version: 2.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: snapshot4
: 2.1
Assignee: Martin Magr
QA Contact: Nir Magnezi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-24 21:25 UTC by Stephen Gordon
Modified: 2022-07-09 06:24 UTC (History)
5 users (show)

Fixed In Version: openstack-packstack-2012.2.3-0.1.dev454
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-21 18:25:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 20478 0 None None None Never
Red Hat Issue Tracker OSP-16375 0 None None None 2022-07-09 06:24:07 UTC
Red Hat Product Errata RHSA-2013:0671 0 normal SHIPPED_LIVE Moderate: openstack-packstack security and bug fix update 2013-03-21 22:22:21 UTC

Description Stephen Gordon 2013-01-24 21:25:42 UTC
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 14:23:57 UTC
Enabling both port looks right to me!

Comment 2 Derek Higgins 2013-02-22 16:28:55 UTC
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 14:30:10 UTC
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 18:25:20 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, 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.