vms set_client_certificate

Prev Next

This command uploads an mTLS to VMS, effectively enabling mTLS authentication for VMS clients. Read more about this feature here. Enabling mTLS Authentication for VMS Clients

Usage

vms set_client_certificate --id 1

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-----

Example

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