0

Info: Set up Enviroment Variables for GSK and Java executable

Summary:

When using Venafi Director to provision through a GSK driver to your IBM GSK key store you should create a user to provide access to the Director box to provision through. If you have different versions of Java or GSK installed on your server you may need to set Environment Variables for your user to use the defined versions of the software.

More Information:

The preferred way of using the IKEYMAN command line interface is to use gsk7cmd. To run IKEYCMD using gsk7cmd, set up environmental variables as follows:

Set your PATH to the location of your Java or JRE executable:

UNIX

export PATH=/opt/IBMJava/bin:/usr/local/ibm/gsk7/bin:$PATH

Windows

Right click on My Computer. Select Properties. Click on the Advanced tab. Click on the Environment Variables button. In the System Variables section, create the new entry:

JAVA_HOME=C:\Program Files\IBM\Java

and modify the existing PATH entry:

PATH=<existingentries>;C:\Program Files\IBM\GSK7\bin;C:\Program

Files\IBM\Java\bin;

Once completed, gsk7cmd should run from any directory. To run a gsk7cmd command, use the following syntax:

gsk7cmd command

(where command is the required command name).

To run IKEYMAN by specifying the class directly, set up environment variables to use the IKEYCMD command line interface as follows:

Set your PATH to the location of your Java or JRE executable:

UNIX

export PATH=/opt/IBMJava/bin:$PATH

Windows

Right click on My Computer. Select Properties. Click on the Advanced tab. Click on the Environment Variables button. In the System variables section, edit the entry:

PATH=<existingentries>;C:\Program Files\IBM\Java\bin;C:\Program

Files\IBM\GSK7\bin;C:\Program Files\IBM\GSK7\lib;

Set the following CLASSPATH environment variable:

UNIX

Entered as one line:

export CLASSPATH=/usr/local/ibm/gsk7/classes/cfwk.zip:/usr/local/ibm

/gsk/classes/gsk7cls.jar:$CLASSPATH 

Note:

Depending on your UNIX you may require more settings in CLASSPATH environment variable. If necessary, look at the gsk7cmd script to determine these.

Windows

Right click on My Computer. Select Properties. Click on the Advanced tab. Click on the Environment Variables button. In the System variables section, create the new entry (entered as one line):

CLASSPATH=C:\Program Files\IBM\GSK\classes\cfwk.zip;C:\Program Files

\IBM\GSK7\classes\gsk7cls.jar;<existingentries>

Once completed, IKEYCMD should run from any directory. To run an IKEYCMD command, use the following syntax:

java com.ibm.gsk.ikeyman.Ikeycmd command

0 comments

Post is closed for comments.