Appendix C. 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.

C.1. sec-activate

The sec-activate tool activates and deactivates SSL for the Admin Server.
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. The 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