Re: virsh qemu+tls login error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 06, 2013 at 03:13:34PM +0800, yue wrote:
> hi all
> on client side , (cacert.pem,clientcert.pem,clientkey.pem) certificate are  in position. spicec can connect server(kvm host) successfully.
> 'virsh -c qemu+tcp  ' can work well.
> but virsh command line error when launch virsh -c qemu+tls..............
> 
> 
> [root@ovirtdev libvirt]# virsh -d 0 -c qemu+tls://192.168.5.113/system hostname  
> commands: "hostname"
> 2013-03-06 07:05:22.716+0000: 22245: info : libvirt version: 0.9.10, package: 21.el6_3.8 (CentOS BuildSystem <http://bugs.centos.org>, 2013-01-28-19:24:16, c6b10.bsys.dev.centos.org)
> 2013-03-06 07:05:22.716+0000: 22245: warning : virNetTLSContextCheckCertificate:1093 : Certificate check failed Certificate failed validation: The certificate hasn't got a known issuer.
> error: authentication failed: Failed to verify peer's certificate
> error: failed to connect to the hypervisor
> [root@ovirtdev libvirt]# 

This means that the certificate did not validate against the CA
certificate. ie the server's cert was not signed by the CA cert
that the client has

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]