System information

1.2. Usage
In the following example, the pkicreate is used to create a new DRM instance running on ports
10543 and 10180, named rhpki-drm2, in the /var/lib/rhpki-drm2 directory.
pkicreate -pki_instance_root=/var/lib -subsystem_type=kra
-pki_instance_name=rhpki-drm2 -secure_port=10543 \
-unsecure_port=10180 -tomcat_server_port=1802 -user=pkiuser
-group=pkigroup -verbose
To keep the pkicreate script from creating a new instance when it is run, set the
DONT_RUN_PKICREATE environment variable to 1.
export DONT_RUN_PKICREATE=1
2. pkiremove
The pkiremove tool removes subsystem instances. This tool removes the single subsystem
instance specified; it does not uninstall the Certificate System packages.
2.1. Syntax
This tool has the following syntax:
pkiremove -pki_instance_root=/directory/path -pki_instance_name=instance_ID
Parameter Description
pki_instance_root Gives the full path to the instance
configuration directory.
pki_instance_name Gives the name of the instance.
Table 1.2.
2.2. Usage
The following example removes a DRM instance named rhpki-drm2 which was installed in the
/var/lib/rhpki-drm2 directory.
pkiremove -pki_instance_root=/var/lib -pki_instance_name=rhpki-drm2
pkiremove
3