To run the test program, you should have maven and git installed.
Download the Project
git clone git://github.com/ClarkHobbie/ssltest.git
Compile the Project
mvn package
Download Netty
http://dl.bintray.com/netty/downloads/netty-4.1.7.Final.tar.bz2
Run the Server
java -cp ssltest\target\ssltest-1.0-SNAPSHOT.jar;netty-all-4.1.7.Final.jar \
SslServer
NOTE: this must be run in the same directory as the keystores
Run the Client
java -cp ssltest\target\ssltest-1.0-SNAPSHOT.jar;netty-all-4.1.7.Final.jar \
SslClient
NOTE: this must be run in the same directory as the keystores
Hopefully, SslClient prints out "It worked!" and terminates.
The program uses the keystores created in the previous posts, testing that SSL works.
No comments:
Post a Comment