SSL Server/Client in Java Using JSSE

Abdelilah Essiari, Willie Chin
September 27, 2002


Introduction


There are three entities in our universe.  The "Test-CA" is the root Certificate Authority (CA).   He issues the certificates for the two end entities:  "Test-Client" (client) and "Test-Server" (server).


How the X509 Certificates were Generated Using the openssl command.

Generating a P12 file.


Compiling SSLServer and Client with Java1.3


Simple SSL Server and Client Example

The source code consists of two java files TestServer.java and TestClient.java. After building them run make runServer to start the server and make runClient to run the client.