--- title: "vms set_certificate" slug: "vms-set-certificate" updated: 2026-10-27T17:24:38Z published: 2026-10-27T17:24:38Z canonical: "docs.vastdata.com/vms-set-certificate" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.vastdata.com/llms.txt > Use this file to discover all available pages before exploring further. # vms set_certificate 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 ```plaintext vms set_certificate [--id ID] ``` > [!NOTE] > 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: > > ```plaintext > -----BEGIN CERTIFICATE----- > > -----END CERTIFICATE----- > -----BEGIN PRIVATE KEY----- > > -----END PRIVATE KEY----- > ``` ## Options | `--id ID` | ID of the VMS. | | --- | --- | ## Example This example ```plaintext vcli: admin> vms set_certificate --id 1 Please enter certificate AND private key (ALT+ENTER/option+ENTER to finish): ```