[GH-ISSUE #290] VNC Secuity #189

Open
opened 2026-02-27 15:57:41 +03:00 by kerem · 2 comments
Owner

Originally created by @FrancescoFdd5 on GitHub (Jan 29, 2020).
Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/290

The VNC connection is not encrypted, the one written on this site should be implemented
http://people.redhat.com/pbonzini/qemu-test-doc/_build/html/topics/vnc_005fsecurity.html

Originally created by @FrancescoFdd5 on GitHub (Jan 29, 2020). Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/290 The VNC connection is not encrypted, the one written on this site should be implemented [http://people.redhat.com/pbonzini/qemu-test-doc/_build/html/topics/vnc_005fsecurity.html](url)
Author
Owner

@catborise commented on GitHub (Jan 30, 2020):

hi, i think it was implemented.. console/novcd service supports cert.. but i havent use it. i do not know it is working or not. you could try...
as you know supervisor run two services. 1.gunicorn, 2.novncd

[program:novncd]
command=/srv/webvirtcloud/venv/bin/python /srv/webvirtcloud/console/novncd
directory=/srv/webvirtcloud
user=www-data
autostart=true
autorestart=true
redirect_stderr=true

if you set WS_CERT in setting.py it gets the value to use it.

as you see novncd param has cert option while starting websock

console/novncd --help
Usage: novncd [options]

Options:
  -h, --help            show this help message and exit
  -v, --verbose         Verbose mode
  -d, --debug           Debug mode
  -H HOST, --host=HOST  Listen host
  -p PORT, --port=PORT  Listen port
  -c CERT, --cert=CERT  Certificate file path
<!-- gh-comment-id:580139181 --> @catborise commented on GitHub (Jan 30, 2020): hi, i think it was implemented.. console/novcd service supports cert.. but i havent use it. i do not know it is working or not. you could try... as you know supervisor run two services. 1.gunicorn, 2.novncd ``` [program:novncd] command=/srv/webvirtcloud/venv/bin/python /srv/webvirtcloud/console/novncd directory=/srv/webvirtcloud user=www-data autostart=true autorestart=true redirect_stderr=true ``` if you set WS_CERT in setting.py it gets the value to use it. as you see novncd param has cert option while starting websock ``` console/novncd --help Usage: novncd [options] Options: -h, --help show this help message and exit -v, --verbose Verbose mode -d, --debug Debug mode -H HOST, --host=HOST Listen host -p PORT, --port=PORT Listen port -c CERT, --cert=CERT Certificate file path ```
Author
Owner

@FrancescoFdd5 commented on GitHub (Jan 30, 2020):

Not NoVNC, I mean QEMU's VNC.

<!-- gh-comment-id:580264141 --> @FrancescoFdd5 commented on GitHub (Jan 30, 2020): Not NoVNC, I mean QEMU's VNC.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webvirtcloud#189
No description provided.