Problems using secure wss:// in Glassfish 4.0
I have a client/server WebSocket connection set up using Glassfish 4.0. Using ws://, I'm able of sending and receiving messages and bytes with no issues whatsoever. However, I cannot for the life of me get the secure wss:// connection to work. Every time I always get a
javax.websocket.DeploymentException: Handshake response not received.
I've looked into the Server configurations, making sure that WebSockets are enabled for both http-listeners... I'm using port 8181... I'm able to connect securely using a browser using https (other than the self-signed certifiacte warning)...
So my question is what exactly are the required and necessary configurations for the Glassfish 4.0 server to enable a secure websocket connection. I'm obviously missing something, but have no idea what it is.