Package org.jboss.netty.example.http.websocketx.sslserver

This package contains an example web socket web server with server SSL.

See: Description

Package org.jboss.netty.example.http.websocketx.sslserver Description

This package contains an example web socket web server with server SSL.

To run this example, follow the steps below:

Step 1. Generate Your Key
keytool -genkey -keystore mySrvKeystore -keyalg RSA. Make sure that you set the key password to be the same the key file password.
Step 2. Specify your key store file and password as system properties
-Dkeystore.file.path=<path to mySrvKeystore> -Dkeystore.file.password=<password>
Step 3. Run WebSocketSslServer as a Java application
Once started, you can test the web server against your browser by navigating to https://localhost:8081/

To find out more about setting up key stores, refer to this giude.

Copyright © 2008-2014 The Netty Project. All Rights Reserved.