Step 1: Creating a keystore repository

Before you obtain a digital certificate, you must create a keystore repository to hold the identity and CA certificates.

Running the following command will also put a self-signed certificate and key pair into the store.

Note: For improved readability of the command-line samples in this document, each command-line option appears in its own line. However, you must actually type the command as one continuous string, without including any return characters.

To create the repository, type the following command all on one line:

Keytool 
-genkey 
-dname "CN=<mypc>, OU=<dept.> O=<company>, L=<city>, S=<state>, C=<country>"  
-alias <alias>  
-keypass <alias-passphrase>	 
-keystore <fathom-install>/config/myIdentityKeystore.jks 
-storepass <keystore passphrase> 
-validity <days>  
-keyalg rsa  
-keysize 1024 

in which:

A sample appears as shown in Figure 8–5.

Figure 8–5: Creating a keystore

The command shown in Figure 8–5 accomplishes the following:

Note that if you choose not to type the entire command, you can begin by typing only the -genkey command. The utility then prompts you for each of the subsequent pieces of information.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095