This command modifies a TLS certificate.
If you're going to use options that upload files, ensure that the files to be uploaded are available via VAST CLI on the management CNode. To do so:
Identify the CNode that hosts the VMS by running the
ssh <username>@<CNode> "docker ps | grep vast_vms"command for each CNode. The VMS CNode will produce output similar to:899662f162a2 vastdata.registry.local:5000/dev/orion:release-5-4-0-1947156-vms "/usr/bin/dumb-init …" 3 days ago Up 3 days vast_vmsCopy the file to be uploaded to the
/vast/bundlesdirectory on the VMS CNode, for example:scp <local filepath> <username>@<CNode>:/vast/bundles/
Usage
tlscertificate modify --id ID
--protocols NFS|KAFKA
[--ca-certificate TEXT|--ca-certificate-file FILEPATH
[--ca-certificate-name NAME]
[--revocation-list TEXT|--revocation-file FILEPATH]
[--revocations-name NAME]
[--tenant-associate-param OID]
Required Parameters
| The ID of the TLS certificate you want to modify. |
| Determines the protocol to be authenticated with this certificate. Valid values:
|
Options
| Use this option to supply the certificate as plain text. |
| Use this option to upload the certificate from a file. The file size cannot exceed 1MB. |
| Sets a name for the certificate specified on |
| Use this option to supply the list of revoked certificates as plain text. |
| Use this option to specify a path to the CRL file containing the list of revoked certificates. |
| Sets a name for the revocation list specified on |
| If specified, the certificate will be used for cluster-wide mTLS authentication of NFS connections. This option determines an Specify the field with its Object Identifier (OID), for example: This value must be unique across the SAN |
Example
To add a CRL file to TLS certificate with ID 12:
vcli: admin> tlscertificate modify --id 12 --revocation_file /home/runner/crl.pem