HP-UX Directory Server 8.1 administration server guide

4 Admin Server command-line tools
The Admin Server has command-line utilities which make it easier to manage the Admin Server
without having to launch the Admin Console.
This chapter explains where to find and how to use the Admin Server tools.
4.1 sec-activate
The sec-activate tool activates and deactivates SSL for the Admin Server.
“Location”
“Syntax”
Location The sec-activate tool is located in the /opt/dirsrv/lib/cgi-bin directory.
Syntax
sec-activate serverRoot SSLEnabled
DescriptionArgument
The location of the Admin Server configuration directory. The default location is /etc/
opt/dirsrv/admin-serv.
serverRoot
Sets whether to turn SSL on or off for the Admin Server.SSLEnabled
For example:
sec-activate /etc/opt/dirsrv/admin-serv on
4.2 modutil
The modutil tool is a command-line utility for managing PKCS #11 module information stored
in secmod.db files or hardware tokens. modutil can perform a variety of security database
operations:
Adding and deleting PKCS #11 modules
Changing passwords
Setting defaults
Listing module contents
Enabling or disabling slots
Enabling or disabling FIPS-140-1 compliance
Assigning default providers for cryptographic operations
Creating key3.db, cert8.db, and secmod.db security databases.
Security module database management is part of a process that typically involves managing key
databases (key3.db files) and certificate databases (cert8.db files). The key, certificate, and
PKCS #11 module management process generally begins with creating the keys and key database
necessary to generate and manage certificates and the certificate database.
“Location”
“Syntax”
“Tasks and options”
“JAR information file”
“Examples of using modutil”
Location The modutil tool is located in the /opt/dirsrv/bin folder.
Syntax
modutil task [option]
4.1 sec-activate 45