--- title: "vms set_client_certificate" slug: "vms-set-client-certificate" updated: 2026-10-27T17:24:38Z published: 2026-10-27T17:24:38Z canonical: "docs.vastdata.com/vms-set-client-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_client_certificate This command uploads an mTLS to VMS, effectively enabling mTLS authentication for VMS clients. Read more about this feature [here](/docs-5-3/docs/en/enabling-mtls-authentication-for-vms-clients). ## Usage ```plaintext vms set_client_certificate --id 1 ``` > [!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----- > ``` ## Example ```plaintext vcli: admin> vms set_client_certificate --id 1 Please enter certificate AND private key (ALT+ENTER/option+ENTER to finish): ```