pmkey -v -a <keyfile> [ [-l | -r | -i <keyfile>] [-p <passphrase>] [-f]]
Use the pmkey command to generate and install configurable certificates.
In order for a policy evaluation request to run, keys must be installed on all hosts involved in the request. The keyfile must be owned by root and have permissions set so only root can read or write the keyfile.
pmkey has the following options.
|-a <keyfile>||Creates an authentication certificate.|
|-i <keyfile>||Installs an authentication certificate.|
Creates and installs a local authentication certificate to this file:
This is equivalent to running the following two commands:
|-f||Forces the operation. For example:
Passes the passphrase on the command line for the -a or -l option.
If not specified, pmkey prompts the user for a passphrase.
Installs all remote keys that have been copied to this directory:
This provides a quick way to install multiple remote keys.
|-v||Displays the Safeguard version and exits.|
The following command generates a new certificate, and puts it into the specified file:
pmkey -a <filename>
The following command installs the newly generated certificate from the specified file:
pmkey -i <filename>