Command Line Tools deprecated
Command line interfaces for the administration of OX Guard
Overview
OX Guard provides two command line interfaces for administration:
- The command
mwctl guardruns in the App Suite Toolkit Container. - The legacy command line tools
guardandsmimeare part of the OX App Suite Middleware image.
The following sections describe both command line interfaces.
Toolkit Container
The App Suite Toolkit Container is a pod in the namespace of the OX App Suite installation. The pod contains the administration tools of OX App Suite, among them mwctl. The page Starting of the Toolkit Container documentation describes how to start the pod and how to open a shell in the pod.
The command mwctl guard connects to the Guard management servlet under the path /guardmanagement of the OX App Suite Middleware. The Guard management servlet accepts the credentials that are configured in com.openexchange.guard.restApiUsername and com.openexchange.guard.restApiPassword. The section Guard Core to OX App Suite Middleware describes these two properties.
The Toolkit Container documentation describes the common administration tasks on the page Guard and all subcommands of mwctl guard on the page mwctl.
Legacy command line tools
The OX App Suite Middleware image contains the command line tools guard and smime in the directory /opt/open-xchange/sbin. An administrator runs the command line tools in a shell of a pod of the OX App Suite Middleware.
The command mwctl guard replaces the command line tools guard and smime for the regular administration tasks of keys, certificates, passwords and the Guard database. The command line tool guard is only required for tasks that the command mwctl guard does not yet provide.