]> git.proxmox.com Git - qemu.git/commit - qemu-options.hx
TLS support for VNC Websockets
authorTim Hardeck <thardeck@suse.de>
Tue, 23 Apr 2013 14:33:01 +0000 (16:33 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 3 May 2013 17:04:57 +0000 (12:04 -0500)
commit0057a0d59006d00c294de0b012d9a290eb1a5c80
tree5eb08a6086fe37394127fb6eb97b9141025061a6
parent8f3b664f6cc4153cc73941c941d54c4e499b7537
TLS support for VNC Websockets

Added TLS support to the VNC QEMU Websockets implementation.
VNC-TLS needs to be enabled for this feature to be used.

The required certificates are specified as in case of VNC-TLS
with the VNC parameter "x509=<path>".

If the server certificate isn't signed by a rooth authority it needs to
be manually imported in the browser because at least in case of Firefox
and Chrome there is no user dialog, the connection just gets canceled.

As a side note VEncrypt over Websocket doesn't work atm because TLS can't
be stacked in the current implementation. (It also didn't work before)
Nevertheless to my knowledge there is no HTML 5 VNC client which supports
it and the Websocket connection can be encrypted with regular TLS now so
it should be fine for most use cases.

Signed-off-by: Tim Hardeck <thardeck@suse.de>
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Message-id: 1366727581-5772-1-git-send-email-thardeck@suse.de
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
qemu-options.hx
ui/vnc-tls.c
ui/vnc-ws.c
ui/vnc-ws.h
ui/vnc.c
ui/vnc.h