I have successfully established a WebSocket connection between a Client and the Server using this libraries:
- Client: github.com/TakahikoKawasaki/nv-websocket-client
- Server: github.com/TooTallNate/Java-WebSocket
Now I'm going to encrypt this connection whit SSL, but I haven't understand how I have to do to do this. In particular I've seen this example (https://github.com/TooTallNate/Java-WebSocket/blob/master/src/main/example/SSLServerExample.java included in Java-WebSocket 1.3.0) where it require a KEYPASSWORD and a STOREPASSWORD, what are they? Instead in the other library (the client) it is not clear precisely how I should do... Thanks in advance!