You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to make websockify with SSL to work on firefox it works when I allow insecre ws in config but I was thinking if i' ll implement wss protocol it ll allow it by default. Can you please tell me how to start a wss websocify server i.e what args to pass into init(cert, key etc) cause i tried it and it was not working.
The text was updated successfully, but these errors were encountered:
I tried using a self signed cert self.pem but i get:
1: handler exception: [Errno 1] _ssl.c:1331: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca
I used this command to generate certificate:
openssl req -new -x509 -days 365 -nodes -out self.pem -keyout self.pem (as mentioned in noVNC documentation)
what shd I do about it in Firefox this works in chrome.
I am using FF 11.0 Chrome 17.0.963.79 m on Windows XP. I am running the server on a debian box.
Please tell me the correct way to do this.
Here is the chrome output(it works in chrome):
SSL/TLS (wss://) WebSocket connection
Version hybi-13, base64: 'True'
Path: '/websockify'
Since it's self-signed you need to get firefox to accept the certificate. Unfortunately, unlike normal HTTPS, WebSockets connections don't give you the opportunity to accept self-signed certs so you have to use another mechanism. You can either import the cert directly, or browse to the Websocket port directly using https and accept it that way. I describe this a bit more in the Troubleshooting wiki page.
Chrome automatically accepts certificates for WebSocket whether they are valid or not. Neither behavior is particularly ideal. I tried to push firefox to allow WebSocket certs to be manually accepted. Perhaps if you file a bug and we get multiple voices calling for it they might do it.
I was trying to make websockify with SSL to work on firefox it works when I allow insecre ws in config but I was thinking if i' ll implement wss protocol it ll allow it by default. Can you please tell me how to start a wss websocify server i.e what args to pass into init(cert, key etc) cause i tried it and it was not working.
The text was updated successfully, but these errors were encountered: