[Openstack] [openstack] HTTPS for spice console
Michael Dorman
mdorman at godaddy.com
Thu Dec 18 03:26:45 UTC 2014
(This is probably more appropriate for the openstack at lists.openstack.org list, so moving there for others’ visibility.)
For the most part, the config is fairly straightforward. The settings I add are:
DEFAULT/ssl_only
DEFAULT/cert
DEFAULT/key
You’ll also need the spice-html5 package (that is the name of it under RedHat/CentOS, it may be different for Debian/Ubuntu.) I had to make a modification to the spice_auto.html from that package to use HTTPS:
--- spice_auto.html.nossl 2014-08-12 17:09:55.000000000 -0600
+++ spice_auto.html.ssl 2014-08-12 17:09:55.000000000 -0600
@@ -81,7 +81,7 @@
function connect()
{
- var host, port, password, scheme = "ws://", uri;
+ var host, port, password, scheme = "wss://", uri;
// By default, use the host and port of server that served this file
host = spice_query_var('host', window.location.hostname);
I hope you find this to be helpful.
Mike
From: Akshik DBK <akshik at outlook.com<mailto:akshik at outlook.com>>
Reply-To: "OpenStack Development Mailing List (not for usage questions)" <openstack-dev at lists.openstack.org<mailto:openstack-dev at lists.openstack.org>>
Date: Wednesday, December 17, 2014 at 3:29 PM
To: "OpenStack Development Mailing List (not for usage questions)" <openstack-dev at lists.openstack.org<mailto:openstack-dev at lists.openstack.org>>
Subject: [openstack-dev] HTTPS for spice console
Are there any recommended approach to configure spice console proxy on a secure [https], could not find proper documentation for the same.
can someone point me to the rigt direction
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20141218/b6641f19/attachment.html>
More information about the Openstack
mailing list