Chapter 4. Admin Server Command-Line Tools
Red Hat 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 /usr/lib/dirsrv/cgi-bin/ directory.
Syntax
sec-activate serverRoot SSLEnabled
Argument Description
serverRoot The location of the Admin Server configuration
directory. T he default location is
/etc/dirsrv/admin-serv.
SSLEnabled Sets whether to turn SSL on or off for the Admin
Server.
For example:
sec-activate /etc/dirsrv/admin-serv on
4.2. modutil
The m odutil tool is a command-line utility for managing PKCS #11 module information stored in
secm od.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). T he 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.
Comentários a estes Manuais