Examples
WARNING: Performing this operation while a Netscape product is
running could cause corruption of your security databases. If a
Netscape product is currently running, you should exit the product
before continuing this operation. Type 'q <enter>' to abort, or
<enter> to continue:
After you press Enter, the tool displays the following:
FIPS mode enabled.
Adding a Cryptographic Module
This example adds a new cryptographic module to the database:
C:\modutil> modutil -dbdir "C:\databases" -add "Cryptorific Module"
-libfile "C:\winnt\system32\crypto.dll" -mechanisms
RSA:DSA:RC2:RANDOM
The Security Module Database Tool displays a warning:
WARNING: Performing this operation while a Netscape product is
running could cause corruption of your security databases. If a
Netscape product is currently running, you should exit the product
before continuing this operation. Type 'q <enter>' to abort, or
<enter> to continue:
After you press Enter, the tool displays the following:
Using database directory C:\databases...
Module "Cryptorific Module" added to database.
C:\modutil>
Installing a Cryptographic Module from a JAR
File
This example installs a cryptographic module from the following sample
installation script.
Platforms {
WinNT::x86 {
150
Netscape Certificate Management System Command-Line Tools Guide • March 2002
ModuleName { "Cryptorific Module" }
ModuleFile { crypto.dll }
DefaultMechanismFlags{0x0000}
CipherEnableFlags{0x0000}
Files {
crypto.dll {