Ask Your Question
0

Configure to open horizon on https

asked 2015-08-08 09:22:39 -0500

anonymous user

Anonymous

Dear Team I install centos 7 and install rdo openstack kilo with one controller and 3 ceph , both are integrated with each other. But I want I open the horizon dashboard to open on https.

How its possible ? Plz guide me and provide suitable doc for that.

cks

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
1

answered 2015-08-09 21:55:34 -0500

Mohit gravatar image

I have a juno install and configured it via Updating openstack-dashboard.conf located in /etc/apache2/conf.d

Mind the DOTS and comments in UPPER CASE


<VirtualHost *:443>
    ServerName THIS IS YOUR SERVER NAME
    ServerAdmin  THIS IS YOUR SERVER ADMIN 

    SSLEngine On
    SSLCertificateFile /etc/apache2/ssl.crt/openstack-dashboard-server.crt
    SSLCertificateKeyFile /etc/apache2/ssl.key/openstack-dashboard-server.key
    SSLCipherSuite ALL:!SSLv2:!ADH:!EXP:!MD5:!LOW:!RC4:!aNULL:+HIGH:+MEDIUM
    SSLProtocol all -sslv2 -sslv3
    SSLHonorCipherOrder on

    ErrorLog /var/log/apache2/openstack-dashboard-error_log
    TransferLog /var/log/apache2/openstack-dashboard-access_log

    WSGIScriptAlias . .
    WSGIDaemonProcess . . . . 
    SetEnv APACHE_RUN_USER  . . . . .
    SetEnv APACHE_RUN_GROUP . . . . . .

    DocumentRoot /srv/www/openstack-dashboard/
    Alias /media /srv/www/openstack-dashboard/media
    Alias /static /srv/www/openstack-dashboard/static

    .
.
.
.


.
.
.
.

</VirtualHost>


RewriteEngine On
RewriteCond %{SERVER_PORT} ^80$
RewriteRule / https://%{HTTP_HOST}%{REQUEST_URI} [L,R]
edit flag offensive delete link more

Comments

Hi Mohit In openstack kilo the ssl certificate is present or I can generate the our self certificate ?

chandan gravatar imagechandan ( 2015-08-10 00:49:11 -0500 )edit

you can add your own certificate, of course.

mrunge gravatar imagemrunge ( 2015-08-10 05:05:56 -0500 )edit

what if we don't have openstack-dashboard.conf on the server?

5-jason-h gravatar image5-jason-h ( 2015-10-12 01:08:50 -0500 )edit
0

answered 2015-08-09 01:16:10 -0500

yee379 gravatar image

i have implemented this with saltstackif you're interested: https://github.com/yee379/salt-openst...

edit flag offensive delete link more
0

answered 2015-08-08 10:16:17 -0500

updated 2015-08-09 16:38:44 -0500

edit flag offensive delete link more

Comments

Edited the answer because the other link is for older versions

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2015-08-08 10:22:21 -0500 )edit

In openstack kilo the ssl certificate is present or I can generate the our self certificate ?

chandan gravatar imagechandan ( 2015-08-10 01:44:52 -0500 )edit

Yes , Link

Mohit gravatar imageMohit ( 2015-08-18 01:35:47 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-08-08 09:22:39 -0500

Seen: 1,449 times

Last updated: Aug 09 '15