apperantly I needed to unset CURLOPT_SSL_VERIFYHOST as well
patched that and it is working now
10x
Shahar
________________________________
From: Tom Hughes <tom(a)compton.nu>
To: Shahar Klein <shaharklein(a)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@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(a)compton.nu)
http://www.compton.nu/