Running JSSEServer

The JSSEClient sample application initializes the JSSE security provider of the toolkit for server authentication and data transmission.

To run this sample application, execute the following command line in the etjava/examples directory.

java -classpath classes;../lib/enttoolkit.jar com.entrust.toolkit.examples.jsse.JSSEServer <epf_file> <epf_pwd>

Parameter

Value

<epf_file>

The path of an Entrust user profile in .epf file format.

<epf_pwd>

The password for accessing the Entrust profile.

For example:

C:\etjava\examples>java -classpath classes;../lib/enttoolkit.jar com.entrust.toolkit.examples.jsse.JSSEServer data/userdata/RSAUser1.epf ~Sample7~
 
User1.epf ~Sample7~
SSL/TLS provider: SunJSSE version 11
Server will listen on port: 443
Connection from: view-localhost
GET / HTTP/1.0