vms set_certificate

Prev Next

This command installs an authority-signed SSL certificate to secure the HTTPS connection between the VAST Web UI and VMS. By default, VMS is pre-installed with a self-signed SSL certificate.

Usage

vms set_certificate [--id ID]

Note

After you run the command, you are prompted to enter the certificate and private key. Enter the certificate and key content one after the other, including the "BEGIN CERTIFICATE", "END CERTIFICATE", "BEGIN PRIVATE KEY" and "END PRIVATE KEY" lines:

-----BEGIN CERTIFICATE-----
<Certificate file content>
-----END CERTIFICATE-----
-----BEGIN PRIVATE KEY-----
<Key file content>
-----END PRIVATE KEY-----

Options

--id ID

ID of the VMS.

Example

This example

vcli: admin> vms set_certificate --id 1
Please enter certificate AND private key (ALT+ENTER/option+ENTER to finish):