[libvirt] VMware support and libcurl on rhel-u1

Shahar Klein shaharklein at yahoo.com
Mon Jul 27 11:41:58 UTC 2009


apperantly I needed to unset CURLOPT_SSL_VERIFYHOST  as well
patched that and it is working now

10x
Shahar



________________________________
From: Tom Hughes <tom at compton.nu>
To: Shahar Klein <shaharklein at yahoo.com>
Sent: Monday, July 27, 2009 2:36:32 PM
Subject: Re: [libvirt] VMware support and libcurl on rhel-u1

On 27/07/09 12:33, Shahar Klein wrote:

> this is what I thought but it doesn't work for me:
> 
> [root at rain8 libvirt]# virsh -c esx://rain3?transport=http
> Enter username for rain3 [root]:
> Enter root password for rain3:
> error: internal error curl_easy_perform() returned an error: SSL peer
> certificate was not ok (51)
> error: failed to connect to the hypervisor
> 
> maybe because I'm using curl 7.15?

That looks like it is still checking the certificate. Are you sure you're not still running the unpatched one somehow?

I'm running curl 7.19.4 which isn't that different - does the curl_easy_setopt manual page mention the CURLOPT_SSL_VERIFYPEER option?

Tom

-- Tom Hughes (tom at compton.nu)
http://www.compton.nu/



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20090727/5986f927/attachment-0001.htm>


More information about the libvir-list mailing list