ÕâÊÇÒ»·â MIME žñÊœµÄ¶à²¿·ÖÓÊŒþ¡£
------=_NextPart_000_000C_01CE3483.4438DB20
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
Hi,all:
I'm in troubling with ca-file, who can tell me which the direction
assigned to CA_FILE
On the webpage
http://www.ovirt.org/How_to_Connect_to_SPICE_Console_Without_Portal
saided from the web: wget -O ${CA_FILE} <http://%24%7Bovirt%7D/ca.crt>
http://${OVIRT}/ca.crt
When I use overt-shell, I get ca.pem like this :
[leaboy@Leaboy ovirt_ca]$ pwd
/home/leaboy/ovirt_ca
[leaboy@Leaboy ovirt_ca]$ wget -o ca-cert.pem
http://192.168.1.181/ca.pem
[leaboy@Leaboy ovirt_ca]$ ls
ca-cert.pem
[leaboy@Leaboy ovirt_ca]$
And then, I launched overt-shell and connect to overt-engine like this:
++++++++++++++++++++++++++++++++++++++++++
Welcome to oVirt shell
++++++++++++++++++++++++++++++++++++++++++
[oVirt shell (disconnected)]# connect --url
https://192.168.1.181 --user
admin@internal --password 111111 --ca-file /home/leaboy/ovirt_ca/ca_cear.pem
error: [ERROR]::oVirt API connection failure, [Errno 185090050] _ssl.c:340:
error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib
[oVirt shell (disconnected)]#
------=_NextPart_000_000C_01CE3483.4438DB20
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:SimSun;
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:SimSun;
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:SimSun;}
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=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3DZH-CN link=3Dblue vlink=3Dpurple =
style=3D'text-justify-trim:punctuation'>
<div class=3DSection1>
<p class=3DMsoNormal><span
lang=3DEN-US>Hi,all:<o:p></o:p></span></p>
<p class=3DMsoNormal><span =
lang=3DEN-US>
I’m
in troubling with ca-file, who can tell me which the direction assigned =
to </span><span
lang=3DEN-US =
style=3D'font-size:9.0pt;font-family:Consolas;color:#DD1144;
background:#F7F7F9'> CA_FILE </span><span =
lang=3DEN-US> <o:p></o:p></span></p>
<p class=3DMsoNormal><span lang=3DEN-US>On the webpage <a
href=3D"http://www.ovirt.org/How_to_Connect_to_SPICE_Console_Without...
al">http://www.ovirt.org/How_to_Connect_to_SPICE_Console_Without_...
a>
<o:p></o:p></span></p>
<p class=3DMsoNormal><span lang=3DEN-US>saided </span><span
=
lang=3DEN-US
style=3D'font-family:"Arial","sans-serif";color:#2E3436;background:white'=
from the
web:<span
class=3Dapple-converted-space> </span></span><code><span
lang=3DEN-US =
style=3D'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=3Dapple-converted-space><span lang=3DEN-US =
style=3D'font-size:9.0pt;font-family:
Consolas;color:#DD1144;border:solid #E1E1E8 =
1.0pt;padding:2.0pt;background:
#F7F7F9'> </span></span><code><span lang=3DEN-US =
style=3D'font-size:9.0pt;
font-family:Consolas;color:#DD1144;border:solid #E1E1E8 =
1.0pt;padding:2.0pt;
background:#F7F7F9'><a
href=3D"http://%24%7Bovirt%7D/ca.crt"><b><span
style=3D'color:#4E9A06'>http://${OVIRT}/ca.crt</span></b></a></span></cod=
e><span
lang=3DEN-US><o:p></o:p></span></p>
<p class=3DMsoNormal><span lang=3DEN-US>When I use overt-shell, I get =
ca.pem like
this :<o:p></o:p></span></p>
<p class=3DMsoNormal><span
lang=3DEN-US><o:p> </o:p></span></p>
<p class=3DMsoNormal><span =
lang=3DEN-US>
=
[leaboy@Leaboy
ovirt_ca]$ pwd<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:21.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>/home/leaboy/ovirt_ca<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:21.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>[leaboy@Leaboy ovirt_ca]$ wget -o ca-cert.pem
http://192.168.1.181/ca.pem<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:21.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>[leaboy@Leaboy ovirt_ca]$
ls<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:21.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>ca-cert.pem<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:21.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>[leaboy@Leaboy ovirt_ca]$<o:p></o:p></span></p>
<p class=3DMsoNormal><span
lang=3DEN-US><o:p> </o:p></span></p>
<p class=3DMsoNormal><span lang=3DEN-US>And then, I launched overt-shell =
and
connect to overt-engine like this:<o:p></o:p></span></p>
<p class=3DMsoNormal><span
lang=3DEN-US><o:p> </o:p></span></p>
<p class=3DMsoNormal><span =
lang=3DEN-US>
=
++++++++++++++++++++++++++++++++++++++++++<o:p></o:p></span></p>
<p class=3DMsoNormal><span
lang=3DEN-US> <o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:21.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US> =
Welcome
to oVirt shell<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:21.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US> <o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:21.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US> ++++++++++++++++++++++++++++++++++++++++++<o:p></o:p><=
/span></p>
<p class=3DMsoNormal =
style=3D'margin-left:21.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US> =
<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:21.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>
<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:21.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>[oVirt shell (disconnected)]# <b>connect --url =
https://192.168.1.181
--user admin@internal --password 111111 --ca-file
/home/leaboy/ovirt_ca/ca_cear.pem</b><o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:21.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US><o:p> </o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:21.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US><o:p> </o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:21.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-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=3DMsoNormal =
style=3D'margin-left:21.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US><o:p> </o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:21.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US><o:p> </o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:21.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>[oVirt shell
(disconnected)]#<o:p></o:p></span></p>
<p class=3DMsoNormal><span
lang=3DEN-US><o:p> </o:p></span></p>
</div>
</body>
</html>
------=_NextPart_000_000C_01CE3483.4438DB20--