--- title: "vms set_client_certificate" slug: "vms-set-client-certificate" tags: ["5.5"] updated: 2026-10-27T23:00:54Z published: 2026-10-27T23:00:54Z 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: [Enabling Client Certificate Validation for VMS Clients](/docs-5-5/docs/enabling-client-certificate-validation-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): ```