[libvirt-users] Libvirt not getting connected to ESX server

Matthias Bolte matthias.bolte at googlemail.com
Thu Aug 1 15:39:38 UTC 2013


2013/8/1 varun bhatnagar <varun292006 at gmail.com>:
> Hi,
>
> I was trying to connect to ESX server using libvirt's virsh console but I am
> getting the following error:
>
> virsh# connect esx://172.16.73.14
> Enter username for 172.16.73.14 [root]: root
> Enter root's password for 172.16.73.14:
> error: Failed to connect to the hypervisor
> error: internal error curl_easy_perform() returned an error: Peer
> certificate cannot be authenticated with known CA certificates (60) : SSL
> certificate problem, verify that the CA cert is OK. Details:
> error: 14090086:SSL routine:SSL3_GET_SERVER_CERTIFICATE:certificate verify
> failed.
>
> Can anyone please help me out with this one and tell me how to resolve this
> error?

See http://libvirt.org/drvesx.html#certificates

By default an ESX server uses self-signed SSL certificates. You either
need to tell libvirt to not verify the certificates (virsh connect
esx://172.16.73.14/?no_verify=1) or replace the SSL certificates with
offically signed ones.

-- 
Matthias Bolte
http://photron.blogspot.com




More information about the libvirt-users mailing list