vCenter Server includes scripts for generating Certificate Signing Requests (CSRs), managing certificates, and managing services.
For example, you can use the certool utility to generate CSRs and to replace certificates. See Managing Certificates with the vSphere Certificate Manager Utility.
Use the CLIs for management tasks that the vSphere Client does not support, or to create custom scripts for your environment.
CLI | Description | Links |
---|---|---|
certool | Generate and manage certificates and keys. Part of VMware Certificate Authority (VMCA). | |
vecs-cli | Manage the contents of VMware Certificate Store instances. Part of VMware Authentication Framework Daemon (VMAFD). | vecs-cli Command Reference |
dir-cli | Create and update certificates in VMware Directory Service. Part of VMAFD. | dir-cli Command Reference |
sso-config | Update Security Token Service (STS) certificates. | Replace a vCenter Server STS Certificate Using the Command Line |
service-control | Command for starting, stopping, and listing services. | Run this command to stop services before running other CLI commands. |
Prerequisites
Enable SSH login to vCenter Server. See Manage vCenter Server with the Management Interface.