-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
noVNC on https ? #134
Comments
If you have a self.pem at the top-level of you noVNC repo/installation then launch.sh will automatically add the --cert option to the websockify invocation. Or you can just launch websockify directly and pass the --cert option pointing to your SSL certificate file. Once you've done that, websockify will automatically start answering https requests on the same port as normal http (and WebSocket connections). Also, don't forget to set the encrypt setting in noVNC itself otherwise you will use http for the static web pages but still use an unencrypted connection for the WebSocket connection. Both https and wss (encrypted websocket connections) require that websockify was started with a cert file (the --cert option). |
The process for generating a self-signed SSL certificate file is described on the noVNC Advanced Usage page |
Thanks a lot for your support! |
2024 Update:
} |
I think the title is explicit!
It's because I would like the vnc password to be protected!
The text was updated successfully, but these errors were encountered: