Description of problem: Attempting to connect to a Citrix Xen server which has a self-signed certificate gives the following: virsh -c XenAPI://citrix-xen.example.com/ Enter username for citrix-xen.example.com: root Enter root's password for citrix-xen.example.com: error: authentication failed: (null) error: failed to connect to the hypervisor Note that: 1. There is no indication in the above that the failure relates to SSL. In fact, it specifically points at an authentication failure. 2. Citrix Xen installs with a self-signed certificate by default. Version-Release number of selected component (if applicable): 492e493a1e6f31551583bb7de9500c312b716f42
Patch posted upstream: https://www.redhat.com/archives/libvir-list/2011-June/msg00314.html This improves the output to: virsh -c XenAPI://citrix-xen.example.com/ Enter username for citrix-xen.example.com: root Enter root's password for citrix-xen.example.com: error: authentication failed: TRANSPORT_FAULT error: failed to connect to the hypervisor
This has now been pushed.