Table 4-1 Task commands for modutil (continued)

Tasks

Description

Allowed options

-jarJARfile

Adds a new PKCS #11 module to the

-installdir

 

database. The module must be

installation_directory

 

contained in the named JAR file.

-tempdirtemporaryFolder

 

The JAR file identifies all files to

 

 

install, the module name, and

 

 

mechanism flags. It should also

 

 

contain any files to be installed on the

 

 

target machine, including the PKCS

 

 

#11 module library and other files,

 

 

such as documentation.

 

 

The JAR file uses the Netscape Server

 

 

PKCS #11 JAR format. See “JAR

 

 

information file” for more

 

 

information on creating JAR files.

 

 

 

 

-list[moduleName]

Shows basic information about the

 

 

contents of the secmod.db file. To

 

 

display detailed information about a

 

 

particular module, including its slots

 

 

and tokens, specify a value for

 

 

moduleName.

 

 

 

 

-undefault moduleName

Specifies the security mechanisms for

-mechanismsmechanismList

 

which the named module will not be

 

 

a default provider.

 

 

 

 

Table 4-2 “Options for modutil” describes the different options for the modutil task commands.

Table 4-2 Options for modutil

Option

Description

-dbdirdbFolder

Specifies a folder in which to access or create security module database files.

 

This argument is required for every command. This should point to the Admin

 

Server configuration directory. For example:

 

-dbdir /etc/opt/dirsrv/admin-serv

 

 

-installdir

Specifies the root installation folder for the files supplied with the

installation_directory

-jarJAR-file task. The installation_directory folder should be one

 

in which it is appropriate to store dynamic library files.

 

 

-libfilelibraryFile

Specifies the library file which contains the PKCS #11 module that is being

 

added to the database. Use the full path to identify the file.

 

 

4.2 modutil

47