6.7

Table Of Contents
Option Description
--privkey <keyfile>
Name of the private key file. This file must be in PEM encoded
format.
--config <config_file>
Optional name of the configuration file. Defaults to
certool.cfg.
--server <server>
Optional name of the VMCA server. By default, the command
uses localhost.
Example:
certool --gencert --privkey=<filename> --cert=<filename>
certool --getrootca
Prints the current root CA certificate in human-readable form. If you are running this command from a
management node, use the machine name of the Platform Services Controller node to retrieve the root
CA. This output is not usable as a certificate, it is changed to be human readable.
Option Description
--getrootca
Required for printing the root certificate.
--server <server>
Optional name of the VMCA server. By default, the command
uses localhost.
Example:
certool --getrootca --server=remoteserver
certool --viewcert
Print all the fields in a certificate in human-readable form.
Option Description
--viewcert
Required for viewing a certificate.
--cert <certfile>
Optional name of the configuration file. Defaults to
certool.cfg.
Example:
certool --viewcert --cert=<filename>
certool --enumcert
List all certificates that the VMCA server knows about. The required filter option lets you list all
certificates or only revoked, active, or expired certificates.
Platform Services Controller Administration
VMware, Inc. 154