Abdelilah Essiari, Willie Chin
September 27, 2002
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).
Where "cas.pem" is the file name used to store the CA's x509 certificate, valid for about 3 years, and "ca.key" is file name for the CA's private key encrypted with the passphrase testing.
Where "client.key" is the file name used to store the client's key.
Where "client.req" is the file name used to store the client's certificate request.
> openssl x509 -req -in client.req -CA cas.pem -CAkey ca.key
-CAserial \
file.srl -out client.pem -days 1095
Where "client.pem" is the file name used to store the client's certificate x509 certificate. The file.srl is a file that contains the serial number starting with "00".
(We use the defult DES encrypted key)
>openssl pkcs12 -in testClient.p12 -out testClientReadFromP12.pem
Compiling SSLServer and Client with Java1.3
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.