Running CreateCredentialByProxiedHttpTunnel

The CreateCredentialByProxiedHttpTunnel sample application:

  1. Connects to the Entrust PKI through an authenticating proxy server and HTTP tunneling.

  2. Passes the user the identifier and password to the authenticating server.

  3. Obtains credentials for the user.

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

java -classpath ../lib/enttoolkit.jar;<jakarta.servlet-api.jar> com.entrust.toolkit.examples.smimev3.CreateCredentialByProxiedHttpTunnel <pki_ip> <pki_proxy_url> <dir_proxy_url> <ref> <code> <web_proxy_ip> <web_proxy_port> <epf_file> <efp_pwd>

Parameter

Value

<jakarta.servlet-api.jar>

The path on your computer of the third-party Jakarta servlet library downloaded from https://projects.eclipse.org/projects/ee4j.servlet

<create|recover>

create to create a new credential, recover to recover an existing one.

<pki_ip>

The hostname or IP address of the Entrust PKI.

<pki_proxy_url>

The URL of the compiled ManagerServlet class.

<dir_proxy_url>

The URL of the compiled DirectoryServlet class.

<ref>

The reference number of the Entrust user for which the credential is requested.

<code>

The authorization code of the Entrust user for which the credential is requested.

<epf_file>

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

<efp_pwd>

The password for accessing the Entrust profile.