<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
(This is probably more appropriate for the openstack@lists.openstack.org list, so moving there for others’ visibility.)</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
For the most part, the config is fairly straightforward. The settings I add are:</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<br>
</div>
<div>
<pre style="box-sizing: border-box; margin-top: 0px; margin-bottom: 0px;"><div class="line" id="LC78" style="color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Courier, monospace; line-height: 18px; font-size: 12px; box-sizing: border-box; padding-left: 10px; height: 18px;"><span class="s" style="box-sizing: border-box; color: rgb(221, 17, 68);">DEFAULT/ssl_only</span></div><div class="line" id="LC78" style="color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Courier, monospace; line-height: 18px; font-size: 12px; box-sizing: border-box; padding-left: 10px; height: 18px;"><span class="s" style="box-sizing: border-box; color: rgb(221, 17, 68);">DEFAULT/cert</span></div><div class="line" id="LC78" style="color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Courier, monospace; line-height: 18px; font-size: 12px; box-sizing: border-box; padding-left: 10px; height: 18px;"><span class="s" style="box-sizing: border-box; color: rgb(221, 17, 68);">DEFAULT/key</span></div><div class="line" id="LC78" style="color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Courier, monospace; line-height: 18px; font-size: 12px; box-sizing: border-box; padding-left: 10px; height: 18px;"><span style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px; line-height: normal; white-space: normal;"><br></span></div><div class="line" id="LC78" style="box-sizing: border-box; padding-left: 10px; height: 18px;"><font face="Calibri,sans-serif"><span style="white-space: normal;">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:</span></font></div><div class="line" id="LC78" style="box-sizing: border-box; padding-left: 10px; height: 18px;"><br></div><div class="line" id="LC78" style="box-sizing: border-box; padding-left: 10px; height: 18px;"><br></div><div class="line" id="LC78" style="box-sizing: border-box; padding-left: 10px; height: 18px;">--- 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);</div><div class="line" id="LC78" style="box-sizing: border-box; padding-left: 10px; height: 18px;"><br></div><div class="line" id="LC78" style="box-sizing: border-box; padding-left: 10px; height: 18px;"><br></div><div class="line" id="LC78" style="box-sizing: border-box; padding-left: 10px; height: 18px;"><br></div><div class="line" id="LC78" style="box-sizing: border-box; padding-left: 10px; height: 18px;"><br></div><div class="line" id="LC78" style="box-sizing: border-box; padding-left: 10px; height: 18px;"><br></div><div class="line" id="LC78" style="box-sizing: border-box; padding-left: 10px; height: 18px;"><br></div><div class="line" id="LC78" style="box-sizing: border-box; padding-left: 10px; height: 18px;"><br></div><div class="line" id="LC78" style="box-sizing: border-box; padding-left: 10px; height: 18px;"><br></div><div class="line" id="LC78" style="box-sizing: border-box; padding-left: 10px; height: 18px;"><br></div><div class="line" id="LC78" style="box-sizing: border-box; padding-left: 10px; height: 18px;"><br></div><div class="line" id="LC78" style="box-sizing: border-box; padding-left: 10px; height: 18px;"><div style="font-size: 14px; white-space: normal; font-family: Calibri, sans-serif;">I hope you find this to be helpful.</div><div style="font-size: 14px; white-space: normal; font-family: Calibri, sans-serif;"><br></div><div style="font-size: 14px; white-space: normal; font-family: Calibri, sans-serif;">Mike</div><div style="font-size: 14px; white-space: normal; font-family: Calibri, sans-serif;"><br></div><div style="font-size: 14px; white-space: normal; font-family: Calibri, sans-serif;"><br></div><div style="font-size: 14px; white-space: normal; font-family: Calibri, sans-serif;"><br></div></div></pre>
</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<div id="MAC_OUTLOOK_SIGNATURE"></div>
</div>
</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<br>
</div>
<span id="OLK_SRC_BODY_SECTION" style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<div style="font-family:Calibri; font-size:12pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Akshik DBK <<a href="mailto:akshik@outlook.com">akshik@outlook.com</a>><br>
<span style="font-weight:bold">Reply-To: </span>"OpenStack Development Mailing List (not for usage questions)" <<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>><br>
<span style="font-weight:bold">Date: </span>Wednesday, December 17, 2014 at 3:29 PM<br>
<span style="font-weight:bold">To: </span>"OpenStack Development Mailing List (not for usage questions)" <<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>><br>
<span style="font-weight:bold">Subject: </span>[openstack-dev] HTTPS for spice console<br>
</div>
<div><br>
</div>
<div><style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div class="hmmessage">
<div dir="ltr"><span style="color: rgb(68, 68, 68); font-size: 15px; line-height: 21.2999992370605px; background-color: rgb(255, 255, 255);">Are there any recommended approach to configure spice console proxy on a secure [https], could not find proper documentation
for the same.</span>
<div style="line-height: 21.2999992370605px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);">
<br style="line-height: 21.2999992370605px;">
</div>
<div style="line-height: 21.2999992370605px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);">
can someone point me to the rigt direction</div>
</div>
</div>
</div>
</span>
</body>
</html>