<div dir="ltr">Thanks a ton for the reply Matthias. I tried your suggestion but now I got one more message saying:<div><br></div><div><table border="0" cellspacing="0" cellpadding="0" style="font-family:'Times New Roman'">
<tbody><tr valign="top"><td width="548"><font><b style="color:rgb(255,0,0)">virsh # connect esx://<a href="http://172.16.73.14/?no_verify=1">172.16.73.14/?no_verify=1</a></b><br><b style="color:rgb(255,0,0)">Enter username for 172.16.73.14 [root]: root</b><br>
<b style="color:rgb(255,0,0)">Enter root's password for <a href="http://172.16.73.14">172.16.73.14</a>: </b><br><b style="color:rgb(255,0,0)">error: Failed to connect to the hypervisor</b><br><b style="color:rgb(255,0,0)">error: internal error: curl_easy_perform() returned an error: Unsupported protocol (1) : Protocol https not supported or disabled in libcurl</b><br>
<br></font><span style="color:rgb(0,0,0)">Is it because of the curl package? I thought of building curl with https support but there was no such option (--with-https). </span><font><font color="#000000">Can you please tell me why am I getting this. <br>
<br>Regards,<br>Varun</font></font></td></tr></tbody></table></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Aug 1, 2013 at 9:09 PM, Matthias Bolte <span dir="ltr"><<a href="mailto:matthias.bolte@googlemail.com" target="_blank">matthias.bolte@googlemail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">2013/8/1 varun bhatnagar <<a href="mailto:varun292006@gmail.com">varun292006@gmail.com</a>>:<br>
<div><div class="h5">> Hi,<br>
><br>
> I was trying to connect to ESX server using libvirt's virsh console but I am<br>
> getting the following error:<br>
><br>
> virsh# connect esx://<a href="http://172.16.73.14" target="_blank">172.16.73.14</a><br>
> Enter username for 172.16.73.14 [root]: root<br>
> Enter root's password for <a href="http://172.16.73.14" target="_blank">172.16.73.14</a>:<br>
> error: Failed to connect to the hypervisor<br>
> error: internal error curl_easy_perform() returned an error: Peer<br>
> certificate cannot be authenticated with known CA certificates (60) : SSL<br>
> certificate problem, verify that the CA cert is OK. Details:<br>
> error: 14090086:SSL routine:SSL3_GET_SERVER_CERTIFICATE:certificate verify<br>
> failed.<br>
><br>
> Can anyone please help me out with this one and tell me how to resolve this<br>
> error?<br>
<br>
</div></div>See <a href="http://libvirt.org/drvesx.html#certificates" target="_blank">http://libvirt.org/drvesx.html#certificates</a><br>
<br>
By default an ESX server uses self-signed SSL certificates. You either<br>
need to tell libvirt to not verify the certificates (virsh connect<br>
esx://<a href="http://172.16.73.14/?no_verify=1" target="_blank">172.16.73.14/?no_verify=1</a>) or replace the SSL certificates with<br>
offically signed ones.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Matthias Bolte<br>
<a href="http://photron.blogspot.com" target="_blank">http://photron.blogspot.com</a><br>
</font></span></blockquote></div><br></div>