<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:\5B8B\4F53;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:"\@\5B8B\4F53";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.5pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
code
        {mso-style-priority:99;
        font-family:\5B8B\4F53;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
.MsoChpDefault
        {mso-style-type:export-only;}
/* Page Definitions */
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=ZH-CN link=blue vlink=purple style='text-justify-trim:punctuation'>
<div class=Section1>
<p class=MsoNormal><span lang=EN-US>Question 1:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Hi,all:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
I’m in troubling with ca-file, who can tell me which the direction assigned to </span><span
lang=EN-US style='font-size:9.0pt;font-family:Consolas;color:#DD1144;
background:#F7F7F9'> CA_FILE </span><span lang=EN-US> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>On the webpage <a
href="http://www.ovirt.org/How_to_Connect_to_SPICE_Console_Without_Portal">http://www.ovirt.org/How_to_Connect_to_SPICE_Console_Without_Portal</a>
<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>saided </span><span lang=EN-US
style='font-family:"Arial","sans-serif";color:#2E3436;background:white'>from
the web:<span class=apple-converted-space> </span></span><code><span
lang=EN-US style='font-size:9.0pt;font-family:Consolas;color:#DD1144;
border:solid #E1E1E8 1.0pt;padding:2.0pt;background:#F7F7F9'>wget -O ${CA_FILE}</span></code><span
class=apple-converted-space><span lang=EN-US style='font-size:9.0pt;font-family:
Consolas;color:#DD1144;border:solid #E1E1E8 1.0pt;padding:2.0pt;background:
#F7F7F9'> </span></span><code><span lang=EN-US style='font-size:9.0pt;
font-family:Consolas;color:#DD1144;border:solid #E1E1E8 1.0pt;padding:2.0pt;
background:#F7F7F9'><a href="http://%24%7Bovirt%7D/ca.crt"><b><span
style='color:#4E9A06'>http://${OVIRT}/ca.crt</span></b></a></span></code><span
lang=EN-US><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>When I use overt-shell, I get ca.pem like
this :<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
[leaboy@Leaboy ovirt_ca]$ pwd<o:p></o:p></span></p>
<p class=MsoNormal style='margin-left:21.0pt;mso-para-margin-left:2.0gd'><span
lang=EN-US>/home/leaboy/ovirt_ca<o:p></o:p></span></p>
<p class=MsoNormal style='margin-left:21.0pt;mso-para-margin-left:2.0gd'><span
lang=EN-US>[leaboy@Leaboy ovirt_ca]$ wget -o ca-cert.pem <a
href="http://192.168.1.181/ca.pem">http://192.168.1.181/ca.pem</a><o:p></o:p></span></p>
<p class=MsoNormal style='margin-left:21.0pt;mso-para-margin-left:2.0gd'><span
lang=EN-US>[leaboy@Leaboy ovirt_ca]$ ls<o:p></o:p></span></p>
<p class=MsoNormal style='margin-left:21.0pt;mso-para-margin-left:2.0gd'><span
lang=EN-US>ca-cert.pem<o:p></o:p></span></p>
<p class=MsoNormal style='margin-left:21.0pt;mso-para-margin-left:2.0gd'><span
lang=EN-US>[leaboy@Leaboy ovirt_ca]$<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>And then, I launched overt-shell and
connect to overt-engine like this:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
++++++++++++++++++++++++++++++++++++++++++<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> <o:p></o:p></span></p>
<p class=MsoNormal style='margin-left:21.0pt;mso-para-margin-left:2.0gd'><span
lang=EN-US> Welcome
to oVirt shell<o:p></o:p></span></p>
<p class=MsoNormal style='margin-left:21.0pt;mso-para-margin-left:2.0gd'><span
lang=EN-US> <o:p></o:p></span></p>
<p class=MsoNormal style='margin-left:21.0pt;mso-para-margin-left:2.0gd'><span
lang=EN-US> ++++++++++++++++++++++++++++++++++++++++++<o:p></o:p></span></p>
<p class=MsoNormal style='margin-left:21.0pt;mso-para-margin-left:2.0gd'><span
lang=EN-US> <o:p></o:p></span></p>
<p class=MsoNormal style='margin-left:21.0pt;mso-para-margin-left:2.0gd'><span
lang=EN-US> <o:p></o:p></span></p>
<p class=MsoNormal style='margin-left:21.0pt;mso-para-margin-left:2.0gd'><span
lang=EN-US>[oVirt shell (disconnected)]# <b>connect --url <a
href="https://192.168.1.181">https://192.168.1.181</a> --user admin@internal
--password 111111 --ca-file /home/leaboy/ovirt_ca/ca_cear.pem</b><o:p></o:p></span></p>
<p class=MsoNormal style='margin-left:21.0pt;mso-para-margin-left:2.0gd'><span
lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal style='margin-left:21.0pt;mso-para-margin-left:2.0gd'><span
lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal style='margin-left:21.0pt;mso-para-margin-left:2.0gd'><span
lang=EN-US>error: [ERROR]::oVirt API connection failure, [Errno 185090050]
_ssl.c:340: error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system
lib<o:p></o:p></span></p>
<p class=MsoNormal style='margin-left:21.0pt;mso-para-margin-left:2.0gd'><span
lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal style='margin-left:21.0pt;mso-para-margin-left:2.0gd'><span
lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal style='margin-left:21.0pt;mso-para-margin-left:2.0gd'><span
lang=EN-US>[oVirt shell (disconnected)]#<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Questioin 2:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>When I connect the vm use spicec , get a
error message like this:<o:p></o:p></span></p>
<p class=MsoNormal style='margin-left:21.0pt;mso-para-margin-left:2.0gd'><span
lang=EN-US>leaboy@leaboy:~/.spicec$<b> spicec -h 192.168.1.219 -p 5900 -s 5901</b><o:p></o:p></span></p>
<p class=MsoNormal style='margin-left:21.0pt;mso-para-margin-left:2.0gd'><span
lang=EN-US>Error: SSL_CTX_load_verify_locations failed
CA_file=/home/leaboy/.spicec/spice_truststore.pem<o:p></o:p></span></p>
<p class=MsoNormal style='margin-left:21.0pt;mso-para-margin-left:2.0gd'><span
lang=EN-US>Warning: SSL Error:<o:p></o:p></span></p>
<p class=MsoNormal style='margin-left:21.0pt;mso-para-margin-left:2.0gd'><span
lang=EN-US>leaboy@leaboy:~/.spicec$<o:p></o:p></span></p>
</div>
</body>
</html>