[libvirt-users] Connecting libvirt remotely using tls: TLS handshake failed : packet with unexpected length +gnutls_handhsake Error

Daniel P. Berrange berrange at redhat.com
Wed Nov 19 09:48:34 UTC 2014

On Wed, Nov 19, 2014 at 11:53:34AM +0530, Ajitha Robert wrote:
> I doubt whether there is any fixed algorithm given while generating
> certificates. I used RSA 1024 bit.

Make sure you followed the setup guide precisely


The docs here are known to work successfully - problems people report
typically come from creating certs in the wrong way, or putting them
in the wrong location. Be particularly wary of the 'openssl' command
line tool - it generates useless certificates by default.

Also run the 'virt-pki-validate' tool on your host to check things
are in the right location.

|: 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 :|

More information about the libvirt-users mailing list